1 |
commit: 5c442fd56dfaa339e80577ab10e6f17a3a123a64 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 5 05:48:08 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 5 05:50:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c442fd5 |
7 |
|
8 |
dev-python/pyfakefs: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pyfakefs/Manifest | 2 -- |
13 |
.../pyfakefs/files/pyfakefs-3.4.3-tests.patch | 40 ---------------------- |
14 |
dev-python/pyfakefs/pyfakefs-3.4.3.ebuild | 26 -------------- |
15 |
dev-python/pyfakefs/pyfakefs-3.5.8.ebuild | 29 ---------------- |
16 |
4 files changed, 97 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/pyfakefs/Manifest b/dev-python/pyfakefs/Manifest |
19 |
index 8c6c0389eaf..770422b9596 100644 |
20 |
--- a/dev-python/pyfakefs/Manifest |
21 |
+++ b/dev-python/pyfakefs/Manifest |
22 |
@@ -1,5 +1,3 @@ |
23 |
-DIST pyfakefs-3.4.3.tar.gz 156896 BLAKE2B 2450cb67dbb25d2029a113dd95c3d51e60ef66c6683a5898ea73800ce1269d628af9f8daa85195d5b473f18b7c3262f2f26fc9c17caf80ce2f5159c247ebea5b SHA512 aafcad5d801f625273239221c56e46229ff8ab622cfb474d92f8555cfff90279ad9a092c20878279454c59033ad23d53cfe877023ac5d20c5a67a610b62ba7f1 |
24 |
-DIST pyfakefs-3.5.8.tar.gz 171519 BLAKE2B 18eb784cf62108c3363b3b5fa137ec4ce830583d263dcecc6f007e6cdeb8a8eefcc4f9eecfba4a9b5b485508749f6dc75a47ff67bc8f5e77f2c0abae2cdd1778 SHA512 e72042dc80545d4a8602bf90bc832298184040389c8fd182df1ef33712061b4937623ca98d70e59b4a388677626f861ff096de939b5caa372849ee10fc3dd8bb |
25 |
DIST pyfakefs-3.7.1.tar.gz 179420 BLAKE2B 46f902527c2c69af1d7d5e296a25d5415b4fba68d4ed76d7bc138e4b2d53dbd4bf7dc6fd75a8e5277eccb9740c67d5fdf5b640fbc577f22690ee32db434c3676 SHA512 910cef89443546c9a5f600cbe06cbdc396ac82d15d852768c06c2f97e764b05ee9fe9bea7687404a9a962924bd33c45d9de2a04b448fe6350d8cc31c4e163dfc |
26 |
DIST pyfakefs-3.7.2.tar.gz 180195 BLAKE2B f1e76b652fc67f630fb45798974dc22455e9e99509829fbcaa479f36887c90207d7b6f087e89c9e113bb44df8c4221dc4676129663740812a9426d84a1d47401 SHA512 33bdbf7e21f1135c0ee048943a4b7dffec96e018285e4ee2e6a1c6a7f9e595e27348c83af3803d80322e7fd12a59985a6bf6342aa6211ba95c74ffa20929fb5a |
27 |
DIST pyfakefs-4.0.1.tar.gz 177542 BLAKE2B 05fe75da0f7525a51f01740c9c83e5cd1f9c565947439ea4c55a7c859b9952539b77a3c3754498d594aa83c77fbcf058131a0cacdba5218d6073de7775e58bf9 SHA512 cf87b8fd8e0c8948f2923e001a61790148b22898538ce190dbb6e13ba4ec5850e95a576d08c7aee94fd342becebf1e50c91bdecf6679a54300ae045b25509a73 |
28 |
|
29 |
diff --git a/dev-python/pyfakefs/files/pyfakefs-3.4.3-tests.patch b/dev-python/pyfakefs/files/pyfakefs-3.4.3-tests.patch |
30 |
deleted file mode 100644 |
31 |
index c87005b054c..00000000000 |
32 |
--- a/dev-python/pyfakefs/files/pyfakefs-3.4.3-tests.patch |
33 |
+++ /dev/null |
34 |
@@ -1,40 +0,0 @@ |
35 |
-Drop checks that fail due to sandboxing and skip failing tell check. |
36 |
- |
37 |
---- pyfakefs-3.4.3/pyfakefs/tests/fake_os_test.py |
38 |
-+++ pyfakefs-3.4.3/pyfakefs/tests/fake_os_test.py |
39 |
-@@ -688,7 +688,6 @@ |
40 |
- self.os.chdir(directory) |
41 |
- self.assert_raises_os_error(dir_error, self.os.remove, dir_path) |
42 |
- self.assertTrue(self.os.path.exists(dir_path)) |
43 |
-- self.assert_raises_os_error(errno.ENOENT, self.os.remove, '/plugh') |
44 |
- |
45 |
- def test_remove_dir_linux(self): |
46 |
- self.check_linux_only() |
47 |
-@@ -1202,6 +1201,8 @@ |
48 |
- self.assertEqual(b'\0\0abcde', f.read()) |
49 |
- |
50 |
- def test_append_mode_tell_linux_windows(self): |
51 |
-+ # skipping real fs test - python2 on the actual filesystem is also 7 |
52 |
-+ self.skip_real_fs() |
53 |
- # Regression test for #300 |
54 |
- self.check_linux_and_windows() |
55 |
- tell_result = 5 if self.is_python2 else 7 |
56 |
-@@ -2443,8 +2444,8 @@ |
57 |
- # trying to create a link from a non-existent file should fail |
58 |
- self.skip_if_symlink_not_supported() |
59 |
- self.assert_raises_os_error(errno.ENOENT, |
60 |
-- self.os.link, '/nonexistent_source', |
61 |
-- '/link_dest') |
62 |
-+ self.os.link, 'nonexistent_source', |
63 |
-+ 'link_dest') |
64 |
- |
65 |
- def test_link_delete(self): |
66 |
- self.skip_if_symlink_not_supported() |
67 |
-@@ -2791,7 +2792,6 @@ |
68 |
- self.os.chdir(directory) |
69 |
- self.assert_raises_os_error(dir_error, self.os.remove, dir_path) |
70 |
- self.assertTrue(self.os.path.exists(dir_path)) |
71 |
-- self.assert_raises_os_error(errno.ENOENT, self.os.remove, '/Plugh') |
72 |
- |
73 |
- def test_remove_dir_mac_os(self): |
74 |
- self.check_macos_only() |
75 |
|
76 |
diff --git a/dev-python/pyfakefs/pyfakefs-3.4.3.ebuild b/dev-python/pyfakefs/pyfakefs-3.4.3.ebuild |
77 |
deleted file mode 100644 |
78 |
index b007cb54b5c..00000000000 |
79 |
--- a/dev-python/pyfakefs/pyfakefs-3.4.3.ebuild |
80 |
+++ /dev/null |
81 |
@@ -1,26 +0,0 @@ |
82 |
-# Copyright 1999-2020 Gentoo Authors |
83 |
-# Distributed under the terms of the GNU General Public License v2 |
84 |
- |
85 |
-EAPI=6 |
86 |
-PYTHON_COMPAT=( python{2_7,3_6} pypy3 ) |
87 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
88 |
- |
89 |
-inherit distutils-r1 |
90 |
- |
91 |
-DESCRIPTION="a fake file system that mocks the Python file system modules" |
92 |
-HOMEPAGE="https://github.com/jmcgeheeiv/pyfakefs/ https://pypi.org/project/pyfakefs/" |
93 |
-SRC_URI="https://github.com/jmcgeheeiv/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
94 |
- |
95 |
-LICENSE="Apache-2.0" |
96 |
-SLOT="0" |
97 |
-KEYWORDS="amd64 ~arm x86" |
98 |
-IUSE="" |
99 |
- |
100 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
101 |
-RDEPEND="" |
102 |
- |
103 |
-PATCHES=( "${FILESDIR}"/${P}-tests.patch ) |
104 |
- |
105 |
-python_test() { |
106 |
- "${PYTHON}" -m ${PN}.tests.all_tests || die "tests failed under ${EPYTHON}" |
107 |
-} |
108 |
|
109 |
diff --git a/dev-python/pyfakefs/pyfakefs-3.5.8.ebuild b/dev-python/pyfakefs/pyfakefs-3.5.8.ebuild |
110 |
deleted file mode 100644 |
111 |
index 6386a5b02bc..00000000000 |
112 |
--- a/dev-python/pyfakefs/pyfakefs-3.5.8.ebuild |
113 |
+++ /dev/null |
114 |
@@ -1,29 +0,0 @@ |
115 |
-# Copyright 1999-2020 Gentoo Authors |
116 |
-# Distributed under the terms of the GNU General Public License v2 |
117 |
- |
118 |
-EAPI=7 |
119 |
-PYTHON_COMPAT=( python{2_7,3_6,3_7} pypy3 ) |
120 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
121 |
- |
122 |
-inherit distutils-r1 |
123 |
- |
124 |
-DESCRIPTION="a fake file system that mocks the Python file system modules" |
125 |
-HOMEPAGE="https://github.com/jmcgeheeiv/pyfakefs/ https://pypi.org/project/pyfakefs/" |
126 |
-SRC_URI="https://github.com/jmcgeheeiv/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
127 |
- |
128 |
-LICENSE="Apache-2.0" |
129 |
-SLOT="0" |
130 |
-KEYWORDS="~amd64 ~arm ~x86" |
131 |
-IUSE="test" |
132 |
-RESTRICT="!test? ( test )" |
133 |
- |
134 |
-COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
135 |
-RDEPEND="${COMMON_DEPEND}" |
136 |
-DEPEND="${COMMON_DEPEND} |
137 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
138 |
- |
139 |
-PATCHES=( "${FILESDIR}"/pyfakefs-3.4.3-tests.patch ) |
140 |
- |
141 |
-python_test() { |
142 |
- "${PYTHON}" -m ${PN}.tests.all_tests || die "tests failed under ${EPYTHON}" |
143 |
-} |