From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 6872515808B for ; Thu, 31 Mar 2022 02:03:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95217E081E; Thu, 31 Mar 2022 02:03:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 17400E0801 for ; Thu, 31 Mar 2022 02:03:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 69EBE341319 for ; Thu, 31 Mar 2022 02:03:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD62A357 for ; Thu, 31 Mar 2022 02:03:25 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1648692200.6736748d52120902faf8fdf67507619a5f7780d1.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/raet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/raet/raet-0.6.8-r4.ebuild X-VCS-Directories: dev-python/raet/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 6736748d52120902faf8fdf67507619a5f7780d1 X-VCS-Branch: master Date: Thu, 31 Mar 2022 02:03:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a0872955-33f6-4b76-8f7f-6a958df25c7a X-Archives-Hash: 4ea6cf2924a565599d282cbc2f06ace5 commit: 6736748d52120902faf8fdf67507619a5f7780d1 Author: Patrick McLean gentoo org> AuthorDate: Thu Mar 31 01:59:43 2022 +0000 Commit: Patrick McLean gentoo org> CommitDate: Thu Mar 31 02:03:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6736748d dev-python/raet: Fix brokenness with a revision bump Signed-off-by: Patrick McLean gentoo.org> dev-python/raet/raet-0.6.8-r4.ebuild | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/dev-python/raet/raet-0.6.8-r4.ebuild b/dev-python/raet/raet-0.6.8-r4.ebuild new file mode 100644 index 000000000000..0d65a49ec907 --- /dev/null +++ b/dev-python/raet/raet-0.6.8-r4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Reliable Asynchronous Event Transport Protocol" +HOMEPAGE="https://github.com/RaetProtocol/raet" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=">=dev-python/six-1.6.1[${PYTHON_USEDEP}] + >=dev-python/libnacl-1.4.3[${PYTHON_USEDEP}] + >=dev-python/ioflo-2.0[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND} + test? ( + >=dev-python/msgpack-1.0.0[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}/raet-0.6.8-msgpack-1.0.patch" + "${FILESDIR}/raet-0.6.8-py310.patch" +) + +python_prepare_all() { + distutils-r1_python_prepare_all + sed -e "/setuptools_git/d" -i setup.py || die +} + +python_test() { + pushd "${BUILD_DIR}"/lib || die + ${EPYTHON} ${PN}/test/__init__.py || die "tests failed for ${EPYTHON}" + popd || die +}