diff options
author | Andrey Grozin <grozin@gentoo.org> | 2022-11-05 23:26:35 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2022-11-05 23:26:35 +0700 |
commit | d89220c4aec513b22076759542484da90abcea21 (patch) | |
tree | 040bd2e8d0970f2d75a3d84e57874843361c031b | |
parent | dev-python/rpyc: Make gevent optional (diff) | |
download | gentoo-d89220c4aec513b22076759542484da90abcea21.tar.gz gentoo-d89220c4aec513b22076759542484da90abcea21.tar.bz2 gentoo-d89220c4aec513b22076759542484da90abcea21.zip |
dev-python/rpyc: remove old revisions
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
-rw-r--r-- | dev-python/rpyc/rpyc-5.2.3-r1.ebuild | 65 | ||||
-rw-r--r-- | dev-python/rpyc/rpyc-5.2.3.ebuild | 61 |
2 files changed, 0 insertions, 126 deletions
diff --git a/dev-python/rpyc/rpyc-5.2.3-r1.ebuild b/dev-python/rpyc/rpyc-5.2.3-r1.ebuild deleted file mode 100644 index 94f50daaf6dd..000000000000 --- a/dev-python/rpyc/rpyc-5.2.3-r1.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8..11} ) - -inherit distutils-r1 - -DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library" -HOMEPAGE="https://rpyc.readthedocs.io/en/latest/ - https://pypi.org/project/rpyc/ - https://github.com/tomerfiliba-org/rpyc" -SRC_URI="https://github.com/tomerfiliba-org/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# USE flags gdb, numpy are used *only* to run tests depending on these packages -IUSE="test numpy gdb" -RESTRICT="!test? ( test )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] ) - gdb? ( sys-devel/gdb )" - -RDEPEND="dev-python/plumbum[${PYTHON_USEDEP}] - dev-python/gevent[${PYTHON_USEDEP}]" - -src_prepare() { - default - - # Windows specific test - rm tests/test_win32pipes.py || die "rm tests/test_win32pipes.py failed" - - # These tests require running sshd - rm tests/test_ssh.py tests/test_deploy.py || die "rm test_ssh.py test_deploy.py failed" - - # This test requires internet access - rm tests/test_registry.py || die "rm test_registry.py failed" - - # This test fails with NO_CIPHERS_AVAILABLE - rm tests/test_ssl.py || die "rm test_ssl.py failed" - - # Temporarily removed - # https://github.com/tomerfiliba-org/rpyc/issues/513 - rm tests/test_teleportation.py - - if ! use numpy - then rm tests/test_service_pickle.py || die "rm test_service_pickle.py failed" - fi - - if ! use gdb - then rm tests/test_gdb.py || die "rm test_gdb.py failed" - fi -} - -python_test() { - # for some reason, when tests are run via pytest or nose, some of them hung - pushd tests > /dev/null || die "pushd tests failed" - for x in test_*.py - do PYTHONPATH="${WORKDIR}"/${P}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages ${EPYTHON} ${x} || die "${x} failed" - done - popd > /dev/null -} diff --git a/dev-python/rpyc/rpyc-5.2.3.ebuild b/dev-python/rpyc/rpyc-5.2.3.ebuild deleted file mode 100644 index 0f85434abd00..000000000000 --- a/dev-python/rpyc/rpyc-5.2.3.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -DISTUTILS_USE_PEP517=hatchling -PYTHON_COMPAT=( python3_{8..10} ) - -inherit distutils-r1 - -DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library" -HOMEPAGE="https://rpyc.readthedocs.io/en/latest/ - https://pypi.org/project/rpyc/ - https://github.com/tomerfiliba-org/rpyc" -SRC_URI="https://github.com/tomerfiliba-org/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -# USE flags gdb, numpy are used *only* to run tests depending on these packages -IUSE="test numpy gdb" -RESTRICT="!test? ( test )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - numpy? ( dev-python/numpy[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] ) - gdb? ( sys-devel/gdb )" - -RDEPEND="dev-python/plumbum[${PYTHON_USEDEP}] - dev-python/gevent[${PYTHON_USEDEP}]" - -src_prepare() { - default - - # Windows specific test - rm tests/test_win32pipes.py || die "rm tests/test_win32pipes.py failed" - - # These tests require running sshd - rm tests/test_ssh.py tests/test_deploy.py || die "rm test_ssh.py test_deploy.py failed" - - # This test requires internet access - rm tests/test_registry.py || die "rm test_registry.py failed" - - # This test fails with NO_CIPHERS_AVAILABLE - rm tests/test_ssl.py || die "rm test_ssl.py failed" - - if ! use numpy - then rm tests/test_service_pickle.py || die "rm test_service_pickle.py failed" - fi - - if ! use gdb - then rm tests/test_gdb.py || die "rm test_gdb.py failed" - fi -} - -python_test() { - # for some reason, when tests are run via pytest or nose, some of them hung - pushd tests > /dev/null || die "pushd tests failed" - for x in test_*.py - do ${PYTHON} ${x} || die "${x} failed" - done - popd > /dev/null -} |