diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/msgpack | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/msgpack')
-rw-r--r-- | dev-python/msgpack/Manifest | 7 | ||||
-rw-r--r-- | dev-python/msgpack/metadata.xml | 18 | ||||
-rw-r--r-- | dev-python/msgpack/msgpack-0.4.8.ebuild | 35 | ||||
-rw-r--r-- | dev-python/msgpack/msgpack-0.5.1.ebuild | 35 | ||||
-rw-r--r-- | dev-python/msgpack/msgpack-0.5.6.ebuild | 43 |
5 files changed, 138 insertions, 0 deletions
diff --git a/dev-python/msgpack/Manifest b/dev-python/msgpack/Manifest new file mode 100644 index 000000000000..0741c946d7ce --- /dev/null +++ b/dev-python/msgpack/Manifest @@ -0,0 +1,7 @@ +DIST msgpack-0.5.6.tar.gz 138292 BLAKE2B 6a3b8472b785d77e142d21464b9e52c55166a8eff56009f63df5daa8cd5b6dbce4406a06ffa8d478cb44dfbdfab2f3b4b29cd11279ea82f67906b97d507f7eda SHA512 bdbd193bd3bd02e78d9c6e8d9d8fa687d13583dff2813bc77c5e6cbbe0d180765da3c9a80d176f9993589e35f548ad04973e3d523d0b6d41ef7916ecd86195aa +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 766 BLAKE2B a89198b22e7cd9ef6e2805970f422cc26da63e1b4fdf7ce5144f220b7c291b98580a977d1dbda9bc3e7265e9de3fe9bc07df7ab933d4b644819512556793f1a7 SHA512 ca9ca844dec32b297eba18a615a4cfcd06a5f7f8db079c24f855385f0b96d3b33242643b1dc0831c607328bb61bae9e4fca82fa43c0c9db2ef15eccffa3f1f0b +EBUILD msgpack-0.5.6.ebuild 1056 BLAKE2B 4fbaa865013162d3a1ddaf94b49bf6a0d784dc70232a2b5df2dcee31dc4084a42fc7bda88789ad2e265fd5e5bf9bd5f35637c46324b8f8ae308b7a131b1ac2ce SHA512 e39152c8d7c6bd1b4db26b572c6e443d5228d195a6885c22ddff3fd3374a135dbbbada68405f919634aa9a48fd9be430a913156da2d966134265793aa05b8acb +MISC metadata.xml 550 BLAKE2B 6627bc6b0f417157d1728bac9f8bbf3cbd69eaa4f2b5ba25ada62f01295342ddf5231563e1ab7210acaca476cb807572208a26a20674aaff79bd8c4a47755d92 SHA512 519d1c9d2ce1825bc350fe4b1338246c37d38cfead466989976da6dceca8d033ac33b135b94d9feea79fc555017d681031f414aeb6a09de302ed9f11b6e35416 diff --git a/dev-python/msgpack/metadata.xml b/dev-python/msgpack/metadata.xml new file mode 100644 index 000000000000..aef3152754b4 --- /dev/null +++ b/dev-python/msgpack/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">msgpack-python</remote-id> + <remote-id type="github">msgpack/msgpack-python</remote-id> + </upstream> + <use> + <flag name="native-extensions"> + Compiles native "C" extensions (speedups, instead of using python + fallback code). + </flag> + </use> +</pkgmetadata> diff --git a/dev-python/msgpack/msgpack-0.4.8.ebuild b/dev-python/msgpack/msgpack-0.4.8.ebuild new file mode 100644 index 000000000000..b0ba22bb6e05 --- /dev/null +++ b/dev-python/msgpack/msgpack-0.4.8.ebuild @@ -0,0 +1,35 @@ +# 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} pypy ) + +inherit distutils-r1 + +MY_PN="${PN}-python" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="MessagePack (de)serializer for Python" +HOMEPAGE="https://msgpack.org + https://github.com/msgpack/msgpack-python/ + https://pypi.org/project/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}] + test? ( + dev-python/six[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +S=${WORKDIR}/${MY_P} + +python_test() { + py.test test || die "Tests fail with ${EPYTHON}" +} 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..73c9c38efe44 --- /dev/null +++ b/dev-python/msgpack/msgpack-0.5.1.ebuild @@ -0,0 +1,35 @@ +# 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="https://msgpack.org + https://github.com/msgpack/msgpack-python/ + https://pypi.org/project/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}" +} diff --git a/dev-python/msgpack/msgpack-0.5.6.ebuild b/dev-python/msgpack/msgpack-0.5.6.ebuild new file mode 100644 index 000000000000..74000584eb74 --- /dev/null +++ b/dev-python/msgpack/msgpack-0.5.6.ebuild @@ -0,0 +1,43 @@ +# 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} 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}.cpp || 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}" +} |