summaryrefslogtreecommitdiff
path: root/dev-python/pyfakefs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-python/pyfakefs
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pyfakefs')
-rw-r--r--dev-python/pyfakefs/Manifest10
-rw-r--r--dev-python/pyfakefs/files/pyfakefs-3.3-sandbox-tests.patch31
-rw-r--r--dev-python/pyfakefs/files/pyfakefs-3.4.1-tests.patch40
-rw-r--r--dev-python/pyfakefs/files/pyfakefs-3.4.3-tests.patch40
-rw-r--r--dev-python/pyfakefs/metadata.xml12
-rw-r--r--dev-python/pyfakefs/pyfakefs-3.3.ebuild26
-rw-r--r--dev-python/pyfakefs/pyfakefs-3.4.1.ebuild26
-rw-r--r--dev-python/pyfakefs/pyfakefs-3.4.3.ebuild26
8 files changed, 0 insertions, 211 deletions
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
deleted file mode 100644
index 0f21b63ad619..000000000000
--- a/dev-python/pyfakefs/Manifest
+++ /dev/null
@@ -1,10 +0,0 @@
-AUX pyfakefs-3.3-sandbox-tests.patch 1277 BLAKE2B 2ba11e2b2f5160dda4876b62723b965a6a38c8a96b8f56eaaa964a7ec038f61f3410a3a4c968bc06fa5f2e5468cad20a7d210d4288d328a9f4ae937e3cb50c5c SHA512 1ff58be274dc1380763149169b903ac10847a1b258191d3f0a3b90d0d45b169f9cd858396704d1410658cc32d9fd17cdbeafdcd34dce169d512dd7edbe9b83c3
-AUX pyfakefs-3.4.1-tests.patch 1734 BLAKE2B 3461bbbae5ebbcd4e349434d8fe429ef16b9ef21ab5f915d499f9bbc695cc5c71b17278c8843fab03a99a5cc7af1e28a02600dfe462e66e513fe9c8e25268de1 SHA512 752fe84adcb017efa523a746b82a70af41873017f3d5e6496900dfbaee09ede04a4b95a8928032d5e8305766953b69214a0b6660ee61baa18be58b93f0111c0c
-AUX pyfakefs-3.4.3-tests.patch 1725 BLAKE2B d2db35dd471ea803a9ddc65ad458cb3b17e74a406391e2658ea61ae14e566f3a5ad107119ad72934790a930c4d19b775fc9149b2638b6d2fa0872e8462457ce8 SHA512 7a62c91f9eef2a505287a075f45838b722979f11c85a30cea9e695037bf396d977daab95817603c65e695b83532e3a73eacbcf7bf3928f12cae1fa1269935744
-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
-EBUILD pyfakefs-3.3.ebuild 720 BLAKE2B a0c8f2aeb266a89cc6d16b63d6b71df91a718c649b3a1a3c7c9c139f8d54cfe9b980b593ec572754f36e8827a81bf7b243ad58b70d994ecd348e03d8678193a7 SHA512 ec406f3c89e67e3d9bc626e06cf78cd9b88f0d10df1a4e85a500ac026d3eb401f50782d44c6193cd859cfe7851cc61d337ae4b53d51c363574700cf611058b13
-EBUILD pyfakefs-3.4.1.ebuild 723 BLAKE2B afe4b02b8119759b73619ed4d7af26b0aa077d3f9c0d719dfd329638eec119bec522a2d370a34689c07b4fe3ab840659a38c70f9c78b84cb96438bd972035f92 SHA512 f3c652059b4ed40259bf1569c9772a03848786d7b93e2ae3601a68053ceae13efe4dd2c6bae72cc8c27fc4862d33f5f325ce23f24a82567e1321dd9ef1d45209
-EBUILD pyfakefs-3.4.3.ebuild 729 BLAKE2B 62fb61243937870a847f67b06c6a6996a7ad8b03c43c9558221a92ff898c44c6902b66e6733ab0177f6a7300db05b1108bd854cb6bc4ef46fbd44bbcde91a83e SHA512 7325e86814dd801dff1fa69d91e4e6b6e6ec1a4e93f73ab928ce94a28e4e131ba1422546687b635fc57cbec9b6b0ebce9b9fc1018a5d7061a3ab9abfeee0b3b9
-MISC metadata.xml 370 BLAKE2B 9111da9b75b84d43a287c2d902b6b83b77b3c0e0a0f650fb73a904022304028678abb75f5620e93d15b0cac474b731c2c39ae2589a77e6dc96e1797253062e0f SHA512 674874289f039549b14d81863c992ab20053777049a25f3f9ba1f596cf345a7e463db7516738d35e78a5079f660fb63ec24e9029963ef0702d6c268eca384d8f
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 58f24fc89bb0..000000000000
--- 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 d893a3adcb7a..000000000000
--- 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/files/pyfakefs-3.4.3-tests.patch b/dev-python/pyfakefs/files/pyfakefs-3.4.3-tests.patch
deleted file mode 100644
index c87005b054c9..000000000000
--- 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/metadata.xml b/dev-python/pyfakefs/metadata.xml
deleted file mode 100644
index 0a79b8f3f70d..000000000000
--- a/dev-python/pyfakefs/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?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
deleted file mode 100644
index 90ad50e7d4ec..000000000000
--- a/dev-python/pyfakefs/pyfakefs-3.3.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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.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 db18b9e5f566..000000000000
--- a/dev-python/pyfakefs/pyfakefs-3.4.1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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.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}"
-}
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 4c18bdf736f2..000000000000
--- a/dev-python/pyfakefs/pyfakefs-3.4.3.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# 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.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}"
-}