diff options
Diffstat (limited to 'dev-python/msgpack')
-rw-r--r-- | dev-python/msgpack/Manifest | 2 | ||||
-rw-r--r-- | dev-python/msgpack/msgpack-0.5.1.ebuild | 33 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/msgpack/Manifest b/dev-python/msgpack/Manifest index 74f2f834483b..ba4b2aa40f20 100644 --- a/dev-python/msgpack/Manifest +++ b/dev-python/msgpack/Manifest @@ -1,3 +1,5 @@ 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 770 BLAKE2B 5572e7ad6442ba346ad3e1d9288ae6721b3587424e843474aabe0b806778e8b34719b1bb8f716f4e679234641028090ba4cd73c9d9f5e121e2189d7be4622853 SHA512 96b0e59f74fb4d05d4c88572e74a0a87d8bf7db4e4945aa125b60521b7f74857acba19ace64fc759e65a1295ed63b319c3d3046511f234f4a0bf4517d4c15df9 +EBUILD msgpack-0.5.1.ebuild 771 BLAKE2B 5b9c60a88b72bd5bd238e4474cb7662cd07d2f24df53edddf17967a856ee25a170f50f6ec23738ce205d12b1a6cf65a4bac9c3075389d731a2743f0a86a58647 SHA512 3aedcb271f0699ceda59908af275aeb9b72b68e1d8122512a96872bb92c91b5e0dafb3d63447957488ce4c9b1df677a6bc99784dd976a830d1f082ba3f807442 MISC metadata.xml 391 BLAKE2B ff92d277a83506f36ed8cfe23dde10d044925d5e92d35e1ab09283d6ae2d259886982434d96898b570ad83abdf9ed3c02e695998464b9bed596ad95aed6f7daa SHA512 3001105274f7bcc446a3ea5d0e278073a51b1c480a78127574dbdb427e656719673f7a9543c8bf9b3d8181e414612f3f186e7ab192fa0fa9333a988f17593f79 diff --git a/dev-python/msgpack/msgpack-0.5.1.ebuild b/dev-python/msgpack/msgpack-0.5.1.ebuild new file mode 100644 index 000000000000..2fbeb83213b5 --- /dev/null +++ b/dev-python/msgpack/msgpack-0.5.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +MY_PN="${PN}-python" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="MessagePack (de)serializer for Python" +HOMEPAGE="http://msgpack.org https://github.com/msgpack/msgpack-python/ https://pypi.python.org/pypi/msgpack-python/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +S=${WORKDIR}/${MY_P} + +python_test() { + py.test test || die "Tests fail with ${EPYTHON}" +} |