summaryrefslogtreecommitdiff
path: root/dev-python/msgpack
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/msgpack')
-rw-r--r--dev-python/msgpack/Manifest4
-rw-r--r--dev-python/msgpack/msgpack-0.6.2.ebuild2
-rw-r--r--dev-python/msgpack/msgpack-1.0.2.ebuild39
3 files changed, 43 insertions, 2 deletions
diff --git a/dev-python/msgpack/Manifest b/dev-python/msgpack/Manifest
index 979dd9ee8986..c5eca454baf4 100644
--- a/dev-python/msgpack/Manifest
+++ b/dev-python/msgpack/Manifest
@@ -1,7 +1,9 @@
DIST msgpack-0.6.2.tar.gz 119062 BLAKE2B 6b20a0d31b811ae66e66dbfaacec6f0cf2152b2937423b78f3e6244bfa49c87767788c5ee1db41b9020801b8777a4c15b1fe1853182718adf622bc7e1bff858e SHA512 95b92e3d35e0500dd4256d18bf76e586e57cc66319b4459ac5daef599277a5049177a89ad86e291dbdc4c7a918901a89d9218353ddc4a7d0b399e8a98afef363
DIST msgpack-1.0.0.tar.gz 232331 BLAKE2B ab7b3aede06c31e0cf70a7f7fbdf2b1dddd89aa2d5d9847b11117c66a2f4572ac468674cdbcaf79bc571278f02429d223aeeb0ea8cb50c31ad251142642cc05f SHA512 6dc168b111cd37807e8e8a09840d1b116d7f38d56f4622b9d36ab7dbd983ebe2f34e763f48c6348148c6945c9f1c9a0f83f5f03e12d12bc18f7b8e0cbd669f87
DIST msgpack-1.0.1.tar.gz 123151 BLAKE2B 4f040d6e292c588f20043e0091702e9a848d94357784ec7ef7a2ed2d1b5a08cae0bfea4a16cbb67e32b071260f25a43b0507d154ba7f6e180e65a60e3a2b4e9c SHA512 87412cc4022ce7ec82cfe376fbb3c663e5b7a430c2178cacbfe95b35489d95f314bdaf83a6170a7956f42939535ada3c5cbe45c6d7c105410494fe7e9a5cb870
-EBUILD msgpack-0.6.2.ebuild 965 BLAKE2B 22e255852af105f9ff8076270f05d98539d4524f18334fe688222e271d52b775bea7017bdce52e3055a551fe90c5c3141bc3ae7399ab2ddb0ffb23c1e5154bf7 SHA512 a8b61e21a45683de30bf09f9faf22b926d47e38215e756b9735cc856789832a2bfe18dafad61d073049d5211eb1621be3d77536b024a74cf8241ebd34b3426f5
+DIST msgpack-1.0.2.tar.gz 123033 BLAKE2B 8ecf743f5cae536bde9328974827e48376fdfbcaf4d3493fe295a114fd0de4c7dc2629d67a0abf6ece036131715587d2eeaefde0ea9614779a64015ea7fc2be8 SHA512 afe658c2cd5b443aae8fc3305eb3fd56811130062f95e283e3538cba27949d534de60171a927426fedb23b48a938de3f15d77057beda6c73e5204ef1130cd046
+EBUILD msgpack-0.6.2.ebuild 964 BLAKE2B 1d27576570c692008f26a34621fdcd50c3e94a960285040036190770e0d8b30e5ba8cda0a05b499da7adefd30a4af5ade250db446ddad0e16d24e7d26c7250be SHA512 e3835ec633b0eabb9fbea8ff3f8cc84abf8e2bc4efb86c1796deab39c718b5fb1dbfb770ef582c1c21203be471304d18b9bcb0c0a5dffa7f6ba65e8ac102cab8
EBUILD msgpack-1.0.0.ebuild 923 BLAKE2B dc80e570b84b80441c093f501ea2f412c6517b733dfc64c4235a61bd87fc705e9efe5045bdc81294685266edade3220983772297993376783d3960f6ef929f70 SHA512 53faf2e7be9c48b133f4872af4683b055bd9a4d8a43129519b7ecbb2f648f758522457d132501ebd54a15db9113a20ea3fc1f966c842537e45507505d906ea74
EBUILD msgpack-1.0.1.ebuild 939 BLAKE2B 5b6a858a380ad896b10d531ee36d75231ce15e93aeb7d41aa01b2761368fc46aea22a17b64e4bf084091c022647c42da23a023cc281b87b9474109cb64c63ea5 SHA512 6644271c146dd9a72cd68c422c683d70509999e5414bb9c009203ff71143d332fc5f1501c2bcaa371d3c9c0669495319dbe504f05bc8e09605e912dab93efffe
+EBUILD msgpack-1.0.2.ebuild 978 BLAKE2B 98b4c413ed57818960c8640c108d16908316bb6430b1531882870055311b1dfb6a56690e8d85282bcb870b653bae958dd423c41d258dfd9847fedf09bf73f92a SHA512 a334c3be7ff38b5f348aa984a877fa142ec90527d2d080c1a3938b0b37418b29d01e0c58be41296394022526a6a5de0ea9a569f15616fa504223e66c635f3a8e
MISC metadata.xml 519 BLAKE2B 2947e6ef092dec03d89e409684e08b7f8f2bdee001e0884424f75f9473bffa9cedc99d0932f83bce5a4e255ea29a02819611ec9eb3d16767b50a24982172e1e0 SHA512 27e121bfde1989d5018dc5c87d29b8cb317b264a41ab4480d6c13332d78219e23cb4cb9f803fdbf9198305af1d831000d5e1fa2e2e975d76425a73864561390e
diff --git a/dev-python/msgpack/msgpack-0.6.2.ebuild b/dev-python/msgpack/msgpack-0.6.2.ebuild
index e65cd1b6e4c4..fe2d82a610f0 100644
--- a/dev-python/msgpack/msgpack-0.6.2.ebuild
+++ b/dev-python/msgpack/msgpack-0.6.2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
+PYTHON_COMPAT=( python3_{6..9} pypy3 )
inherit distutils-r1
diff --git a/dev-python/msgpack/msgpack-1.0.2.ebuild b/dev-python/msgpack/msgpack-1.0.2.ebuild
new file mode 100644
index 000000000000..a01a194cd8e5
--- /dev/null
+++ b/dev-python/msgpack/msgpack-1.0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="MessagePack (de)serializer for Python"
+HOMEPAGE="https://msgpack.org
+ https://github.com/msgpack/msgpack-python/
+ https://pypi.org/project/msgpack/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~x64-macos"
+IUSE="+native-extensions"
+
+# extension code is relying on CPython implementation details
+BDEPEND="
+ native-extensions? (
+ $(python_gen_cond_dep '>=dev-python/cython-0.16[${PYTHON_USEDEP}]' 'python*')
+ )
+ test? ( dev-python/six[${PYTHON_USEDEP}] )
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # Remove pre-generated cython files
+ rm msgpack/_cmsgpack.cpp || die
+
+ if ! use native-extensions ; then
+ sed -i -e "/have_cython/s:True:False:" setup.py || die
+ fi
+ distutils-r1_python_prepare_all
+}