From: "Andrey Grozin" <grozin@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rpyc/
Date: Wed, 13 Jan 2021 15:40:19 +0000 (UTC) [thread overview]
Message-ID: <1610552398.f31c367c05e0894d626cd08e896b5c94c44bc61d.grozin@gentoo> (raw)
commit: f31c367c05e0894d626cd08e896b5c94c44bc61d
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 13 15:39:26 2021 +0000
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Wed Jan 13 15:39:58 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f31c367c
dev-python/rpyc: bump to 5.0.1
Closes: https://bugs.gentoo.org/761742
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
dev-python/rpyc/Manifest | 1 +
dev-python/rpyc/metadata.xml | 7 +++++
dev-python/rpyc/rpyc-5.0.1.ebuild | 57 +++++++++++++++++++++++++++++++++++++++
3 files changed, 65 insertions(+)
diff --git a/dev-python/rpyc/Manifest b/dev-python/rpyc/Manifest
index 9ded8634200..f18ec49007a 100644
--- a/dev-python/rpyc/Manifest
+++ b/dev-python/rpyc/Manifest
@@ -1,3 +1,4 @@
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
+DIST rpyc-5.0.1.tar.gz 1258657 BLAKE2B 84d0bee67004928c26a1765a26267e3e8eb5dc09a8fd53c1d75ca691cf313a7563398626b7e89a8893415294721623206204784da01444708edb56aec8101719 SHA512 57b0d6b2dba33c7f6c9d204b4deae8ab08ed56e5799aa2c7ae4bcb8ab98486055090e3079d8b0d615fcd517111a6e02893dff85607aaca5497ae76429abe3148
diff --git a/dev-python/rpyc/metadata.xml b/dev-python/rpyc/metadata.xml
index 325f00581a6..0a12e47913c 100644
--- a/dev-python/rpyc/metadata.xml
+++ b/dev-python/rpyc/metadata.xml
@@ -14,4 +14,11 @@
<remote-id type="pypi">rpyc</remote-id>
<remote-id type="github">tomerfiliba/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-5.0.1.ebuild b/dev-python/rpyc/rpyc-5.0.1.ebuild
new file mode 100644
index 00000000000..39488104ff2
--- /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/${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
+}
next reply other threads:[~2021-01-13 15:40 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-13 15:40 Andrey Grozin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-03 9:47 [gentoo-commits] repo/gentoo:master commit in: dev-python/rpyc/ Sam James
2024-07-20 9:01 Michał Górny
2024-07-20 7:39 Arthur Zamarin
2024-07-02 9:54 Andrey Grozin
2023-11-29 10:30 Michał Górny
2023-11-29 10:26 Michał Górny
2023-11-24 16:51 Arthur Zamarin
2023-10-29 6:14 Andrey Grozin
2023-04-05 7:07 Michał Górny
2023-04-05 6:53 Arthur Zamarin
2023-03-06 14:09 Andrey Grozin
2023-02-10 8:45 Yixun Lan
2022-12-25 17:41 Michał Górny
2022-12-25 16:42 Sam James
2022-12-20 14:26 Jakov Smolić
2022-11-20 9:05 Andrey Grozin
2022-11-16 16:30 Michał Górny
2022-11-16 12:41 Sam James
2022-11-05 16:26 Andrey Grozin
2022-11-05 16:24 Andrey Grozin
2022-11-01 10:43 Andrey Grozin
2022-10-10 8:37 Andrey Grozin
2022-04-06 13:56 Andrey Grozin
2022-02-27 8:49 Michał Górny
2021-03-03 12:54 Michał Górny
2021-03-03 12:37 Agostino Sarubbo
2021-01-13 20:16 Michał Górny
2021-01-13 20:16 Michał Górny
2021-01-13 20:16 Michał Górny
2021-01-13 19:34 Sam James
2021-01-13 18:26 Michał Górny
2020-12-27 10:13 Andrey Grozin
2020-12-01 9:25 Andrey Grozin
2020-03-29 7:31 Michał Górny
2020-03-29 7:31 Michał Górny
2020-02-11 19:50 Agostino Sarubbo
2020-02-11 19:43 Agostino Sarubbo
2020-01-31 14:24 Andrey Grozin
2018-11-11 13:12 Andrey Grozin
2018-11-11 13:11 Andrey Grozin
2018-06-26 1:28 Aaron Bauman
2018-06-25 23:20 Thomas Deutschmann
2018-04-29 6:33 Michał Górny
2017-12-15 9:32 Andrey Grozin
2017-03-30 18:36 Andrey Grozin
2017-03-30 18:10 Andrey Grozin
2017-01-23 15:46 Agostino Sarubbo
2017-01-23 13:51 Agostino Sarubbo
2015-12-25 12:25 Andrey Grozin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1610552398.f31c367c05e0894d626cd08e896b5c94c44bc61d.grozin@gentoo \
--to=grozin@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox