From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1648980-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C8D6015802E for <garchives@archives.gentoo.org>; Tue, 2 Jul 2024 09:54:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19C98E2A91; Tue, 2 Jul 2024 09:54:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E992EE2A91 for <gentoo-commits@lists.gentoo.org>; Tue, 2 Jul 2024 09:54:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EDA6C335C52 for <gentoo-commits@lists.gentoo.org>; Tue, 2 Jul 2024 09:54:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79A261BC0 for <gentoo-commits@lists.gentoo.org>; Tue, 2 Jul 2024 09:54:03 +0000 (UTC) From: "Andrey Grozin" <grozin@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" <grozin@gentoo.org> Message-ID: <1719914023.1362c028316962fa1cd63a0e84b72138eb0f4349.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rpyc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rpyc/Manifest dev-python/rpyc/rpyc-6.0.0.ebuild X-VCS-Directories: dev-python/rpyc/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 1362c028316962fa1cd63a0e84b72138eb0f4349 X-VCS-Branch: master Date: Tue, 2 Jul 2024 09:54:03 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 658b858d-13e5-4cae-a25b-ba3f6b46ec69 X-Archives-Hash: 237928cb7caaace0676b1335d4fbd26b commit: 1362c028316962fa1cd63a0e84b72138eb0f4349 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> AuthorDate: Tue Jul 2 09:53:43 2024 +0000 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> CommitDate: Tue Jul 2 09:53:43 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1362c028 dev-python/rpyc: bump to 6.0.0 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> dev-python/rpyc/Manifest | 1 + dev-python/rpyc/rpyc-6.0.0.ebuild | 69 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/dev-python/rpyc/Manifest b/dev-python/rpyc/Manifest index 3dd555a227cf..fc7902825c24 100644 --- a/dev-python/rpyc/Manifest +++ b/dev-python/rpyc/Manifest @@ -1 +1,2 @@ DIST rpyc-5.3.1.gh.tar.gz 1271046 BLAKE2B b7c86aa5cf774d306b2d6fdbac97441533bc5a847aaf03c11b0abf0a07587a2f7d081470d3402fde4251ea6654051d96983feefa2ba7e65a9a95d76f179edcad SHA512 a328903c336483f7110cbbff96173ba0b5ae6cf16f6306c624055bd631d914772c42dcfcf48a275b7dc53241f6b10a397ee49f17b8a3c3c8dbee8f42ac784465 +DIST rpyc-6.0.0.gh.tar.gz 1273858 BLAKE2B e55d008dc772be7fd4bae9065a5eabcf5612faf8131e8161e7921eeb84475183c677687ef8606c664003089ae714d4cb403ff6afa26d2695a8fe763d549aab0d SHA512 04b74fa6d4ad944b43c3f3acb6c9029a826da350bffdc59875ec31562bbaa70945e74bedb69778811ce16560ef4f4cfe2579b9c6b52773fe238951fc6328e029 diff --git a/dev-python/rpyc/rpyc-6.0.0.ebuild b/dev-python/rpyc/rpyc-6.0.0.ebuild new file mode 100644 index 000000000000..ba28161bff98 --- /dev/null +++ b/dev-python/rpyc/rpyc-6.0.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) + +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/rpyc/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +# USE flags gdb, numpy are used *only* to run tests depending on these packages +IUSE="test numpy gdb" +RESTRICT="!test? ( test )" + +CDEPEND="numpy? ( dev-python/numpy[${PYTHON_USEDEP}] dev-python/pandas[${PYTHON_USEDEP}] ) + gdb? ( dev-debug/gdb )" + +DEPEND="${CDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +RDEPEND="${CDEPEND} + dev-python/plumbum[${PYTHON_USEDEP}]" + +PATCHES=( "${FILESDIR}"/${PN}-5.3.0-no-gevent.patch ) + +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" + + # dev-python/gevent is being removed + rm tests/test_gevent_server.py || die "rm test_gevent_server.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 PYTHONPATH="${WORKDIR}"/${P}-${EPYTHON/./_}/install/usr/lib/${EPYTHON}/site-packages ${EPYTHON} ${x} || die "${x} failed" + done + popd > /dev/null +}