diff options
Diffstat (limited to 'dev-python/bz2file')
-rw-r--r-- | dev-python/bz2file/Manifest | 1 | ||||
-rw-r--r-- | dev-python/bz2file/bz2file-0.98.ebuild | 23 | ||||
-rw-r--r-- | dev-python/bz2file/files/bz2file-0.98-always-threading.patch | 22 | ||||
-rw-r--r-- | dev-python/bz2file/metadata.xml | 11 |
4 files changed, 0 insertions, 57 deletions
diff --git a/dev-python/bz2file/Manifest b/dev-python/bz2file/Manifest deleted file mode 100644 index f8c6f14de..000000000 --- a/dev-python/bz2file/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST bz2file-0.98.tar.gz 11333 BLAKE2B 4ec4687f609521a637c20a512b544cd99d7c334f7cffaeff71d2a893eefe131a10bd548b9f1e829c899cdcf181f5e877e092cf08d709bb3f1ba9901d3386b3e6 SHA512 2d28e71fe71b5fea4008d65a1fa91d5c6fafcacc09f891c5deaaa985661576bd97f2e33fe9f8c5943841f09c153f2079a2511329c066e57c775fb0b089b30b20 diff --git a/dev-python/bz2file/bz2file-0.98.ebuild b/dev-python/bz2file/bz2file-0.98.ebuild deleted file mode 100644 index 0324854a1..000000000 --- a/dev-python/bz2file/bz2file-0.98.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit distutils-r1 - -DESCRIPTION="Read and write bzip2-compressed files" -HOMEPAGE="https://github.com/nvawda/bz2file" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -PATCHES=( "${FILESDIR}"/${P}-always-threading.patch ) - -python_test() { - distutils_install_for_testing - ${EPYTHON} test_bz2file.py || die "tests failed for ${EPYTHON}" -} diff --git a/dev-python/bz2file/files/bz2file-0.98-always-threading.patch b/dev-python/bz2file/files/bz2file-0.98-always-threading.patch deleted file mode 100644 index ec11bce25..000000000 --- a/dev-python/bz2file/files/bz2file-0.98-always-threading.patch +++ /dev/null @@ -1,22 +0,0 @@ -threading is always available in newer pythons - -https://github.com/nvawda/bz2file/issues/7 - ---- a/test_bz2file.py -+++ b/test_bz2file.py -@@ -496,15 +496,6 @@ class BZ2FileTest(BaseTest): - for t in threads: - t.join() - -- def testWithoutThreading(self): -- if not hasattr(support, "import_fresh_module"): -- return -- module = support.import_fresh_module("bz2file", blocked=("threading",)) -- with module.BZ2File(self.filename, "wb") as f: -- f.write(b"abc") -- with module.BZ2File(self.filename, "rb") as f: -- self.assertEqual(f.read(), b"abc") -- - def testMixedIterationAndReads(self): - self.createTempFile() - linelen = len(self.TEXT_LINES[0]) diff --git a/dev-python/bz2file/metadata.xml b/dev-python/bz2file/metadata.xml deleted file mode 100644 index bb126c586..000000000 --- a/dev-python/bz2file/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="pypi">bz2file</remote-id> - </upstream> -</pkgmetadata> |