Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/random2/
Date: Mon, 29 Jul 2019 22:24:49
Message-Id: 1564439036.b885ae63e48830092502901ab4e854079bbfb3f1.chewi@gentoo
1 commit: b885ae63e48830092502901ab4e854079bbfb3f1
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 29 22:07:39 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 29 22:23:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b885ae63
7
8 dev-python/random2: Add Python 3.7, EAPI 7, drop eutils
9
10 Closes: https://bugs.gentoo.org/688986
11 Package-Manager: Portage-2.3.69, Repoman-2.3.13
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 dev-python/random2/random2-1.0.1-r1.ebuild | 16 ++++++++++++++++
15 1 file changed, 16 insertions(+)
16
17 diff --git a/dev-python/random2/random2-1.0.1-r1.ebuild b/dev-python/random2/random2-1.0.1-r1.ebuild
18 new file mode 100644
19 index 00000000000..59faaf8a32c
20 --- /dev/null
21 +++ b/dev-python/random2/random2-1.0.1-r1.ebuild
22 @@ -0,0 +1,16 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +PYTHON_COMPAT=( python3_{5,6,7} )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="Python-2.7 random module ported to python-3"
31 +HOMEPAGE="https://pypi.org/project/random2/"
32 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
33 +LICENSE="PSF-2"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~arm64 ~x86"
36 +
37 +BDEPEND="app-arch/unzip
38 + dev-python/setuptools[${PYTHON_USEDEP}]"