summaryrefslogtreecommitdiff
path: root/dev-python/random2
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-02-26 13:40:54 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-02-26 13:40:54 +0000
commitcd7c4f9316e6461cf9ded6e016665b5d67b1b020 (patch)
tree90d4c2673ea90d501ea8a7f0b5faeaa7e31bd121 /dev-python/random2
parent29bb06cde53e6322020a7824aabdaf075c549b8e (diff)
downloadbaldeagleos-repo-cd7c4f9316e6461cf9ded6e016665b5d67b1b020.tar.gz
baldeagleos-repo-cd7c4f9316e6461cf9ded6e016665b5d67b1b020.tar.xz
baldeagleos-repo-cd7c4f9316e6461cf9ded6e016665b5d67b1b020.zip
Adding metadata
Diffstat (limited to 'dev-python/random2')
-rw-r--r--dev-python/random2/random2-1.0.1-r2.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-python/random2/random2-1.0.1-r2.ebuild b/dev-python/random2/random2-1.0.1-r2.ebuild
new file mode 100644
index 000000000000..da128774253b
--- /dev/null
+++ b/dev-python/random2/random2-1.0.1-r2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+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 ~riscv ~x86"
+
+BDEPEND="app-arch/unzip"
+
+distutils_enable_tests setup.py
+
+PATCHES=( "${FILESDIR}/${P}-py39-tests.patch" )