commit:     6ab7985256b1235b78341b130d0a1a809367cba9
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  6 20:49:00 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec  6 20:50:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ab79852

dev-python/pyfakefs: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyfakefs/Manifest                       |  2 --
 .../pyfakefs/files/pyfakefs-4.1.0-openpyxl.patch   | 38 ----------------------
 dev-python/pyfakefs/pyfakefs-4.1.0.ebuild          | 27 ---------------
 dev-python/pyfakefs/pyfakefs-4.2.0.ebuild          | 23 -------------
 4 files changed, 90 deletions(-)

diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index 5758f3d1b88..e0889292269 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -1,5 +1,3 @@
-DIST pyfakefs-4.1.0.tar.gz 185920 BLAKE2B 
ee61e5ecda697150374bef035054038aed29e23958c58a3b135aae8dae7b397a194586ef6fd3ae70db1d136572a23a876d7f2dacb7e5814c1bedc9bb4502c3fe
 SHA512 
946e21e34643db2b84e53d14bd9758c8edaa9e5e40b827fd74b245f018e8084995f55256900bf795c23a5aae29f124d9fcb80caf08442f6292adb80ee59d79b4
-DIST pyfakefs-4.2.0.tar.gz 192826 BLAKE2B 
b1b337f5845075d8c9f32565dc1169ec2fde7e49a0bcf2f446d09f090c8c46c69690259bfc1d8e76b754477303de049790a69a209c0ed11af465bd5ca2b2ddcd
 SHA512 
d70266bac134eca45af3d2838f9f276217305add719aa1ed3606406b33b2d2f8bda20fbcdd4653e2a5e08baf717dd0f20005aa6f66ea519e52247c88fa8d72b2
 DIST pyfakefs-4.2.1.tar.gz 192910 BLAKE2B 
dd1826b8fbddb9c9f272cd6fe0a286a41dbcf1bba625cfaef22ea1f17089f6acf346c3a84e56e6ad41f501329c06539bcda72cad670481a3ad770d014ad1e93d
 SHA512 
99ee0ece46ed457dcf98c4c59ee905e58bbfe66e4fadcc3d3d9d725c2ce7b4fae25bc3cf847c85045a828beab52f315ec2ee78e6fea4b23cfe9aaddfd49f1829
 DIST pyfakefs-4.3.0.tar.gz 194821 BLAKE2B 
f7deca18ad019dba12ac35bac44be339fc1eef0ef609f33b2fa8974f3bd65a25fba043f0afef0e332f9a71f5014444eb7c6e890acbfcfc9c8acb780dc88140a6
 SHA512 
42c6e9da0f098eeb948fbe3f1f26e8fddfb35d3156543ccc2297cc0fb971a87911a94ca925d2fd12531999fd9314b615f49688a3e9a4aef19522cd08bdabe72a
 DIST pyfakefs-4.3.1.tar.gz 194638 BLAKE2B 
752fb2ec88d7468ca439e7124e26b9f111f3b3971a47062b598a0d66c9fc5d8d317716ad73648de727ad6072546fd7b02f7f3a65da45998a20d5f5f3e5999bf1
 SHA512 
9e1521b7c051ef984329ebe9e2003f72a6f54497dcde46b3fe1b14f282ba436dc17ebd6b8e570714eb1ed8de9f484e6bc94ece0a39985a47f7668f350b5a797f

diff --git a/dev-python/pyfakefs/files/pyfakefs-4.1.0-openpyxl.patch 
b/dev-python/pyfakefs/files/pyfakefs-4.1.0-openpyxl.patch
deleted file mode 100644
index 44b76b0132b..00000000000
--- a/dev-python/pyfakefs/files/pyfakefs-4.1.0-openpyxl.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 1d6fabcaccf8dc716f7a49a67f5342d83ef37976 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgo...@gentoo.org>
-Date: Sun, 12 Jul 2020 21:26:33 +0200
-Subject: [PATCH] Skip test_write_excel if openpyxl is not installed
-
-test_write_excel fails if pandas are installed but openpyxl is not.
-Adjust the condition around the case appropriately.
----
- pyfakefs/tests/patched_packages_test.py | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-diff --git a/pyfakefs/tests/patched_packages_test.py 
b/pyfakefs/tests/patched_packages_test.py
-index 05ed7ef..f8d8a1a 100644
---- a/pyfakefs/tests/patched_packages_test.py
-+++ b/pyfakefs/tests/patched_packages_test.py
-@@ -28,6 +28,11 @@ try:
- except ImportError:
-     xlrd = None
- 
-+try:
-+    import openpyxl
-+except ImportError:
-+    openpyxl = None
-+
- 
- class TestPatchedPackages(fake_filesystem_unittest.TestCase):
-     def setUp(self):
-@@ -57,6 +62,7 @@ class TestPatchedPackages(fake_filesystem_unittest.TestCase):
-             df = pd.read_excel(path)
-             assert (df.columns == [1, 2, 3, 4]).all()
- 
-+    if pd is not None and openpyxl is not None:
-         def test_write_excel(self):
-             self.fs.create_dir('/foo')
-             path = '/foo/bar.xlsx'
--- 
-2.27.0
-

diff --git a/dev-python/pyfakefs/pyfakefs-4.1.0.ebuild 
b/dev-python/pyfakefs/pyfakefs-4.1.0.ebuild
deleted file mode 100644
index 4209e0be8c6..00000000000
--- a/dev-python/pyfakefs/pyfakefs-4.1.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6..9} pypy3 )
-DISTUTILS_IN_SOURCE_BUILD=1
-
-inherit distutils-r1
-
-DESCRIPTION="a fake file system that mocks the Python file system modules"
-HOMEPAGE="https://github.com/jmcgeheeiv/pyfakefs/ 
https://pypi.org/project/pyfakefs/";
-SRC_URI="https://github.com/jmcgeheeiv/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
-
-distutils_enable_tests pytest
-
-PATCHES=(
-       "${FILESDIR}"/${P}-openpyxl.patch
-)
-
-python_test() {
-       "${EPYTHON}" -m pyfakefs.tests.all_tests -v || die "tests failed under 
${EPYTHON}"
-}

diff --git a/dev-python/pyfakefs/pyfakefs-4.2.0.ebuild 
b/dev-python/pyfakefs/pyfakefs-4.2.0.ebuild
deleted file mode 100644
index a437b0e387d..00000000000
--- a/dev-python/pyfakefs/pyfakefs-4.2.0.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_{6..9} pypy3 )
-DISTUTILS_IN_SOURCE_BUILD=1
-
-inherit distutils-r1
-
-DESCRIPTION="a fake file system that mocks the Python file system modules"
-HOMEPAGE="https://github.com/jmcgeheeiv/pyfakefs/ 
https://pypi.org/project/pyfakefs/";
-SRC_URI="https://github.com/jmcgeheeiv/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
-
-distutils_enable_tests pytest
-
-python_test() {
-       "${EPYTHON}" -m pyfakefs.tests.all_tests -v || die "tests failed under 
${EPYTHON}"
-}

Reply via email to