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/random2/
Date: Sat, 26 Feb 2022 08:34:57
Message-Id: 1645864483.f2716c30cd31d25eadc307b13933459a8f8ec817.mgorny@gentoo
1 commit: f2716c30cd31d25eadc307b13933459a8f8ec817
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 08:22:45 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 08:34:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2716c30
7
8 dev-python/random2: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/random2/random2-1.0.1-r2.ebuild | 23 +++++++++++++++++++++++
13 1 file changed, 23 insertions(+)
14
15 diff --git a/dev-python/random2/random2-1.0.1-r2.ebuild b/dev-python/random2/random2-1.0.1-r2.ebuild
16 new file mode 100644
17 index 000000000000..2a366d4c7b1b
18 --- /dev/null
19 +++ b/dev-python/random2/random2-1.0.1-r2.ebuild
20 @@ -0,0 +1,23 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Python-2.7 random module ported to python-3"
32 +HOMEPAGE="https://pypi.org/project/random2/"
33 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
34 +
35 +LICENSE="PSF-2"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
38 +
39 +BDEPEND="app-arch/unzip"
40 +
41 +distutils_enable_tests setup.py
42 +
43 +PATCHES=( "${FILESDIR}/${P}-py39-tests.patch" )