dev-python/random2: Add Python 3.7, EAPI 7, drop eutils
authorJames Le Cuirot <chewi@gentoo.org>
Mon, 29 Jul 2019 22:07:39 +0000 (23:07 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Mon, 29 Jul 2019 22:23:56 +0000 (23:23 +0100)
Closes: https://bugs.gentoo.org/688986
Package-Manager: Portage-2.3.69, Repoman-2.3.13
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
dev-python/random2/random2-1.0.1-r1.ebuild [new file with mode: 0644]

diff --git a/dev-python/random2/random2-1.0.1-r1.ebuild b/dev-python/random2/random2-1.0.1-r1.ebuild
new file mode 100644 (file)
index 0000000..59faaf8
--- /dev/null
@@ -0,0 +1,16 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{5,6,7} )
+inherit distutils-r1
+
+DESCRIPTION="Python-2.7 random module ported to python-3"
+HOMEPAGE="https://pypi.org/project/random2/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+BDEPEND="app-arch/unzip
+       dev-python/setuptools[${PYTHON_USEDEP}]"