summaryrefslogtreecommitdiff
path: root/dev-python/msgpack
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/msgpack')
-rw-r--r--dev-python/msgpack/Manifest8
-rw-r--r--dev-python/msgpack/msgpack-0.4.8.ebuild4
-rw-r--r--dev-python/msgpack/msgpack-0.5.1.ebuild2
-rw-r--r--dev-python/msgpack/msgpack-0.5.6.ebuild2
-rw-r--r--dev-python/msgpack/msgpack-0.6.1.ebuild43
5 files changed, 52 insertions, 7 deletions
diff --git a/dev-python/msgpack/Manifest b/dev-python/msgpack/Manifest
index d304f7ecbc2d..2ee9e94f44b8 100644
--- a/dev-python/msgpack/Manifest
+++ b/dev-python/msgpack/Manifest
@@ -1,7 +1,9 @@
DIST msgpack-0.5.6.tar.gz 138292 BLAKE2B 6a3b8472b785d77e142d21464b9e52c55166a8eff56009f63df5daa8cd5b6dbce4406a06ffa8d478cb44dfbdfab2f3b4b29cd11279ea82f67906b97d507f7eda SHA512 bdbd193bd3bd02e78d9c6e8d9d8fa687d13583dff2813bc77c5e6cbbe0d180765da3c9a80d176f9993589e35f548ad04973e3d523d0b6d41ef7916ecd86195aa
+DIST msgpack-0.6.1.tar.gz 118812 BLAKE2B 9f5522ae7dc89e286a338bfdd91bd4cacefdf7d075136a2ce5e28896db9a9c6a9ed1fe71fff45aab09f8dd32878fcd996366346daa88d47a31a253dec06e2353 SHA512 1a60da428f4b69df817660f4c4f60b1744de17d2b72352286fb41c6703de1d100853f8701b947fb11fc38f2180a50be4a9d577550fcfb9da6a05fe30ed2af07c
DIST msgpack-python-0.4.8.tar.gz 113641 BLAKE2B d22efe13302e28d0701b95b2dc4cf4792f9e045efdf77b31ac5c6170b503c885c265ff63387fe76a1aa67b1624963aa26d76dffb15fc2cb10cfe672b59e71b99 SHA512 59e9c43be6b92e6d10f40999e0902c350137e67a83c43bb15b273eca856a6eb39f24b625b02b40188a9365ce3101f03bfa9aa3dfff56c5c3b551533942183481
DIST msgpack-python-0.5.1.tar.gz 138953 BLAKE2B 1fb7e5be33992808319e1444ff7f84cc13f034e60ce0ef2f72161bd4ccd0cd1ede27382bc1f365f268557c8ffe503fd12de66eb5840e79760d818e7e2f67fdcd SHA512 e5172e20bb25d2e12ba34ad2805ba4ea0776397986e8bf8e26d21353f57a2dba59a9c6669c817e4e91d5801558a50f95d81e02343f8f0292a01ec5d822fba61c
-EBUILD msgpack-0.4.8.ebuild 769 BLAKE2B 55595b08834bdab3807098fc725c5b010c4d8c82564b7cfa02008f00a4977d076c424d3120afd7f9cc404a2ce5e0052cb71301c97266becfbea7fa1e76b340cd SHA512 7e530dd4a2c30903fc98e5fc0aa5671bdfc35051ad2897634aaaa51e32f934f4e465815946777e969533f4ddbbda6cb371a9c119f486f4e7ca6a7988efb2f89f
-EBUILD msgpack-0.5.1.ebuild 765 BLAKE2B d294ae5dae5e12ce7c01ef1ac732799421ee8c9889b0ef41515bec3c0d1a978d49fb0e13dbd15e674dc5e6479d0044913e705c65fa3d801390fba49bdb118a10 SHA512 87830eb4d0c1465da706b471d738a70e6e7cd914e7bb377b538634b95a7e4498fcb36be368777254e5dab277be13c91fad7c58f0b0774b4c79560f6258083e28
-EBUILD msgpack-0.5.6.ebuild 1055 BLAKE2B 717ed370a9b4b01cb31f886b14c3d62ae1bcc7315c413520ddec567feaa538e5717cd302d12cccf4ffd63e1cb3eaf0ffb4ac0b8c4cab6207fc39dc92a5c8eaa8 SHA512 2a70cf5e9965c59d43439434055cb950883b9e9503e307b793c270de6df5e9846316119cf4bcc9d25ee3b02d29b4964aa0febeae4871a56308d6bf8f24df131a
+EBUILD msgpack-0.4.8.ebuild 764 BLAKE2B 9a5e5880ef71e89506c316880316f56518eed8a3e4abf21c4553235d39801d9506cfbc5cd55a5eaccbaee2d0ed904ab5897aaea4515b7e2679d8d7fe23cc0471 SHA512 c9b4bf69484031066719ed6c2c9db56826c8ec560fe3525332cb20b76c9110fac26d100f5069705ec2f2b5f29999737cde4d8bfc7df2cd12f2bf82a38f48559c
+EBUILD msgpack-0.5.1.ebuild 763 BLAKE2B efa206b2e0c07a00a3e42c03d5d82b3812c7f5273916863bc3e22a14445df5ad0ee8be023d44b323dbf8a29150c7ee2da9eeb0dfb5613602e80e5971f7a979ee SHA512 57a1785ca05eec1a783638552b463a87c102bed67cfe7cfdab37a9b0a95a2d5e5f60665e8c0df44ff932d43e1b5a07276076e1d6a93e6b41ee4fa43dfebc92fe
+EBUILD msgpack-0.5.6.ebuild 1053 BLAKE2B ef21e6f1cdd6ea6be2fbeafd26bc9244457f1fad0ff890b598269e46c823b39e2be5050aea67f42dea84e7dfbabe3c81cc4d29a99eb2f50288e692b8e815cdfa SHA512 930ad02507b145d18cc0a02869e2623da54382a23b77a4bdf5f8b37c1e2a3c030247419c269f2d29f666fa193d8194300da1d1328e9713ee29a62618cdfad476
+EBUILD msgpack-0.6.1.ebuild 1063 BLAKE2B 03fe37a970e6a42de8c799d1897dc743447659648a6f553599f8556a8a55a5ed25d6c825bce1ed9176c9272bca7ff5dfa08f329ae431f38ee6d19695ec3a0a2e SHA512 6e07497e1f58b30d315ddbfbc005fef06ed4e4366f532c909779facc49f634ab74a42616d0660c5bede5589e5dc8cbdf575799d2557007d23c4c08146612d812
MISC metadata.xml 550 BLAKE2B 6627bc6b0f417157d1728bac9f8bbf3cbd69eaa4f2b5ba25ada62f01295342ddf5231563e1ab7210acaca476cb807572208a26a20674aaff79bd8c4a47755d92 SHA512 519d1c9d2ce1825bc350fe4b1338246c37d38cfead466989976da6dceca8d033ac33b135b94d9feea79fc555017d681031f414aeb6a09de302ed9f11b6e35416
diff --git a/dev-python/msgpack/msgpack-0.4.8.ebuild b/dev-python/msgpack/msgpack-0.4.8.ebuild
index b0ba22bb6e05..eb96aed73e93 100644
--- a/dev-python/msgpack/msgpack-0.4.8.ebuild
+++ b/dev-python/msgpack/msgpack-0.4.8.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
+PYTHON_COMPAT=( python2_7 python3_{5,6} pypy )
inherit distutils-r1
diff --git a/dev-python/msgpack/msgpack-0.5.1.ebuild b/dev-python/msgpack/msgpack-0.5.1.ebuild
index fc0b57fa9b50..c70c3e3ded03 100644
--- a/dev-python/msgpack/msgpack-0.5.1.ebuild
+++ b/dev-python/msgpack/msgpack-0.5.1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit distutils-r1
diff --git a/dev-python/msgpack/msgpack-0.5.6.ebuild b/dev-python/msgpack/msgpack-0.5.6.ebuild
index 8c00cbe126bc..24376918a280 100644
--- a/dev-python/msgpack/msgpack-0.5.6.ebuild
+++ b/dev-python/msgpack/msgpack-0.5.6.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy )
inherit distutils-r1
diff --git a/dev-python/msgpack/msgpack-0.6.1.ebuild b/dev-python/msgpack/msgpack-0.6.1.ebuild
new file mode 100644
index 000000000000..3cb8137c6450
--- /dev/null
+++ b/dev-python/msgpack/msgpack-0.6.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy )
+
+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"
+IUSE="+native-extensions test"
+
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ native-extensions? (
+ $(python_gen_cond_dep '>=dev-python/cython-0.16[${PYTHON_USEDEP}]' 'python*')
+ )
+ test? (
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )
+"
+
+python_prepare_all() {
+ # Remove pre-generated cython files
+ rm msgpack/{_packer,_unpacker,_cmsgpack}.pyx || die
+
+ if ! use native-extensions ; then
+ sed -i -e "/have_cython/s:True:False:" ./setup.py || die
+ fi
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ py.test -v test || die "Tests fail with ${EPYTHON}"
+}