Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rsa/
Date: Thu, 25 Nov 2021 08:11:51
Message-Id: 1637827902.b694fa4678b229850fa6813411fca17b0c7e74fb.mgorny@gentoo
1 commit: b694fa4678b229850fa6813411fca17b0c7e74fb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 25 08:02:00 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 25 08:11:42 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b694fa46
7
8 dev-python/rsa: Bump to 4.8
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/rsa/Manifest | 1 +
13 dev-python/rsa/rsa-4.8.ebuild | 34 ++++++++++++++++++++++++++++++++++
14 2 files changed, 35 insertions(+)
15
16 diff --git a/dev-python/rsa/Manifest b/dev-python/rsa/Manifest
17 index bac0514f8f70..bfe6acc5a83f 100644
18 --- a/dev-python/rsa/Manifest
19 +++ b/dev-python/rsa/Manifest
20 @@ -1 +1,2 @@
21 DIST python-rsa-version-4.7.2.gh.tar.gz 65177 BLAKE2B 513d6f346813d6bc67de23ee419d70f310155303df40174d47343786f735e00446d8874f51fdea0d7dc890bc8986bb2861746328d7200e8704197adde99d68ad SHA512 4ab64868be00b74b64931453f684bc7f68cfea92cee651e957411e4dc5084e5f8e300fda01cf5187df2f3b455ea40d233488a2e777c9d669d457f67325b420f0
22 +DIST python-rsa-version-4.8.gh.tar.gz 73634 BLAKE2B 55f25b6747f4f0bad12cbbb75c6e6fdbe6f913265866f11430644b46f9d3a2f615e6ed460d04cc732cfe29f0a4e47b14f2581f29d523b3018272ef976a6a04aa SHA512 d65e5d3c902508f4ea7424099471cd68568b052b9647a87ceb155ecc444ba6a8bd0ebef6fe1bf38720a19193cd494a8b64f744cca5812d1a3bec28f3fa3a9a3d
23
24 diff --git a/dev-python/rsa/rsa-4.8.ebuild b/dev-python/rsa/rsa-4.8.ebuild
25 new file mode 100644
26 index 000000000000..40faefa011e5
27 --- /dev/null
28 +++ b/dev-python/rsa/rsa-4.8.ebuild
29 @@ -0,0 +1,34 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +
38 +inherit distutils-r1
39 +
40 +MY_P=python-rsa-version-${PV}
41 +DESCRIPTION="Pure-Python RSA implementation"
42 +HOMEPAGE="
43 + https://stuvel.eu/rsa/
44 + https://pypi.org/project/rsa/"
45 +SRC_URI="
46 + https://github.com/sybrenstuvel/python-rsa/archive/version-${PV}.tar.gz
47 + -> ${MY_P}.gh.tar.gz"
48 +S=${WORKDIR}/${MY_P}
49 +
50 +LICENSE="Apache-2.0"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
53 +
54 +RDEPEND="
55 + >=dev-python/pyasn1-0.1.3[${PYTHON_USEDEP}]
56 +"
57 +
58 +distutils_enable_tests unittest
59 +
60 +src_prepare() {
61 + rm tests/test_mypy.py || die
62 + distutils-r1_src_prepare
63 +}