Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyfakefs/, dev-python/pyfakefs/files/
Date: Wed, 29 Jan 2020 06:44:59
Message-Id: 1580280283.19b5202739246a87f3ecf9e69df22f652df18c34.mgorny@gentoo
1 commit: 19b5202739246a87f3ecf9e69df22f652df18c34
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 29 06:39:55 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 29 06:44:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19b52027
7
8 dev-python/pyfakefs: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyfakefs/Manifest | 2 --
13 .../files/pyfakefs-3.3-sandbox-tests.patch | 31 -----------------
14 .../pyfakefs/files/pyfakefs-3.4.1-tests.patch | 40 ----------------------
15 dev-python/pyfakefs/pyfakefs-3.3.ebuild | 26 --------------
16 dev-python/pyfakefs/pyfakefs-3.4.1.ebuild | 26 --------------
17 5 files changed, 125 deletions(-)
18
19 diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest
20 index 2cfa22b3f97..ab3bbf8fcf9 100644
21 --- a/dev-python/pyfakefs/Manifest
22 +++ b/dev-python/pyfakefs/Manifest
23 @@ -1,5 +1,3 @@
24 -DIST pyfakefs-3.3.tar.gz 141704 BLAKE2B f805146024d9886ce6cb25b23f6f818bb37cac00a51528375b3da3e728515cb5ffd292352888861ff2b434ff71dd730bfbd84874fee0ae1f4d2cfca974f73771 SHA512 0044643964a4f2329d777476940b38d2d63c6de8f854992b4fba7b7e49f1186e7ce9811f83c9870655cbe33b7dda816c1aa1ce685e800e55c06d175c281748b7
25 -DIST pyfakefs-3.4.1.tar.gz 151662 BLAKE2B cbfdd7ab4c2936d484b5ff1e22852438c5c653e8875b7d363324e0a1aed0bfc5c492c2cd5c64a47052fcb4d043f567819f32067527b870ab42da8cfd92d40be3 SHA512 1be0254455f6046f1d28bf4377d17e0fb943b4b0db09e933c114f587f3d917877b23ee1610cf83a6330b406bb9ae66fe79dea31a6bf75c0b9c2b79a88d07e753
26 DIST pyfakefs-3.4.3.tar.gz 156896 BLAKE2B 2450cb67dbb25d2029a113dd95c3d51e60ef66c6683a5898ea73800ce1269d628af9f8daa85195d5b473f18b7c3262f2f26fc9c17caf80ce2f5159c247ebea5b SHA512 aafcad5d801f625273239221c56e46229ff8ab622cfb474d92f8555cfff90279ad9a092c20878279454c59033ad23d53cfe877023ac5d20c5a67a610b62ba7f1
27 DIST pyfakefs-3.5.8.tar.gz 171519 BLAKE2B 18eb784cf62108c3363b3b5fa137ec4ce830583d263dcecc6f007e6cdeb8a8eefcc4f9eecfba4a9b5b485508749f6dc75a47ff67bc8f5e77f2c0abae2cdd1778 SHA512 e72042dc80545d4a8602bf90bc832298184040389c8fd182df1ef33712061b4937623ca98d70e59b4a388677626f861ff096de939b5caa372849ee10fc3dd8bb
28 DIST pyfakefs-3.7.1.tar.gz 179420 BLAKE2B 46f902527c2c69af1d7d5e296a25d5415b4fba68d4ed76d7bc138e4b2d53dbd4bf7dc6fd75a8e5277eccb9740c67d5fdf5b640fbc577f22690ee32db434c3676 SHA512 910cef89443546c9a5f600cbe06cbdc396ac82d15d852768c06c2f97e764b05ee9fe9bea7687404a9a962924bd33c45d9de2a04b448fe6350d8cc31c4e163dfc
29
30 diff --git a/dev-python/pyfakefs/files/pyfakefs-3.3-sandbox-tests.patch b/dev-python/pyfakefs/files/pyfakefs-3.3-sandbox-tests.patch
31 deleted file mode 100644
32 index 58f24fc89bb..00000000000
33 --- a/dev-python/pyfakefs/files/pyfakefs-3.3-sandbox-tests.patch
34 +++ /dev/null
35 @@ -1,31 +0,0 @@
36 -Fix sandbox issues with non-existent file tests.
37 -
38 ---- pyfakefs-3.3/fake_filesystem_test.py
39 -+++ pyfakefs-3.3/fake_filesystem_test.py
40 -@@ -1418,7 +1418,6 @@
41 - self.os.chdir(directory)
42 - self.assertRaisesOSError(dir_error, self.os.remove, dir_path)
43 - self.assertTrue(self.os.path.exists(dir_path))
44 -- self.assertRaisesOSError(errno.ENOENT, self.os.remove, '/plugh')
45 -
46 - def testRemoveDirLinux(self):
47 - self.checkLinuxOnly()
48 -@@ -2811,8 +2810,8 @@
49 - # trying to create a link from a non-existent file should fail
50 - self.skipIfSymlinkNotSupported()
51 - self.assertRaisesOSError(errno.ENOENT,
52 -- self.os.link, '/nonexistent_source',
53 -- '/link_dest')
54 -+ self.os.link, 'nonexistent_source',
55 -+ 'link_dest')
56 -
57 - def testLinkDelete(self):
58 - self.skipIfSymlinkNotSupported()
59 -@@ -3158,7 +3157,6 @@
60 - self.os.chdir(directory)
61 - self.assertRaisesOSError(dir_error, self.os.remove, dir_path)
62 - self.assertTrue(self.os.path.exists(dir_path))
63 -- self.assertRaisesOSError(errno.ENOENT, self.os.remove, '/Plugh')
64 -
65 - def testRemoveDirMacOs(self):
66 - self.checkMacOsOnly()
67
68 diff --git a/dev-python/pyfakefs/files/pyfakefs-3.4.1-tests.patch b/dev-python/pyfakefs/files/pyfakefs-3.4.1-tests.patch
69 deleted file mode 100644
70 index d893a3adcb7..00000000000
71 --- a/dev-python/pyfakefs/files/pyfakefs-3.4.1-tests.patch
72 +++ /dev/null
73 @@ -1,40 +0,0 @@
74 -Drop checks that fail due to sandboxing and skip failing tell check.
75 -
76 ---- pyfakefs-3.4.1/tests/fake_os_test.py
77 -+++ pyfakefs-3.4.1/tests/fake_os_test.py
78 -@@ -449,7 +449,6 @@
79 - self.os.chdir(directory)
80 - self.assert_raises_os_error(dir_error, self.os.remove, dir_path)
81 - self.assertTrue(self.os.path.exists(dir_path))
82 -- self.assert_raises_os_error(errno.ENOENT, self.os.remove, '/plugh')
83 -
84 - def test_remove_dir_linux(self):
85 - self.check_linux_only()
86 -@@ -963,6 +962,8 @@
87 - self.assertEqual(b'\0\0abcde', f.read())
88 -
89 - def test_append_mode_tell_linux_windows(self):
90 -+ # skipping real fs test - python2 on the actual filesystem is also 7
91 -+ self.skip_real_fs()
92 - self.check_linux_and_windows()
93 - tell_result = 5 if self.is_python2 else 7
94 - self.check_append_mode_tell_after_truncate(tell_result)
95 -@@ -1885,8 +1886,8 @@
96 - # trying to create a link from a non-existent file should fail
97 - self.skip_if_symlink_not_supported()
98 - self.assert_raises_os_error(errno.ENOENT,
99 -- self.os.link, '/nonexistent_source',
100 -- '/link_dest')
101 -+ self.os.link, 'nonexistent_source',
102 -+ 'link_dest')
103 -
104 - def test_link_delete(self):
105 - self.skip_if_symlink_not_supported()
106 -@@ -2233,7 +2234,6 @@
107 - self.os.chdir(directory)
108 - self.assert_raises_os_error(dir_error, self.os.remove, dir_path)
109 - self.assertTrue(self.os.path.exists(dir_path))
110 -- self.assert_raises_os_error(errno.ENOENT, self.os.remove, '/Plugh')
111 -
112 - def test_remove_dir_mac_os(self):
113 - self.check_macos_only()
114
115 diff --git a/dev-python/pyfakefs/pyfakefs-3.3.ebuild b/dev-python/pyfakefs/pyfakefs-3.3.ebuild
116 deleted file mode 100644
117 index 0305b684491..00000000000
118 --- a/dev-python/pyfakefs/pyfakefs-3.3.ebuild
119 +++ /dev/null
120 @@ -1,26 +0,0 @@
121 -# Copyright 1999-2020 Gentoo Authors
122 -# Distributed under the terms of the GNU General Public License v2
123 -
124 -EAPI=6
125 -PYTHON_COMPAT=( python{2_7,3_6} pypy3 )
126 -DISTUTILS_IN_SOURCE_BUILD=1
127 -
128 -inherit distutils-r1
129 -
130 -DESCRIPTION="a fake file system that mocks the Python file system modules"
131 -HOMEPAGE="https://github.com/jmcgeheeiv/pyfakefs/ https://pypi.org/project/pyfakefs/"
132 -SRC_URI="https://github.com/jmcgeheeiv/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
133 -
134 -LICENSE="Apache-2.0"
135 -SLOT="0"
136 -KEYWORDS="~amd64 ~x86"
137 -IUSE=""
138 -
139 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
140 -RDEPEND=""
141 -
142 -PATCHES=( "${FILESDIR}"/${P}-sandbox-tests.patch )
143 -
144 -python_test() {
145 - "${PYTHON}" all_tests.py || die "tests failed under ${EPYTHON}"
146 -}
147
148 diff --git a/dev-python/pyfakefs/pyfakefs-3.4.1.ebuild b/dev-python/pyfakefs/pyfakefs-3.4.1.ebuild
149 deleted file mode 100644
150 index c4d151cc93a..00000000000
151 --- a/dev-python/pyfakefs/pyfakefs-3.4.1.ebuild
152 +++ /dev/null
153 @@ -1,26 +0,0 @@
154 -# Copyright 1999-2020 Gentoo Authors
155 -# Distributed under the terms of the GNU General Public License v2
156 -
157 -EAPI=6
158 -PYTHON_COMPAT=( python{2_7,3_6} pypy3 )
159 -DISTUTILS_IN_SOURCE_BUILD=1
160 -
161 -inherit distutils-r1
162 -
163 -DESCRIPTION="a fake file system that mocks the Python file system modules"
164 -HOMEPAGE="https://github.com/jmcgeheeiv/pyfakefs/ https://pypi.org/project/pyfakefs/"
165 -SRC_URI="https://github.com/jmcgeheeiv/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
166 -
167 -LICENSE="Apache-2.0"
168 -SLOT="0"
169 -KEYWORDS="~amd64 ~arm ~x86"
170 -IUSE=""
171 -
172 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
173 -RDEPEND=""
174 -
175 -PATCHES=( "${FILESDIR}"/${P}-tests.patch )
176 -
177 -python_test() {
178 - "${PYTHON}" tests/all_tests.py || die "tests failed under ${EPYTHON}"
179 -}