Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rpyc/
Date: Sat, 05 Nov 2022 16:26:54
Message-Id: 1667665595.d89220c4aec513b22076759542484da90abcea21.grozin@gentoo
1 commit: d89220c4aec513b22076759542484da90abcea21
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 5 16:26:35 2022 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 5 16:26:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d89220c4
7
8 dev-python/rpyc: remove old revisions
9
10 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
11
12 dev-python/rpyc/rpyc-5.2.3-r1.ebuild | 65 ------------------------------------
13 dev-python/rpyc/rpyc-5.2.3.ebuild | 61 ---------------------------------
14 2 files changed, 126 deletions(-)
15
16 diff --git a/dev-python/rpyc/rpyc-5.2.3-r1.ebuild b/dev-python/rpyc/rpyc-5.2.3-r1.ebuild
17 deleted file mode 100644
18 index 94f50daaf6dd..000000000000
19 --- a/dev-python/rpyc/rpyc-5.2.3-r1.ebuild
20 +++ /dev/null
21 @@ -1,65 +0,0 @@
22 -# Copyright 1999-2022 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=8
26 -DISTUTILS_USE_PEP517=hatchling
27 -PYTHON_COMPAT=( python3_{8..11} )
28 -
29 -inherit distutils-r1
30 -
31 -DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library"
32 -HOMEPAGE="https://rpyc.readthedocs.io/en/latest/
33 - https://pypi.org/project/rpyc/
34 - https://github.com/tomerfiliba-org/rpyc"
35 -SRC_URI="https://github.com/tomerfiliba-org/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
36 -
37 -LICENSE="MIT"
38 -SLOT="0"
39 -KEYWORDS="~amd64 ~x86"
40 -
41 -# USE flags gdb, numpy are used *only* to run tests depending on these packages
42 -IUSE="test numpy gdb"
43 -RESTRICT="!test? ( test )"
44 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
45 - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] )
46 - gdb? ( sys-devel/gdb )"
47 -
48 -RDEPEND="dev-python/plumbum[${PYTHON_USEDEP}]
49 - dev-python/gevent[${PYTHON_USEDEP}]"
50 -
51 -src_prepare() {
52 - default
53 -
54 - # Windows specific test
55 - rm tests/test_win32pipes.py || die "rm tests/test_win32pipes.py failed"
56 -
57 - # These tests require running sshd
58 - rm tests/test_ssh.py tests/test_deploy.py || die "rm test_ssh.py test_deploy.py failed"
59 -
60 - # This test requires internet access
61 - rm tests/test_registry.py || die "rm test_registry.py failed"
62 -
63 - # This test fails with NO_CIPHERS_AVAILABLE
64 - rm tests/test_ssl.py || die "rm test_ssl.py failed"
65 -
66 - # Temporarily removed
67 - # https://github.com/tomerfiliba-org/rpyc/issues/513
68 - rm tests/test_teleportation.py
69 -
70 - if ! use numpy
71 - then rm tests/test_service_pickle.py || die "rm test_service_pickle.py failed"
72 - fi
73 -
74 - if ! use gdb
75 - then rm tests/test_gdb.py || die "rm test_gdb.py failed"
76 - fi
77 -}
78 -
79 -python_test() {
80 - # for some reason, when tests are run via pytest or nose, some of them hung
81 - pushd tests > /dev/null || die "pushd tests failed"
82 - for x in test_*.py
83 - do PYTHONPATH="${WORKDIR}"/${P}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages ${EPYTHON} ${x} || die "${x} failed"
84 - done
85 - popd > /dev/null
86 -}
87
88 diff --git a/dev-python/rpyc/rpyc-5.2.3.ebuild b/dev-python/rpyc/rpyc-5.2.3.ebuild
89 deleted file mode 100644
90 index 0f85434abd00..000000000000
91 --- a/dev-python/rpyc/rpyc-5.2.3.ebuild
92 +++ /dev/null
93 @@ -1,61 +0,0 @@
94 -# Copyright 1999-2022 Gentoo Authors
95 -# Distributed under the terms of the GNU General Public License v2
96 -
97 -EAPI=8
98 -DISTUTILS_USE_PEP517=hatchling
99 -PYTHON_COMPAT=( python3_{8..10} )
100 -
101 -inherit distutils-r1
102 -
103 -DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library"
104 -HOMEPAGE="https://rpyc.readthedocs.io/en/latest/
105 - https://pypi.org/project/rpyc/
106 - https://github.com/tomerfiliba-org/rpyc"
107 -SRC_URI="https://github.com/tomerfiliba-org/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
108 -
109 -LICENSE="MIT"
110 -SLOT="0"
111 -KEYWORDS="~amd64 ~x86"
112 -
113 -# USE flags gdb, numpy are used *only* to run tests depending on these packages
114 -IUSE="test numpy gdb"
115 -RESTRICT="!test? ( test )"
116 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
117 - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] )
118 - gdb? ( sys-devel/gdb )"
119 -
120 -RDEPEND="dev-python/plumbum[${PYTHON_USEDEP}]
121 - dev-python/gevent[${PYTHON_USEDEP}]"
122 -
123 -src_prepare() {
124 - default
125 -
126 - # Windows specific test
127 - rm tests/test_win32pipes.py || die "rm tests/test_win32pipes.py failed"
128 -
129 - # These tests require running sshd
130 - rm tests/test_ssh.py tests/test_deploy.py || die "rm test_ssh.py test_deploy.py failed"
131 -
132 - # This test requires internet access
133 - rm tests/test_registry.py || die "rm test_registry.py failed"
134 -
135 - # This test fails with NO_CIPHERS_AVAILABLE
136 - rm tests/test_ssl.py || die "rm test_ssl.py failed"
137 -
138 - if ! use numpy
139 - then rm tests/test_service_pickle.py || die "rm test_service_pickle.py failed"
140 - fi
141 -
142 - if ! use gdb
143 - then rm tests/test_gdb.py || die "rm test_gdb.py failed"
144 - fi
145 -}
146 -
147 -python_test() {
148 - # for some reason, when tests are run via pytest or nose, some of them hung
149 - pushd tests > /dev/null || die "pushd tests failed"
150 - for x in test_*.py
151 - do ${PYTHON} ${x} || die "${x} failed"
152 - done
153 - popd > /dev/null
154 -}