summaryrefslogtreecommitdiff
path: root/dev-python/rpyc
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/rpyc')
-rw-r--r--dev-python/rpyc/Manifest10
-rw-r--r--dev-python/rpyc/metadata.xml10
-rw-r--r--dev-python/rpyc/rpyc-4.1.4.ebuild18
-rw-r--r--dev-python/rpyc/rpyc-4.1.5.ebuild6
-rw-r--r--dev-python/rpyc/rpyc-5.0.0.ebuild4
-rw-r--r--dev-python/rpyc/rpyc-5.0.1.ebuild57
6 files changed, 76 insertions, 29 deletions
diff --git a/dev-python/rpyc/Manifest b/dev-python/rpyc/Manifest
index 26c393612d2d..a560c59dd6b1 100644
--- a/dev-python/rpyc/Manifest
+++ b/dev-python/rpyc/Manifest
@@ -1,7 +1,7 @@
-DIST rpyc-4.1.4.tar.gz 1251969 BLAKE2B 8d77d6c80fb69d96847878830c8fd0b8333223b8a2f13389de250bea6c8d9fc79477ee9ddd738776c1f1fdb4ed6d9d349a2d5cbdf3dd4486fe9b11113df0fedd SHA512 50b146fa07c213ad51cc3ba5e29264e5c16a6061fb109b94b9183582399495697c73c38e6e4958989a90080a88155bb140bf8e1ca43e0c6fb1f72eda2795d71f
DIST rpyc-4.1.5.tar.gz 1252268 BLAKE2B 3669b10e7b9dc28feec33cb8472e74087fb31801564fcd9d9230f88a44dca8c7100a6134ad5c0e4974b8252e6c2f8d33877550facfe5f6c21d8a388e38c9e9f7 SHA512 27f67c7e7bf6f1e94815b3124f300da5f1317e7b454280953d85eca8c7146afc33937ac66a1bb8ac2344b73532ae232b190a647ef90aa723b8b5173b96877454
DIST rpyc-5.0.0.tar.gz 1257159 BLAKE2B cc1b9465745b22ba8d21a11c1f1b874e62acda6ee706591d4cf4389e5be36c3b39b24e6790356f8f5c5ad03c9739a3f835abd5e50768403e35731afa78bc608c SHA512 dadacd7bfa5c564843fbad377b7f346f582640e91b8d3ce1625e537625d448f902104b376203d026fcd08b1a89ddc8cfe2259fa035a16f0184d227543fbc465f
-EBUILD rpyc-4.1.4.ebuild 525 BLAKE2B 3f7c2ad7f390bccc52cc9311523565e56989b00be475f2577c3c499b1f8c7b67caf8dbc1bf8318b25a6c4e3bb7b23fb6fee8a81d3ab3c088994ad114f69a977a SHA512 9bc70196fd12ac1483397fb901ab04c5e9a1b4607ab8f5393314759ddd1196e3ea967e4410e869c9888b81c25607acf604893da0e207aef0c8e36c9888149895
-EBUILD rpyc-4.1.5.ebuild 526 BLAKE2B c901e812d13e6f6682b867aff0f847de111e9deea828a5c0faa84cef92ad9ff47651131e2fa72dd8e17e3db238fb5588e627d4bedf3d5eb943886ef15638b736 SHA512 8abb54bc947ffced70c416cc5dabc7d5a60fc092d7a5550a89ce9a8a4987f02bc338a3a6dab0b0dd14a0df0596bd6bbbe3c6dd0676be217f347392a8d9c088e5
-EBUILD rpyc-5.0.0.ebuild 599 BLAKE2B dc4875ad59c7bcfc8b63a6028aa4e2b5e1a8ecad7873e9b83c719019f05dc96b134c06fd7e0609456f6ec9128a6ce041b564ab2437f91ff077aabfffd4828177 SHA512 4f4b8bb2ba5e3708fa55b8422a3d60fb38f8602b90646cfb3561a45e31188c33ff6ef9fd1489656d68a4d658e6152b4e8775e7fbcbe536520c6d87d535fe5f49
-MISC metadata.xml 519 BLAKE2B bff6efbebeaa170cc6f51bb81a8401dab34bd7e9ff6c0f4419099904601bfa1170ca7c191ad0da665176662ce8fe4ebdef911b8abe04280d74924865d4e64264 SHA512 797220200ee9ec3d52d30f89e719394f548b8b030390aa8834cb7b1022ad1b1e7b0b8b2dd3a4b9aa4e0b95494330c21276597287132ba3254a333a0ae51f2670
+DIST rpyc-5.0.1.tar.gz 1258657 BLAKE2B 84d0bee67004928c26a1765a26267e3e8eb5dc09a8fd53c1d75ca691cf313a7563398626b7e89a8893415294721623206204784da01444708edb56aec8101719 SHA512 57b0d6b2dba33c7f6c9d204b4deae8ab08ed56e5799aa2c7ae4bcb8ab98486055090e3079d8b0d615fcd517111a6e02893dff85607aaca5497ae76429abe3148
+EBUILD rpyc-4.1.5.ebuild 528 BLAKE2B 95781ecbec0b561ea677b10cbcb3d08501e84d7fcc3f0ede2c791ede6934b9139176407a776530107bae14f4fb1700b1edf26a905109ae023d7eb78f34f3e960 SHA512 6e130f5732206e7a9c260ee571c467a5bf8c7d482558b8972f981eafce0a691589ac85cd6403384c346a5e993268cc91ef37793a4ac32947ca9404423c5a3280
+EBUILD rpyc-5.0.0.ebuild 603 BLAKE2B 536151a541661db0b5c26d7acc18eabb52a28fe87d08cb0c35af2f1d595f3061ad47676d0dc3c8fe847303039d31a76e624760562d89da7747628ff4a961d73a SHA512 0d6f3108006d7e0739ba269a4d8a16a169fbe0a5beac48394ba7ff82ca8ec0ba8f1ce32a7d2899ceb7df15dd721236e5f17de4eca74251564366c37de6e20712
+EBUILD rpyc-5.0.1.ebuild 1643 BLAKE2B da73e657f03c8d4c7f937120c6da7e73988173776181075f7c145f84190f52e5a4ec5e8a45fe7937a1f9b1da1db9b4485c3f702fc6a502bb77784f82bef678a6 SHA512 fac7e032f716ad51636fb727916f5b1f4da2965ca9c7b07b44c76616f46548df68c14008b69f789a69c1c5b1cffbb745e1fe37cc8a0beb9df261a56b34e0a21a
+MISC metadata.xml 754 BLAKE2B 82ff0e7411b48772006257e8b35f042fbe7dcd805872b27480717937e34b2530159add3550e645f30f86c124b9d6ec4bebb7ca5f931af52a85dc8a61165f87f5 SHA512 ba1be445e198db7684a66b4d40eaea109ecdf975570d56e8d054f984df24ba40230cd17b5f3bd74759d0e31222e5fd771d63feb17ed3f2714bdef11f5cd2e15a
diff --git a/dev-python/rpyc/metadata.xml b/dev-python/rpyc/metadata.xml
index 325f00581a6c..9595e6323dd1 100644
--- a/dev-python/rpyc/metadata.xml
+++ b/dev-python/rpyc/metadata.xml
@@ -9,9 +9,17 @@
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
+ <stabilize-allarches/>
<upstream>
<remote-id type="sourceforge">rpyc</remote-id>
<remote-id type="pypi">rpyc</remote-id>
- <remote-id type="github">tomerfiliba/rpyc</remote-id>
+ <remote-id type="github">tomerfiliba-org/rpyc</remote-id>
</upstream>
+ <use>
+ <flag name="numpy">Run tests depending on
+ <pkg>dev-python/numpy</pkg>, <pkg>dev-python/pandas</pkg>
+ </flag>
+ <flag name="gdb">Run tests depending on <pkg>sys-devel/gdb</pkg>
+ </flag>
+ </use>
</pkgmetadata>
diff --git a/dev-python/rpyc/rpyc-4.1.4.ebuild b/dev-python/rpyc/rpyc-4.1.4.ebuild
deleted file mode 100644
index 6fad45080a65..000000000000
--- a/dev-python/rpyc/rpyc-4.1.4.ebuild
+++ /dev/null
@@ -1,18 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit distutils-r1
-
-DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library"
-HOMEPAGE="https://rpyc.readthedocs.io/en/latest/"
-SRC_URI="https://github.com/tomerfiliba/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-RDEPEND="dev-python/plumbum[${PYTHON_USEDEP}]"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/rpyc/rpyc-4.1.5.ebuild b/dev-python/rpyc/rpyc-4.1.5.ebuild
index 98438a3833b6..7a4ae17ce4bf 100644
--- a/dev-python/rpyc/rpyc-4.1.5.ebuild
+++ b/dev-python/rpyc/rpyc-4.1.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -8,11 +8,11 @@ inherit distutils-r1
DESCRIPTION="Remote Python Call (RPyC), a transparent and symmetric RPC library"
HOMEPAGE="https://rpyc.readthedocs.io/en/latest/"
-SRC_URI="https://github.com/tomerfiliba/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/tomerfiliba-org/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
RDEPEND="dev-python/plumbum[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/rpyc/rpyc-5.0.0.ebuild b/dev-python/rpyc/rpyc-5.0.0.ebuild
index bb29a47687ce..bfcf9c33a5b5 100644
--- a/dev-python/rpyc/rpyc-5.0.0.ebuild
+++ b/dev-python/rpyc/rpyc-5.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -10,7 +10,7 @@ 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/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/tomerfiliba-org/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
diff --git a/dev-python/rpyc/rpyc-5.0.1.ebuild b/dev-python/rpyc/rpyc-5.0.1.ebuild
new file mode 100644
index 000000000000..a38e0e9a45fa
--- /dev/null
+++ b/dev-python/rpyc/rpyc-5.0.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..9} )
+
+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"
+
+ 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
+}