diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-01-06 11:54:28 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-06 11:54:28 +0100 |
commit | 3ba28b2c61a1d025ade647fa56bbb682d67dda98 (patch) | |
tree | f1ca7b34f233802805250f44f71d72bfc1562a1a /dev-python/random2 | |
parent | dev-python/zeroconf: Remove old (diff) | |
download | gentoo-3ba28b2c61a1d025ade647fa56bbb682d67dda98.tar.gz gentoo-3ba28b2c61a1d025ade647fa56bbb682d67dda98.tar.bz2 gentoo-3ba28b2c61a1d025ade647fa56bbb682d67dda98.zip |
dev-python/random2: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/random2')
-rw-r--r-- | dev-python/random2/Manifest | 1 | ||||
-rw-r--r-- | dev-python/random2/files/random2-1.0.1-py39-tests.patch | 32 | ||||
-rw-r--r-- | dev-python/random2/random2-1.0.1-r2.ebuild | 27 |
3 files changed, 0 insertions, 60 deletions
diff --git a/dev-python/random2/Manifest b/dev-python/random2/Manifest index 14812d782274..d9e4218a3dc8 100644 --- a/dev-python/random2/Manifest +++ b/dev-python/random2/Manifest @@ -1,2 +1 @@ -DIST random2-1.0.1.zip 21088 BLAKE2B 69747711e355d3dea2b16562a6b9cdaa170732172e9eaac9a5cee4b8058f569e0c4527aec89e408e6472168fdecfc52b87703d23f153ec04f6ed2c049bcd162a SHA512 31de31c27bc6e07e99c24d30e97d9ddc3085fe557bcb0725881d4ab0b4c06e6208f64ba6267098c7b1be4f115ad45b399e841beecc90f71da2fb7d82982e75ff DIST random2-1.0.2.tar.gz 18095 BLAKE2B 17755408300a40c792fd1e6fdef278666408b178016b7b0d0c7b7e7a4927c522bea70961ae0393d3be35fcce8a6924a0421fe7e7fc319ff831d3346712060a07 SHA512 69b91de23ae2f384bf0054bd8e2bf36de0778b006d7c4620dd34b86297f021f80670c550069086f3c123cc47126e41449323de4944a31754c9d830eb08ab7db0 diff --git a/dev-python/random2/files/random2-1.0.1-py39-tests.patch b/dev-python/random2/files/random2-1.0.1-py39-tests.patch deleted file mode 100644 index 48317af2f258..000000000000 --- a/dev-python/random2/files/random2-1.0.1-py39-tests.patch +++ /dev/null @@ -1,32 +0,0 @@ -From a60d5ce10e5df0cebd7e7de0bff6f291bf9403ca Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <asturm@gentoo.org> -Date: Sat, 24 Oct 2020 20:57:00 +0200 -Subject: [PATCH] getrandbits() accepts 0 in python3_9 - ---- - src/tests.py | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/src/tests.py b/src/tests.py -index d918891..6f600ab 100644 ---- a/src/tests.py -+++ b/src/tests.py -@@ -291,7 +291,6 @@ class SystemRandom_TestBasicOps(TestBasicOps): - # Verify argument checking - self.assertRaises(TypeError, self.gen.getrandbits) - self.assertRaises(TypeError, self.gen.getrandbits, 1, 2) -- self.assertRaises(ValueError, self.gen.getrandbits, 0) - self.assertRaises(ValueError, self.gen.getrandbits, -1) - self.assertRaises(TypeError, self.gen.getrandbits, 10.1) - -@@ -448,7 +447,6 @@ class MersenneTwister_TestBasicOps(TestBasicOps): - self.assertRaises(TypeError, self.gen.getrandbits) - self.assertRaises(TypeError, self.gen.getrandbits, 'a') - self.assertRaises(TypeError, self.gen.getrandbits, 1, 2) -- self.assertRaises(ValueError, self.gen.getrandbits, 0) - self.assertRaises(ValueError, self.gen.getrandbits, -1) - - def test_randbelow_logic(self, _log=log, int=int): --- -2.29.1 - diff --git a/dev-python/random2/random2-1.0.1-r2.ebuild b/dev-python/random2/random2-1.0.1-r2.ebuild deleted file mode 100644 index 8f7d6d98c8be..000000000000 --- a/dev-python/random2/random2-1.0.1-r2.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# 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/" -SRC_URI="$(pypi_sdist_url "${PN}" "${PV}" .zip)" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="amd64 arm64 ~loong ~riscv x86" - -BDEPEND=" - app-arch/unzip -" - -distutils_enable_tests setup.py - -PATCHES=( - "${FILESDIR}/${P}-py39-tests.patch" -) |