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 A7E77158041 for ; Tue, 12 Mar 2024 21:39:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FCEBE29D6; Tue, 12 Mar 2024 21:39:28 +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 62293E29D6 for ; Tue, 12 Mar 2024 21:39:28 +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 667C333BF28 for ; Tue, 12 Mar 2024 21:39:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE685FC2 for ; Tue, 12 Mar 2024 21:39: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: <1710279560.806db3e75b18c38969819f3913202fcfbcdd30d5.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-r6.ebuild X-VCS-Directories: dev-python/raet/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 806db3e75b18c38969819f3913202fcfbcdd30d5 X-VCS-Branch: master Date: Tue, 12 Mar 2024 21:39: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: 3bd8f25d-8b1f-43ca-96b8-d2fb5444a388 X-Archives-Hash: f6c4e993e4b5b687ef9641f1cff17d88 commit: 806db3e75b18c38969819f3913202fcfbcdd30d5 Author: Patrick McLean gentoo org> AuthorDate: Wed Mar 6 22:59:12 2024 +0000 Commit: Patrick McLean gentoo org> CommitDate: Tue Mar 12 21:39:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=806db3e7 dev-python/raet: Revbump, minor cleanups, py312 Signed-off-by: Patrick McLean gentoo.org> dev-python/raet/raet-0.6.8-r6.ebuild | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/dev-python/raet/raet-0.6.8-r6.ebuild b/dev-python/raet/raet-0.6.8-r6.ebuild new file mode 100644 index 000000000000..94a1bee2724e --- /dev/null +++ b/dev-python/raet/raet-0.6.8-r6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Reliable Asynchronous Event Transport Protocol" +HOMEPAGE=" + https://github.com/RaetProtocol/raet/ + https://pypi.org/project/raet/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +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=" + 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}/install$(python_get_sitedir)" >/dev/null || die + "${EPYTHON}" raet/test/__init__.py || die "tests failed for ${EPYTHON}" + popd >/dev/null || die +}