summaryrefslogtreecommitdiff
path: root/dev-python/random2
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-03-28 09:06:35 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-03-28 09:06:35 +0000
commit94c7485e09acad6da9cb642244e796eff14515cb (patch)
tree38e384145c79223288f77fdb1abb843b37ae2c8d /dev-python/random2
parentf33fc627f9a672fc99c0e2658ccfd2cbea76d665 (diff)
downloadbaldeagleos-repo-94c7485e09acad6da9cb642244e796eff14515cb.tar.gz
baldeagleos-repo-94c7485e09acad6da9cb642244e796eff14515cb.tar.xz
baldeagleos-repo-94c7485e09acad6da9cb642244e796eff14515cb.zip
Adding metadata
Diffstat (limited to 'dev-python/random2')
-rw-r--r--dev-python/random2/random2-1.0.1-r2.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/dev-python/random2/random2-1.0.1-r2.ebuild b/dev-python/random2/random2-1.0.1-r2.ebuild
index 56c86804c115..c0a6505c9861 100644
--- a/dev-python/random2/random2-1.0.1-r2.ebuild
+++ b/dev-python/random2/random2-1.0.1-r2.ebuild
@@ -6,18 +6,22 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{7,8,9,10,11} )
-inherit distutils-r1
+inherit distutils-r1 pypi
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"
+SRC_URI="$(pypi_sdist_url "${PN}" "${PV}" .zip)"
LICENSE="PSF-2"
SLOT="0"
KEYWORDS="amd64 arm64 ~riscv x86"
-BDEPEND="app-arch/unzip"
+BDEPEND="
+ app-arch/unzip
+"
distutils_enable_tests setup.py
-PATCHES=( "${FILESDIR}/${P}-py39-tests.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-py39-tests.patch"
+)