summaryrefslogtreecommitdiff
path: root/dev-python/pyzmq
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/pyzmq
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/pyzmq')
-rw-r--r--dev-python/pyzmq/Manifest10
-rw-r--r--dev-python/pyzmq/metadata.xml4
-rw-r--r--dev-python/pyzmq/pyzmq-23.0.0.ebuild (renamed from dev-python/pyzmq/pyzmq-22.1.0.ebuild)20
-rw-r--r--dev-python/pyzmq/pyzmq-23.1.0.ebuild77
-rw-r--r--dev-python/pyzmq/pyzmq-23.2.0.ebuild77
5 files changed, 177 insertions, 11 deletions
diff --git a/dev-python/pyzmq/Manifest b/dev-python/pyzmq/Manifest
index 79fef6ba1807..de304dd4ce3b 100644
--- a/dev-python/pyzmq/Manifest
+++ b/dev-python/pyzmq/Manifest
@@ -1,3 +1,7 @@
-DIST pyzmq-22.1.0.gh.tar.gz 401919 BLAKE2B ec43c62e68633a7e0ac06e7a717b6409e444dbd1347154c2a29a2dfb00916829656308122fa2cf0fc1e3013c82ba6bcc5e11b86582f95d46f43e9e81f6d8ff74 SHA512 aa135279927bff07339b99b4ebbc7d47effbfba7df99d3576088fe0e7d4a3ad44174a928e8b94afdeaf531c6a30cbb7bb88bce7fe19e7e5420b079ffb8e8690e
-EBUILD pyzmq-22.1.0.ebuild 1750 BLAKE2B 9a9b161f6109ddf4aa44ee5d996d3e5e48567bc259cc6b84d494b6077de02543f9f80e00a173bda74513d2de0e1de6ac008da3bf2f7b9bf1cd4bde501e764301 SHA512 97e3ba80e576ad03eed07ae94fb7bb08433b7b75d3510a9811dacfd10589e6361c81dfce0ea14e6d8aa98d17dc77cc33346e583caf9619fd83ff7e3f60563231
-MISC metadata.xml 429 BLAKE2B 028c54b8d775ee16d84b4fe0da1fb586629bed6792633bf71256e2a58ce5b2fe109eb5e4ffcdaee0c05cd890d1de7935374cbc81e57ffed98ef21562125f0537 SHA512 f4712a304c9e30094a267cbd23cf55b335bb5cee2e942e0e4dcf1b3008b700e9e94e9600c5b8c620b04b1a66f9a51611c679fb4eb28a99ce8c48e8f920717ecd
+DIST pyzmq-23.0.0.gh.tar.gz 399818 BLAKE2B ebd99acb5270f4ba2f851f3df9a7cb81f986730eba81d54c2c4bc55f24f98ebafdd7a24fcdce1dc5727a1e2e1ce57a9b52160800c6eb29c08bb9ee94450c5a83 SHA512 aaee7af933467daf56db660b84cf79972042aee6b2c9640c00e09e0d7c78cafe61346df567beb8eebadb4408c1887eb355beee04c4a6b1efa0d8dde8a4c82283
+DIST pyzmq-23.1.0.gh.tar.gz 401651 BLAKE2B 8e78f993bc7ee0212c6fa598d7993fc7b9cff8ebfa25ee833039d69214a00a6cf82ecb388ed6fb06caf8a63f7cea3be84aeaabf6f451f5889ef20943edcb9fab SHA512 06b71c641381f6efa57e1dc21864855694bf6a160ea388dc55da6092482257dcf776bd777edd318bd39d1462450e8c8873336cc0c1c5e15639f8f77ce7bff46f
+DIST pyzmq-23.2.0.gh.tar.gz 402085 BLAKE2B 4ab26af04c76205d0770163e248e28a22aa8f710a66c9dc96e18c772338c434ad06227d57edd5aa3476fad68fa7320e9216a102b2cb19649393f1e9ef5d9599c SHA512 348482f4b6fd4ebeae8e4720a7005ed35eccee2bf26b0128115b756ee560156b34e6f043c96b71a84d47b1313bd2d8e0ed0f74c7768e23cbf65bd906036800c5
+EBUILD pyzmq-23.0.0.ebuild 1858 BLAKE2B aeb3a8b77d655c19d70fb63620a8b933af2febbbb7a2dc50d3d6aabcc45ede63e17f519c96e65287a81d8d976a7301c9b46c367217f5eb469e4dc0f5868e577a SHA512 11548dd7124f1f75ab1e2830507956cc5216505eacc0fa824a51ab44992e096deb13484949d65f28703d457cb109c2aa49906c2d10b7167707430a4316cb286f
+EBUILD pyzmq-23.1.0.ebuild 1866 BLAKE2B a5f14054580779d5ce85837b26835e0152afd5a38086601fe1099a183649049fd21b41aa322d2db6fdf202fc41e5006a5abce700da854282a816bc347c72978e SHA512 ae901ef0d324ebf059a39c01669efabe24e349759a1eca780f7390d4709fd8b87237b610f98ec384e7f39d8e5152e8eb8291d19cf381679a11a93b7b94087fd8
+EBUILD pyzmq-23.2.0.ebuild 1890 BLAKE2B 51ea9d5f9442873f63f9a663cb66ff67cc1d934cfcce5340e74dfc88476a8b25efd29a3c2ba53b7d84c330c0fa29c5116eb55f82ad1817cf032be68f7bb987ee SHA512 deeff0b97be6d77f148e1e98009bb505d97f99efe773d47cc19f5184138f75808dde0311e48418b263044c46123f0ae37e63536560d4ba0bbaa8154004d845b3
+MISC metadata.xml 548 BLAKE2B 0120b82c6a48537f80d08237f4184ff855c109a0a461adfe7921e25468928ea053cc7727c7b00ff96ea556d719e453ee27cf534b285f24f62f7d1ca4ab326770 SHA512 124145f71518d39daa57522eadc27ab4782c3fc1794543396a6b6c91dda29175c4c097d6be90d7d405823621ce66f62e169b97e086c983d7f08178e6d85cee40
diff --git a/dev-python/pyzmq/metadata.xml b/dev-python/pyzmq/metadata.xml
index 1a624fdd7836..f3cb0b82106a 100644
--- a/dev-python/pyzmq/metadata.xml
+++ b/dev-python/pyzmq/metadata.xml
@@ -5,6 +5,10 @@
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
+ <maintainer type="person">
+ <email>andrewammerlaan@gentoo.org</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
<upstream>
<remote-id type="pypi">pyzmq</remote-id>
<remote-id type="github">zeromq/pyzmq</remote-id>
diff --git a/dev-python/pyzmq/pyzmq-22.1.0.ebuild b/dev-python/pyzmq/pyzmq-23.0.0.ebuild
index ab3b8854870c..c888d1e26c4c 100644
--- a/dev-python/pyzmq/pyzmq-22.1.0.ebuild
+++ b/dev-python/pyzmq/pyzmq-23.0.0.ebuild
@@ -1,9 +1,12 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
+# TODO: Find out exactly where this error comes from
+# error: '<' not supported between instances of 'str' and 'int'
+#DISTUTILS_USE_PEP517=setuptools
PYTHON_REQ_USE="threads(+)"
inherit flag-o-matic distutils-r1 toolchain-funcs
@@ -53,11 +56,11 @@ python_configure_all() {
python_compile() {
esetup.py cython --force
- distutils-r1_python_compile
+ ZMQ_PREFIX="${EPREFIX}/usr" distutils-r1_python_compile
}
python_test() {
- local deselect=(
+ EPYTEST_DESELECT=(
# TODO
zmq/tests/test_constants.py::TestConstants::test_draft
zmq/tests/test_cython.py::test_cython
@@ -65,9 +68,10 @@ python_test() {
# hangs often
zmq/tests/test_log.py::TestPubLog::test_blank_root_topic
)
+ EPYTEST_IGNORE=(
+ zmq/tests/test_mypy.py
+ )
- cd "${BUILD_DIR}"/lib || die
- epytest -p no:flaky ${deselect[@]/#/--deselect } \
- --ignore zmq/tests/test_mypy.py
- rm -rf .hypothesis .pytest_cache || die
+ cd "${BUILD_DIR}/lib" || die
+ epytest
}
diff --git a/dev-python/pyzmq/pyzmq-23.1.0.ebuild b/dev-python/pyzmq/pyzmq-23.1.0.ebuild
new file mode 100644
index 000000000000..f3c9d5bbf854
--- /dev/null
+++ b/dev-python/pyzmq/pyzmq-23.1.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+# TODO: Find out exactly where this error comes from
+# error: '<' not supported between instances of 'str' and 'int'
+#DISTUTILS_USE_PEP517=setuptools
+PYTHON_REQ_USE="threads(+)"
+
+inherit flag-o-matic distutils-r1 toolchain-funcs
+
+DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library"
+HOMEPAGE="
+ https://zeromq.org/languages/python/
+ https://pypi.org/project/pyzmq/
+ https://github.com/zeromq/pyzmq/"
+SRC_URI="
+ https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+draft"
+
+DEPEND="
+ >=net-libs/zeromq-4.2.2-r2:=[drafts]
+"
+# it uses cffi backend for pypy, cython backend for cpython
+RDEPEND="${DEPEND}
+ $(python_gen_cond_dep '
+ dev-python/py[${PYTHON_USEDEP}]
+ dev-python/cffi:=[${PYTHON_USEDEP}]
+ ' pypy3)
+"
+BDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/cython[${PYTHON_USEDEP}]
+ ' 'python*')
+ test? (
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+ >=www-servers/tornado-5.0.2[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+ "dev-python/numpydoc"
+
+python_configure_all() {
+ tc-export CC
+ append-cppflags -DZMQ_BUILD_DRAFT_API=$(usex draft '1' '0')
+}
+
+python_compile() {
+ esetup.py cython --force
+ ZMQ_PREFIX="${EPREFIX}/usr" distutils-r1_python_compile
+}
+
+python_test() {
+ EPYTEST_DESELECT=(
+ # TODO
+ zmq/tests/test_constants.py::TestConstants::test_draft
+ zmq/tests/test_cython.py::test_cython
+
+ # hangs often
+ zmq/tests/test_log.py::TestPubLog::test_blank_root_topic
+ )
+ EPYTEST_IGNORE=(
+ zmq/tests/test_mypy.py
+ )
+
+ cd "${BUILD_DIR}/lib" || die
+ epytest
+}
diff --git a/dev-python/pyzmq/pyzmq-23.2.0.ebuild b/dev-python/pyzmq/pyzmq-23.2.0.ebuild
new file mode 100644
index 000000000000..e049552be63b
--- /dev/null
+++ b/dev-python/pyzmq/pyzmq-23.2.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+# TODO: Find out exactly where this error comes from
+# error: '<' not supported between instances of 'str' and 'int'
+#DISTUTILS_USE_PEP517=setuptools
+PYTHON_REQ_USE="threads(+)"
+
+inherit flag-o-matic distutils-r1 toolchain-funcs
+
+DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library"
+HOMEPAGE="
+ https://zeromq.org/languages/python/
+ https://pypi.org/project/pyzmq/
+ https://github.com/zeromq/pyzmq/"
+SRC_URI="
+ https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+draft"
+
+DEPEND="
+ >=net-libs/zeromq-4.2.2-r2:=[drafts]
+"
+# it uses cffi backend for pypy, cython backend for cpython
+RDEPEND="${DEPEND}
+ $(python_gen_cond_dep '
+ dev-python/py[${PYTHON_USEDEP}]
+ dev-python/cffi:=[${PYTHON_USEDEP}]
+ ' pypy3)
+"
+BDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/cython[${PYTHON_USEDEP}]
+ ' 'python*')
+ test? (
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+ >=www-servers/tornado-5.0.2[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+ "dev-python/numpydoc"
+
+python_configure_all() {
+ tc-export CC
+ append-cppflags -DZMQ_BUILD_DRAFT_API=$(usex draft '1' '0')
+}
+
+python_compile() {
+ esetup.py cython --force
+ ZMQ_PREFIX="${EPREFIX}/usr" distutils-r1_python_compile
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # TODO
+ zmq/tests/test_constants.py::TestConstants::test_draft
+ zmq/tests/test_cython.py::test_cython
+
+ # hangs often
+ zmq/tests/test_log.py::TestPubLog::test_blank_root_topic
+ )
+ local EPYTEST_IGNORE=(
+ zmq/tests/test_mypy.py
+ )
+
+ cd "${BUILD_DIR}/lib" || die
+ epytest -p no:flaky
+}