Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyzmq/
Date: Thu, 18 Aug 2022 19:14:42
Message-Id: 1660849213.68b93aa460108fe3148098fc3404afa01615d23c.mgorny@gentoo
1 commit: 68b93aa460108fe3148098fc3404afa01615d23c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 18 19:00:13 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 18 19:00:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68b93aa4
7
8 dev-python/pyzmq: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyzmq/pyzmq-23.2.0.ebuild | 77 ------------------------------------
13 1 file changed, 77 deletions(-)
14
15 diff --git a/dev-python/pyzmq/pyzmq-23.2.0.ebuild b/dev-python/pyzmq/pyzmq-23.2.0.ebuild
16 deleted file mode 100644
17 index cdb941627bc5..000000000000
18 --- a/dev-python/pyzmq/pyzmq-23.2.0.ebuild
19 +++ /dev/null
20 @@ -1,77 +0,0 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -PYTHON_COMPAT=( python3_{8..11} )
27 -# TODO: Find out exactly where this error comes from
28 -# error: '<' not supported between instances of 'str' and 'int'
29 -#DISTUTILS_USE_PEP517=setuptools
30 -PYTHON_REQ_USE="threads(+)"
31 -
32 -inherit flag-o-matic distutils-r1 toolchain-funcs
33 -
34 -DESCRIPTION="Lightweight and super-fast messaging library built on top of the ZeroMQ library"
35 -HOMEPAGE="
36 - https://zeromq.org/languages/python/
37 - https://pypi.org/project/pyzmq/
38 - https://github.com/zeromq/pyzmq/"
39 -SRC_URI="
40 - https://github.com/zeromq/pyzmq/archive/v${PV}.tar.gz
41 - -> ${P}.gh.tar.gz"
42 -
43 -LICENSE="LGPL-3"
44 -SLOT="0"
45 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
46 -IUSE="+draft"
47 -
48 -DEPEND="
49 - >=net-libs/zeromq-4.2.2-r2:=[drafts]
50 -"
51 -# it uses cffi backend for pypy, cython backend for cpython
52 -RDEPEND="${DEPEND}
53 - $(python_gen_cond_dep '
54 - dev-python/py[${PYTHON_USEDEP}]
55 - dev-python/cffi:=[${PYTHON_USEDEP}]
56 - ' pypy3)
57 -"
58 -BDEPEND="
59 - $(python_gen_cond_dep '
60 - dev-python/cython[${PYTHON_USEDEP}]
61 - ' 'python*')
62 - test? (
63 - dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
64 - >=www-servers/tornado-5.0.2[${PYTHON_USEDEP}]
65 - )
66 -"
67 -
68 -distutils_enable_tests pytest
69 -distutils_enable_sphinx docs \
70 - "dev-python/numpydoc"
71 -
72 -python_configure_all() {
73 - tc-export CC
74 - append-cppflags -DZMQ_BUILD_DRAFT_API=$(usex draft '1' '0')
75 -}
76 -
77 -python_compile() {
78 - esetup.py cython --force
79 - ZMQ_PREFIX="${EPREFIX}/usr" distutils-r1_python_compile
80 -}
81 -
82 -python_test() {
83 - local EPYTEST_DESELECT=(
84 - # TODO
85 - zmq/tests/test_constants.py::TestConstants::test_draft
86 - zmq/tests/test_cython.py::test_cython
87 -
88 - # hangs often
89 - zmq/tests/test_log.py::TestPubLog::test_blank_root_topic
90 - )
91 - local EPYTEST_IGNORE=(
92 - zmq/tests/test_mypy.py
93 - )
94 -
95 - cd "${BUILD_DIR}/lib" || die
96 - epytest -p no:flaky
97 -}