1 |
commit: f99895cd6d6c7aea9028652a4db68db7f5870172 |
2 |
Author: Jeffrey Lin <jeffrey <AT> icurse <DOT> nl> |
3 |
AuthorDate: Thu Feb 20 20:04:39 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 12 01:52:40 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f99895cd |
7 |
|
8 |
dev-python/msgpack: version bump to 1.0.0 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/710270 |
11 |
Signed-off-by: Jeffrey Lin <jeffrey <AT> icurse.nl> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/14718 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
dev-python/msgpack/Manifest | 1 + |
16 |
dev-python/msgpack/msgpack-1.0.0.ebuild | 38 +++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 39 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/msgpack/Manifest b/dev-python/msgpack/Manifest |
20 |
index b4c06acc764..e32e9ba2b1c 100644 |
21 |
--- a/dev-python/msgpack/Manifest |
22 |
+++ b/dev-python/msgpack/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
DIST msgpack-0.6.2.tar.gz 119062 BLAKE2B 6b20a0d31b811ae66e66dbfaacec6f0cf2152b2937423b78f3e6244bfa49c87767788c5ee1db41b9020801b8777a4c15b1fe1853182718adf622bc7e1bff858e SHA512 95b92e3d35e0500dd4256d18bf76e586e57cc66319b4459ac5daef599277a5049177a89ad86e291dbdc4c7a918901a89d9218353ddc4a7d0b399e8a98afef363 |
25 |
+DIST msgpack-1.0.0.tar.gz 232331 BLAKE2B ab7b3aede06c31e0cf70a7f7fbdf2b1dddd89aa2d5d9847b11117c66a2f4572ac468674cdbcaf79bc571278f02429d223aeeb0ea8cb50c31ad251142642cc05f SHA512 6dc168b111cd37807e8e8a09840d1b116d7f38d56f4622b9d36ab7dbd983ebe2f34e763f48c6348148c6945c9f1c9a0f83f5f03e12d12bc18f7b8e0cbd669f87 |
26 |
|
27 |
diff --git a/dev-python/msgpack/msgpack-1.0.0.ebuild b/dev-python/msgpack/msgpack-1.0.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..1f23c3ade2f |
30 |
--- /dev/null |
31 |
+++ b/dev-python/msgpack/msgpack-1.0.0.ebuild |
32 |
@@ -0,0 +1,38 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="MessagePack (de)serializer for Python" |
42 |
+HOMEPAGE="https://msgpack.org |
43 |
+ https://github.com/msgpack/msgpack-python/ |
44 |
+ https://pypi.org/project/msgpack/" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" |
50 |
+IUSE="+native-extensions test" |
51 |
+ |
52 |
+DEPEND=" |
53 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+ native-extensions? ( |
55 |
+ $(python_gen_cond_dep '>=dev-python/cython-0.16[${PYTHON_USEDEP}]' 'python*') |
56 |
+ ) |
57 |
+ test? ( dev-python/six[${PYTHON_USEDEP}] ) |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+python_prepare_all() { |
63 |
+ # Remove pre-generated cython files |
64 |
+ rm msgpack/{_packer,_unpacker,_cmsgpack}.pyx || die |
65 |
+ |
66 |
+ if ! use native-extensions ; then |
67 |
+ sed -i -e "/have_cython/s:True:False:" setup.py || die |
68 |
+ fi |
69 |
+ distutils-r1_python_prepare_all |
70 |
+} |