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 C4251158090 for ; Sat, 14 May 2022 20:01:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA6A8E08A0; Sat, 14 May 2022 20:01:45 +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 B0122E08A0 for ; Sat, 14 May 2022 20:01:45 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5A4A341B31 for ; Sat, 14 May 2022 20:01:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE63C46A for ; Sat, 14 May 2022 20:01:42 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1652558499.3a606b437f58d2fd9c6604d420c3f996412e8d9e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rsa/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rsa/rsa-4.8-r1.ebuild X-VCS-Directories: dev-python/rsa/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3a606b437f58d2fd9c6604d420c3f996412e8d9e X-VCS-Branch: master Date: Sat, 14 May 2022 20:01:42 +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: aff6a4d1-6f28-417c-8079-a4e2e49eaf2d X-Archives-Hash: 1665a15f049a7597fb37644b1562178c commit: 3a606b437f58d2fd9c6604d420c3f996412e8d9e Author: Michał Górny gentoo org> AuthorDate: Sat May 14 19:05:02 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat May 14 20:01:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a606b43 dev-python/rsa: Use PEP517 build Signed-off-by: Michał Górny gentoo.org> dev-python/rsa/rsa-4.8-r1.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/dev-python/rsa/rsa-4.8-r1.ebuild b/dev-python/rsa/rsa-4.8-r1.ebuild new file mode 100644 index 000000000000..89faa14dd4b1 --- /dev/null +++ b/dev-python/rsa/rsa-4.8-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +MY_P=python-rsa-version-${PV} +DESCRIPTION="Pure-Python RSA implementation" +HOMEPAGE=" + https://stuvel.eu/rsa/ + https://github.com/sybrenstuvel/python-rsa/ + https://pypi.org/project/rsa/ +" +SRC_URI=" + https://github.com/sybrenstuvel/python-rsa/archive/version-${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/pyasn1-0.1.3[${PYTHON_USEDEP}] +" + +distutils_enable_tests unittest + +src_prepare() { + rm tests/test_mypy.py || die + distutils-r1_src_prepare +}