* [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfakefs/, dev-python/pyfakefs/files/
@ 2018-03-01 19:35 Tim Harder
0 siblings, 0 replies; 5+ messages in thread
From: Tim Harder @ 2018-03-01 19:35 UTC (permalink / raw
To: gentoo-commits
commit: 90cb10da51c2345ab120cc56db60f6e241b6da3b
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 13:36:16 2018 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Thu Mar 1 19:34:46 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90cb10da
dev-python/pyfakefs: initial import
dev-python/pyfakefs/Manifest | 1 +
.../files/pyfakefs-3.3-sandbox-tests.patch | 31 ++++++++++++++++++++++
dev-python/pyfakefs/metadata.xml | 12 +++++++++
dev-python/pyfakefs/pyfakefs-3.3.ebuild | 26 ++++++++++++++++++
4 files changed, 70 insertions(+)
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
new file mode 100644
index 00000000000..4119d7c6310
--- /dev/null
+++ b/dev-python/pyfakefs/Manifest
@@ -0,0 +1 @@
+DIST pyfakefs-3.3.tar.gz 141704 BLAKE2B f805146024d9886ce6cb25b23f6f818bb37cac00a51528375b3da3e728515cb5ffd292352888861ff2b434ff71dd730bfbd84874fee0ae1f4d2cfca974f73771 SHA512 0044643964a4f2329d777476940b38d2d63c6de8f854992b4fba7b7e49f1186e7ce9811f83c9870655cbe33b7dda816c1aa1ce685e800e55c06d175c281748b7
diff --git a/dev-python/pyfakefs/files/pyfakefs-3.3-sandbox-tests.patch b/dev-python/pyfakefs/files/pyfakefs-3.3-sandbox-tests.patch
new file mode 100644
index 00000000000..58f24fc89bb
--- /dev/null
+++ b/dev-python/pyfakefs/files/pyfakefs-3.3-sandbox-tests.patch
@@ -0,0 +1,31 @@
+Fix sandbox issues with non-existent file tests.
+
+--- pyfakefs-3.3/fake_filesystem_test.py
++++ pyfakefs-3.3/fake_filesystem_test.py
+@@ -1418,7 +1418,6 @@
+ self.os.chdir(directory)
+ self.assertRaisesOSError(dir_error, self.os.remove, dir_path)
+ self.assertTrue(self.os.path.exists(dir_path))
+- self.assertRaisesOSError(errno.ENOENT, self.os.remove, '/plugh')
+
+ def testRemoveDirLinux(self):
+ self.checkLinuxOnly()
+@@ -2811,8 +2810,8 @@
+ # trying to create a link from a non-existent file should fail
+ self.skipIfSymlinkNotSupported()
+ self.assertRaisesOSError(errno.ENOENT,
+- self.os.link, '/nonexistent_source',
+- '/link_dest')
++ self.os.link, 'nonexistent_source',
++ 'link_dest')
+
+ def testLinkDelete(self):
+ self.skipIfSymlinkNotSupported()
+@@ -3158,7 +3157,6 @@
+ self.os.chdir(directory)
+ self.assertRaisesOSError(dir_error, self.os.remove, dir_path)
+ self.assertTrue(self.os.path.exists(dir_path))
+- self.assertRaisesOSError(errno.ENOENT, self.os.remove, '/Plugh')
+
+ def testRemoveDirMacOs(self):
+ self.checkMacOsOnly()
diff --git a/dev-python/pyfakefs/metadata.xml b/dev-python/pyfakefs/metadata.xml
new file mode 100644
index 00000000000..0a79b8f3f70
--- /dev/null
+++ b/dev-python/pyfakefs/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">pyfakefs</remote-id>
+ <remote-id type="github">jmcgeheeiv/pyfakefs</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyfakefs/pyfakefs-3.3.ebuild b/dev-python/pyfakefs/pyfakefs-3.3.ebuild
new file mode 100644
index 00000000000..35086811c6f
--- /dev/null
+++ b/dev-python/pyfakefs/pyfakefs-3.3.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
+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.python.org/pypi/pyfakefs"
+SRC_URI="https://github.com/jmcgeheeiv/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=""
+
+PATCHES=( "${FILESDIR}"/${P}-sandbox-tests.patch )
+
+python_test() {
+ "${PYTHON}" all_tests.py || die "tests failed under ${EPYTHON}"
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfakefs/, dev-python/pyfakefs/files/
@ 2020-01-29 6:44 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2020-01-29 6:44 UTC (permalink / raw
To: gentoo-commits
commit: 19b5202739246a87f3ecf9e69df22f652df18c34
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 29 06:39:55 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jan 29 06:44:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19b52027
dev-python/pyfakefs: Remove redundant versions
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyfakefs/Manifest | 2 --
.../files/pyfakefs-3.3-sandbox-tests.patch | 31 -----------------
.../pyfakefs/files/pyfakefs-3.4.1-tests.patch | 40 ----------------------
dev-python/pyfakefs/pyfakefs-3.3.ebuild | 26 --------------
dev-python/pyfakefs/pyfakefs-3.4.1.ebuild | 26 --------------
5 files changed, 125 deletions(-)
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index 2cfa22b3f97..ab3bbf8fcf9 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -1,5 +1,3 @@
-DIST pyfakefs-3.3.tar.gz 141704 BLAKE2B f805146024d9886ce6cb25b23f6f818bb37cac00a51528375b3da3e728515cb5ffd292352888861ff2b434ff71dd730bfbd84874fee0ae1f4d2cfca974f73771 SHA512 0044643964a4f2329d777476940b38d2d63c6de8f854992b4fba7b7e49f1186e7ce9811f83c9870655cbe33b7dda816c1aa1ce685e800e55c06d175c281748b7
-DIST pyfakefs-3.4.1.tar.gz 151662 BLAKE2B cbfdd7ab4c2936d484b5ff1e22852438c5c653e8875b7d363324e0a1aed0bfc5c492c2cd5c64a47052fcb4d043f567819f32067527b870ab42da8cfd92d40be3 SHA512 1be0254455f6046f1d28bf4377d17e0fb943b4b0db09e933c114f587f3d917877b23ee1610cf83a6330b406bb9ae66fe79dea31a6bf75c0b9c2b79a88d07e753
DIST pyfakefs-3.4.3.tar.gz 156896 BLAKE2B 2450cb67dbb25d2029a113dd95c3d51e60ef66c6683a5898ea73800ce1269d628af9f8daa85195d5b473f18b7c3262f2f26fc9c17caf80ce2f5159c247ebea5b SHA512 aafcad5d801f625273239221c56e46229ff8ab622cfb474d92f8555cfff90279ad9a092c20878279454c59033ad23d53cfe877023ac5d20c5a67a610b62ba7f1
DIST pyfakefs-3.5.8.tar.gz 171519 BLAKE2B 18eb784cf62108c3363b3b5fa137ec4ce830583d263dcecc6f007e6cdeb8a8eefcc4f9eecfba4a9b5b485508749f6dc75a47ff67bc8f5e77f2c0abae2cdd1778 SHA512 e72042dc80545d4a8602bf90bc832298184040389c8fd182df1ef33712061b4937623ca98d70e59b4a388677626f861ff096de939b5caa372849ee10fc3dd8bb
DIST pyfakefs-3.7.1.tar.gz 179420 BLAKE2B 46f902527c2c69af1d7d5e296a25d5415b4fba68d4ed76d7bc138e4b2d53dbd4bf7dc6fd75a8e5277eccb9740c67d5fdf5b640fbc577f22690ee32db434c3676 SHA512 910cef89443546c9a5f600cbe06cbdc396ac82d15d852768c06c2f97e764b05ee9fe9bea7687404a9a962924bd33c45d9de2a04b448fe6350d8cc31c4e163dfc
diff --git a/dev-python/pyfakefs/files/pyfakefs-3.3-sandbox-tests.patch b/dev-python/pyfakefs/files/pyfakefs-3.3-sandbox-tests.patch
deleted file mode 100644
index 58f24fc89bb..00000000000
--- a/dev-python/pyfakefs/files/pyfakefs-3.3-sandbox-tests.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Fix sandbox issues with non-existent file tests.
-
---- pyfakefs-3.3/fake_filesystem_test.py
-+++ pyfakefs-3.3/fake_filesystem_test.py
-@@ -1418,7 +1418,6 @@
- self.os.chdir(directory)
- self.assertRaisesOSError(dir_error, self.os.remove, dir_path)
- self.assertTrue(self.os.path.exists(dir_path))
-- self.assertRaisesOSError(errno.ENOENT, self.os.remove, '/plugh')
-
- def testRemoveDirLinux(self):
- self.checkLinuxOnly()
-@@ -2811,8 +2810,8 @@
- # trying to create a link from a non-existent file should fail
- self.skipIfSymlinkNotSupported()
- self.assertRaisesOSError(errno.ENOENT,
-- self.os.link, '/nonexistent_source',
-- '/link_dest')
-+ self.os.link, 'nonexistent_source',
-+ 'link_dest')
-
- def testLinkDelete(self):
- self.skipIfSymlinkNotSupported()
-@@ -3158,7 +3157,6 @@
- self.os.chdir(directory)
- self.assertRaisesOSError(dir_error, self.os.remove, dir_path)
- self.assertTrue(self.os.path.exists(dir_path))
-- self.assertRaisesOSError(errno.ENOENT, self.os.remove, '/Plugh')
-
- def testRemoveDirMacOs(self):
- self.checkMacOsOnly()
diff --git a/dev-python/pyfakefs/files/pyfakefs-3.4.1-tests.patch b/dev-python/pyfakefs/files/pyfakefs-3.4.1-tests.patch
deleted file mode 100644
index d893a3adcb7..00000000000
--- a/dev-python/pyfakefs/files/pyfakefs-3.4.1-tests.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Drop checks that fail due to sandboxing and skip failing tell check.
-
---- pyfakefs-3.4.1/tests/fake_os_test.py
-+++ pyfakefs-3.4.1/tests/fake_os_test.py
-@@ -449,7 +449,6 @@
- self.os.chdir(directory)
- self.assert_raises_os_error(dir_error, self.os.remove, dir_path)
- self.assertTrue(self.os.path.exists(dir_path))
-- self.assert_raises_os_error(errno.ENOENT, self.os.remove, '/plugh')
-
- def test_remove_dir_linux(self):
- self.check_linux_only()
-@@ -963,6 +962,8 @@
- self.assertEqual(b'\0\0abcde', f.read())
-
- def test_append_mode_tell_linux_windows(self):
-+ # skipping real fs test - python2 on the actual filesystem is also 7
-+ self.skip_real_fs()
- self.check_linux_and_windows()
- tell_result = 5 if self.is_python2 else 7
- self.check_append_mode_tell_after_truncate(tell_result)
-@@ -1885,8 +1886,8 @@
- # trying to create a link from a non-existent file should fail
- self.skip_if_symlink_not_supported()
- self.assert_raises_os_error(errno.ENOENT,
-- self.os.link, '/nonexistent_source',
-- '/link_dest')
-+ self.os.link, 'nonexistent_source',
-+ 'link_dest')
-
- def test_link_delete(self):
- self.skip_if_symlink_not_supported()
-@@ -2233,7 +2234,6 @@
- self.os.chdir(directory)
- self.assert_raises_os_error(dir_error, self.os.remove, dir_path)
- self.assertTrue(self.os.path.exists(dir_path))
-- self.assert_raises_os_error(errno.ENOENT, self.os.remove, '/Plugh')
-
- def test_remove_dir_mac_os(self):
- self.check_macos_only()
diff --git a/dev-python/pyfakefs/pyfakefs-3.3.ebuild b/dev-python/pyfakefs/pyfakefs-3.3.ebuild
deleted file mode 100644
index 0305b684491..00000000000
--- a/dev-python/pyfakefs/pyfakefs-3.3.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_6} 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="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=""
-
-PATCHES=( "${FILESDIR}"/${P}-sandbox-tests.patch )
-
-python_test() {
- "${PYTHON}" all_tests.py || die "tests failed under ${EPYTHON}"
-}
diff --git a/dev-python/pyfakefs/pyfakefs-3.4.1.ebuild b/dev-python/pyfakefs/pyfakefs-3.4.1.ebuild
deleted file mode 100644
index c4d151cc93a..00000000000
--- a/dev-python/pyfakefs/pyfakefs-3.4.1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_6} 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="~amd64 ~arm ~x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=""
-
-PATCHES=( "${FILESDIR}"/${P}-tests.patch )
-
-python_test() {
- "${PYTHON}" tests/all_tests.py || die "tests failed under ${EPYTHON}"
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfakefs/, dev-python/pyfakefs/files/
@ 2020-03-05 5:50 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2020-03-05 5:50 UTC (permalink / raw
To: gentoo-commits
commit: 5c442fd56dfaa339e80577ab10e6f17a3a123a64
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 5 05:48:08 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 5 05:50:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c442fd5
dev-python/pyfakefs: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyfakefs/Manifest | 2 --
.../pyfakefs/files/pyfakefs-3.4.3-tests.patch | 40 ----------------------
dev-python/pyfakefs/pyfakefs-3.4.3.ebuild | 26 --------------
dev-python/pyfakefs/pyfakefs-3.5.8.ebuild | 29 ----------------
4 files changed, 97 deletions(-)
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index 8c6c0389eaf..770422b9596 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -1,5 +1,3 @@
-DIST pyfakefs-3.4.3.tar.gz 156896 BLAKE2B 2450cb67dbb25d2029a113dd95c3d51e60ef66c6683a5898ea73800ce1269d628af9f8daa85195d5b473f18b7c3262f2f26fc9c17caf80ce2f5159c247ebea5b SHA512 aafcad5d801f625273239221c56e46229ff8ab622cfb474d92f8555cfff90279ad9a092c20878279454c59033ad23d53cfe877023ac5d20c5a67a610b62ba7f1
-DIST pyfakefs-3.5.8.tar.gz 171519 BLAKE2B 18eb784cf62108c3363b3b5fa137ec4ce830583d263dcecc6f007e6cdeb8a8eefcc4f9eecfba4a9b5b485508749f6dc75a47ff67bc8f5e77f2c0abae2cdd1778 SHA512 e72042dc80545d4a8602bf90bc832298184040389c8fd182df1ef33712061b4937623ca98d70e59b4a388677626f861ff096de939b5caa372849ee10fc3dd8bb
DIST pyfakefs-3.7.1.tar.gz 179420 BLAKE2B 46f902527c2c69af1d7d5e296a25d5415b4fba68d4ed76d7bc138e4b2d53dbd4bf7dc6fd75a8e5277eccb9740c67d5fdf5b640fbc577f22690ee32db434c3676 SHA512 910cef89443546c9a5f600cbe06cbdc396ac82d15d852768c06c2f97e764b05ee9fe9bea7687404a9a962924bd33c45d9de2a04b448fe6350d8cc31c4e163dfc
DIST pyfakefs-3.7.2.tar.gz 180195 BLAKE2B f1e76b652fc67f630fb45798974dc22455e9e99509829fbcaa479f36887c90207d7b6f087e89c9e113bb44df8c4221dc4676129663740812a9426d84a1d47401 SHA512 33bdbf7e21f1135c0ee048943a4b7dffec96e018285e4ee2e6a1c6a7f9e595e27348c83af3803d80322e7fd12a59985a6bf6342aa6211ba95c74ffa20929fb5a
DIST pyfakefs-4.0.1.tar.gz 177542 BLAKE2B 05fe75da0f7525a51f01740c9c83e5cd1f9c565947439ea4c55a7c859b9952539b77a3c3754498d594aa83c77fbcf058131a0cacdba5218d6073de7775e58bf9 SHA512 cf87b8fd8e0c8948f2923e001a61790148b22898538ce190dbb6e13ba4ec5850e95a576d08c7aee94fd342becebf1e50c91bdecf6679a54300ae045b25509a73
diff --git a/dev-python/pyfakefs/files/pyfakefs-3.4.3-tests.patch b/dev-python/pyfakefs/files/pyfakefs-3.4.3-tests.patch
deleted file mode 100644
index c87005b054c..00000000000
--- a/dev-python/pyfakefs/files/pyfakefs-3.4.3-tests.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Drop checks that fail due to sandboxing and skip failing tell check.
-
---- pyfakefs-3.4.3/pyfakefs/tests/fake_os_test.py
-+++ pyfakefs-3.4.3/pyfakefs/tests/fake_os_test.py
-@@ -688,7 +688,6 @@
- self.os.chdir(directory)
- self.assert_raises_os_error(dir_error, self.os.remove, dir_path)
- self.assertTrue(self.os.path.exists(dir_path))
-- self.assert_raises_os_error(errno.ENOENT, self.os.remove, '/plugh')
-
- def test_remove_dir_linux(self):
- self.check_linux_only()
-@@ -1202,6 +1201,8 @@
- self.assertEqual(b'\0\0abcde', f.read())
-
- def test_append_mode_tell_linux_windows(self):
-+ # skipping real fs test - python2 on the actual filesystem is also 7
-+ self.skip_real_fs()
- # Regression test for #300
- self.check_linux_and_windows()
- tell_result = 5 if self.is_python2 else 7
-@@ -2443,8 +2444,8 @@
- # trying to create a link from a non-existent file should fail
- self.skip_if_symlink_not_supported()
- self.assert_raises_os_error(errno.ENOENT,
-- self.os.link, '/nonexistent_source',
-- '/link_dest')
-+ self.os.link, 'nonexistent_source',
-+ 'link_dest')
-
- def test_link_delete(self):
- self.skip_if_symlink_not_supported()
-@@ -2791,7 +2792,6 @@
- self.os.chdir(directory)
- self.assert_raises_os_error(dir_error, self.os.remove, dir_path)
- self.assertTrue(self.os.path.exists(dir_path))
-- self.assert_raises_os_error(errno.ENOENT, self.os.remove, '/Plugh')
-
- def test_remove_dir_mac_os(self):
- self.check_macos_only()
diff --git a/dev-python/pyfakefs/pyfakefs-3.4.3.ebuild b/dev-python/pyfakefs/pyfakefs-3.4.3.ebuild
deleted file mode 100644
index b007cb54b5c..00000000000
--- a/dev-python/pyfakefs/pyfakefs-3.4.3.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_6} 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="amd64 ~arm x86"
-IUSE=""
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND=""
-
-PATCHES=( "${FILESDIR}"/${P}-tests.patch )
-
-python_test() {
- "${PYTHON}" -m ${PN}.tests.all_tests || die "tests failed under ${EPYTHON}"
-}
diff --git a/dev-python/pyfakefs/pyfakefs-3.5.8.ebuild b/dev-python/pyfakefs/pyfakefs-3.5.8.ebuild
deleted file mode 100644
index 6386a5b02bc..00000000000
--- a/dev-python/pyfakefs/pyfakefs-3.5.8.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python{2_7,3_6,3_7} 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="~amd64 ~arm ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${COMMON_DEPEND}"
-DEPEND="${COMMON_DEPEND}
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
-
-PATCHES=( "${FILESDIR}"/pyfakefs-3.4.3-tests.patch )
-
-python_test() {
- "${PYTHON}" -m ${PN}.tests.all_tests || die "tests failed under ${EPYTHON}"
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfakefs/, dev-python/pyfakefs/files/
@ 2020-07-12 20:19 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2020-07-12 20:19 UTC (permalink / raw
To: gentoo-commits
commit: eceef75b4e3f0906eb641426efe6e922da77274c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 12 19:15:22 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 12 20:19:41 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eceef75b
dev-python/pyfakefs: Bump to 4.1.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyfakefs/Manifest | 1 +
.../pyfakefs/files/pyfakefs-4.1.0-openpyxl.patch | 38 ++++++++++++++++++++++
dev-python/pyfakefs/pyfakefs-4.1.0.ebuild | 28 ++++++++++++++++
3 files changed, 67 insertions(+)
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
index 5df88a33cff..57ba60cb194 100644
--- a/dev-python/pyfakefs/Manifest
+++ b/dev-python/pyfakefs/Manifest
@@ -1,2 +1,3 @@
DIST pyfakefs-3.7.2.tar.gz 180195 BLAKE2B f1e76b652fc67f630fb45798974dc22455e9e99509829fbcaa479f36887c90207d7b6f087e89c9e113bb44df8c4221dc4676129663740812a9426d84a1d47401 SHA512 33bdbf7e21f1135c0ee048943a4b7dffec96e018285e4ee2e6a1c6a7f9e595e27348c83af3803d80322e7fd12a59985a6bf6342aa6211ba95c74ffa20929fb5a
DIST pyfakefs-4.0.2.tar.gz 177627 BLAKE2B a52bd900466203af6170bb9ce92f1e5f73f246d576f12390f5b52224de34fa69a3a4c426319b701953f040e343bcf267e20ea2a33df62c4a46f6397f760330aa SHA512 ba14cbc278ece50142d441b7731b01ba316ba9f11e5d442476e12b8b678490aace9578eb3b2fa2e47d6805795ceaf85574d3c5fb992a098585597c7e96d7143a
+DIST pyfakefs-4.1.0.tar.gz 185920 BLAKE2B ee61e5ecda697150374bef035054038aed29e23958c58a3b135aae8dae7b397a194586ef6fd3ae70db1d136572a23a876d7f2dacb7e5814c1bedc9bb4502c3fe SHA512 946e21e34643db2b84e53d14bd9758c8edaa9e5e40b827fd74b245f018e8084995f55256900bf795c23a5aae29f124d9fcb80caf08442f6292adb80ee59d79b4
diff --git a/dev-python/pyfakefs/files/pyfakefs-4.1.0-openpyxl.patch b/dev-python/pyfakefs/files/pyfakefs-4.1.0-openpyxl.patch
new file mode 100644
index 00000000000..44b76b0132b
--- /dev/null
+++ b/dev-python/pyfakefs/files/pyfakefs-4.1.0-openpyxl.patch
@@ -0,0 +1,38 @@
+From 1d6fabcaccf8dc716f7a49a67f5342d83ef37976 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@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
new file mode 100644
index 00000000000..f1b37e17b4b
--- /dev/null
+++ b/dev-python/pyfakefs/pyfakefs-4.1.0.ebuild
@@ -0,0 +1,28 @@
+# 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_USE_SETUPTOOLS=rdepend
+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 ~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}"
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfakefs/, dev-python/pyfakefs/files/
@ 2020-12-06 20:50 Michał Górny
0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2020-12-06 20:50 UTC (permalink / raw
To: gentoo-commits
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?= <mgorny@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}"
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-12-06 20:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-29 6:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfakefs/, dev-python/pyfakefs/files/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2020-12-06 20:50 Michał Górny
2020-07-12 20:19 Michał Górny
2020-03-05 5:50 Michał Górny
2018-03-01 19:35 Tim Harder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox