summaryrefslogtreecommitdiff
path: root/dev-python/random2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-18 19:50:47 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-18 19:50:47 +0000
commit1252b7a51c2cc6bd3a81830544cacce0aefc0bf1 (patch)
tree46f7231a8d885b3bd21739910f346623e6d92c86 /dev-python/random2
parent64602f81dd4ecc257e8c5139f42b902d3555ea78 (diff)
gentoo auto-resync : 18:12:2023 - 19:50:47
Diffstat (limited to 'dev-python/random2')
-rw-r--r--dev-python/random2/Manifest2
-rw-r--r--dev-python/random2/random2-1.0.2.ebuild21
2 files changed, 23 insertions, 0 deletions
diff --git a/dev-python/random2/Manifest b/dev-python/random2/Manifest
index e771a2288224..5cbdeb760458 100644
--- a/dev-python/random2/Manifest
+++ b/dev-python/random2/Manifest
@@ -1,4 +1,6 @@
AUX random2-1.0.1-py39-tests.patch 1264 BLAKE2B 8a9010deebf3529bc968c6b05a84a2034994455874a1b011d0a711da5ca863ad1aef4e462e7d5f6183121bd0f01e2f2270e057cb2c54d907541e9a0e491f09c7 SHA512 20164add503f8a6cf8750cc2e95baec382f3faafac8ed50046b61e5b81a9a2da4033f8a9f196e3ce1516dfe21228c2d25e3957eed3c85bb1c8aeda284a864d1b
DIST random2-1.0.1.zip 21088 BLAKE2B 69747711e355d3dea2b16562a6b9cdaa170732172e9eaac9a5cee4b8058f569e0c4527aec89e408e6472168fdecfc52b87703d23f153ec04f6ed2c049bcd162a SHA512 31de31c27bc6e07e99c24d30e97d9ddc3085fe557bcb0725881d4ab0b4c06e6208f64ba6267098c7b1be4f115ad45b399e841beecc90f71da2fb7d82982e75ff
+DIST random2-1.0.2.tar.gz 18095 BLAKE2B 17755408300a40c792fd1e6fdef278666408b178016b7b0d0c7b7e7a4927c522bea70961ae0393d3be35fcce8a6924a0421fe7e7fc319ff831d3346712060a07 SHA512 69b91de23ae2f384bf0054bd8e2bf36de0778b006d7c4620dd34b86297f021f80670c550069086f3c123cc47126e41449323de4944a31754c9d830eb08ab7db0
EBUILD random2-1.0.1-r2.ebuild 539 BLAKE2B 6b0bec9eff4109a4226a3d0e04cc46aa0495211cce586e2cb629999f6846dab6f44cd3b517f45ae19b9fcd0731c3d81ce02bf3a98b033e2a17d718434813bb1d SHA512 977a3cb3536d30a53aefd9a59bdd05298ed77c1c63e2f98c2af2574d92f3cbc3a651de059d80e22bd632e730d06d1900c759d020608f77b6786b896517fa1310
+EBUILD random2-1.0.2.ebuild 491 BLAKE2B 7772d5bf1af964017166406f83edb076b79ad3fe3c21cea1806565d6b7db9f838ae1299e9d15fabb4da23899a8a3c5d866fcb99b9626e0bf538530b944ce99f3 SHA512 7015bcb0504337db68c59011d604c07ff5903de0c8e2bd46c62e829e754f45c470920ce92604ed3c23d57abc60c8ea4a194e20250d5848904b2897f3b79a2b95
MISC metadata.xml 317 BLAKE2B 8308aafb7ac32af516a3ae84ce565e825a376fa226b11657b4175a847961159468bf474e0b293ebde604ef2ec7881b2fe8f71aaf4c326f9cdcf39acea3edc2dd SHA512 f569e09a6f9d184b6261fdf01b7568727d267c3e66b1f450b55b31248b757269d7c0bef6e87e4b3a4b1937c8dd4115338b484fa32a84fc3b4cc8b41450f3576f
diff --git a/dev-python/random2/random2-1.0.2.ebuild b/dev-python/random2/random2-1.0.2.ebuild
new file mode 100644
index 000000000000..5ed0932fe142
--- /dev/null
+++ b/dev-python/random2/random2-1.0.2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python 2.7 random module ported to Python 3"
+HOMEPAGE="https://pypi.org/project/random2/"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+
+python_test() {
+ "${EPYTHON}" -m unittest -vv src.tests.test_suite ||
+ die "Tests failed with ${EPYTHON}"
+}