1 |
commit: 8601b81edbfe8f93434479bdd51f477f658aaea8 |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 27 23:51:28 2019 +0000 |
4 |
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 28 00:25:33 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8601b81e |
7 |
|
8 |
dev-python/mox3: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.51, Repoman-2.3.12 |
11 |
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org> |
12 |
|
13 |
dev-python/mox3/Manifest | 2 -- |
14 |
dev-python/mox3/mox3-0.10.0.ebuild | 73 -------------------------------------- |
15 |
dev-python/mox3/mox3-0.12.0.ebuild | 59 ------------------------------ |
16 |
3 files changed, 134 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/mox3/Manifest b/dev-python/mox3/Manifest |
19 |
index dbd6b0459d7..54506f3d103 100644 |
20 |
--- a/dev-python/mox3/Manifest |
21 |
+++ b/dev-python/mox3/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST mox3-0.10.0.tar.gz 42424 BLAKE2B 124bb4525ed6d24ebf75037c1f049fc851d64bdf8eed29c26fcdabcfe5f6211aec7f16f5038b397978383bd11a81588b44aa790608bfdf5b8596daccf3230542 SHA512 1f56e17ae150339cb2f33dca065c246cf0ff2f633f182336a576e9ab0bd4512ec8f42a4cb128f38ede33fe7e796552768465cfc626abe4f734b7a06b4625710a |
24 |
-DIST mox3-0.12.0.tar.gz 42377 BLAKE2B d6a841c8b28d47f21ae8e6f65abb7e2079762d45ccf670decf5815c5a2638af615804e711534ddb0ebbafdae6609f30e50ea20f224a7ccc5a02148f1ab0d23b6 SHA512 73e0215bf127589f791721a0cb9b8e3dcc379a23199339e370d641850a0a14c264eb9db94fbb37c99f9925ee3ebd302de14ec12fe1c8809dd3ca9c10cfd75468 |
25 |
DIST mox3-0.24.0.tar.gz 44846 BLAKE2B dd1a27b20fc821de79f1e1f209872c3fb66f39b2330d1dda04c5b17045e337c84920e4538d7971f025d1377f9e91abd2fca8167508c5614fee06d9fca92aaa75 SHA512 6c081cf2b1e529f3213f7f48d22ed5d2980420b2de8f49607b624d5861f8b784f2f36d8a32fae3e81fe8186c1a9c36e6c4ec7d9de172c41c0530523590ef97b6 |
26 |
|
27 |
diff --git a/dev-python/mox3/mox3-0.10.0.ebuild b/dev-python/mox3/mox3-0.10.0.ebuild |
28 |
deleted file mode 100644 |
29 |
index 0d53cedaed7..00000000000 |
30 |
--- a/dev-python/mox3/mox3-0.10.0.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,73 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=5 |
37 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
38 |
-DISTUTILS_IN_SOURCE_BUILD=TRUE |
39 |
- |
40 |
-inherit distutils-r1 |
41 |
- |
42 |
-DESCRIPTION="Mock object framework for Python" |
43 |
-HOMEPAGE="http://www.openstack.org/" |
44 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
- |
46 |
-LICENSE="Apache-2.0" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="amd64 x86" |
49 |
-IUSE="test" |
50 |
- |
51 |
-CDEPEND=" |
52 |
- >=dev-python/pbr-1.8[${PYTHON_USEDEP}] |
53 |
- <dev-python/pbr-2.0[${PYTHON_USEDEP}] |
54 |
-" |
55 |
-CRDEPEND=">=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]" |
56 |
- |
57 |
-# NOTE dev-python/hacking isn't actually required for tests |
58 |
-# >=dev-python/hacking-0.5.6[${PYTHON_USEDEP}] |
59 |
-# <dev-python/hacking-0.7[${PYTHON_USEDEP}] |
60 |
- |
61 |
-# NOTE dev-python/pyflakes isn't actually required for tests |
62 |
-# ~dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}] |
63 |
- |
64 |
-DEPEND=" |
65 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
66 |
- ${CDEPEND} |
67 |
- test? ( |
68 |
- ${CRDEPEND} |
69 |
- ~dev-python/pep8-1.5.7[${PYTHON_USEDEP}] |
70 |
- ~dev-python/pyflakes-0.8.1[${PYTHON_USEDEP}] |
71 |
- >=dev-python/flake8-2.2.4[${PYTHON_USEDEP}] |
72 |
- <=dev-python/flake8-2.4.1-r9999[${PYTHON_USEDEP}] |
73 |
- >=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
74 |
- >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
75 |
- >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
76 |
- >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] |
77 |
- >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
78 |
- >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
79 |
- !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] |
80 |
- <dev-python/sphinx-1.3[${PYTHON_USEDEP}] |
81 |
- >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}] |
82 |
- ) |
83 |
-" |
84 |
-RDEPEND=" |
85 |
- ${CDEPEND} |
86 |
- ${CRDEPEND} |
87 |
-" |
88 |
- |
89 |
-python_test() { |
90 |
- # This single test fails on python3.4. |
91 |
- # I speculate this is due to the old style classes going away but have not |
92 |
- # verified this in any way. |
93 |
- if [[ "${EPYTHON}" = "python3.4" ]]; then |
94 |
- ebegin "patching mox3/tests/test_mox.py for ${EPYTHON}" |
95 |
- sed \ |
96 |
- -e '/def testStubOutClass_OldStyle(self):/,/def/ d' \ |
97 |
- -i mox3/tests/test_mox.py |
98 |
- STATUS=$? |
99 |
- eend $? |
100 |
- [[ ${STATUS} -gt 0 ]] && die |
101 |
- fi |
102 |
- |
103 |
- testr init || die "testr init failed under ${EPYTHON}" |
104 |
- testr run || die "testr run failed under ${EPYTHON}" |
105 |
-} |
106 |
|
107 |
diff --git a/dev-python/mox3/mox3-0.12.0.ebuild b/dev-python/mox3/mox3-0.12.0.ebuild |
108 |
deleted file mode 100644 |
109 |
index d34633d97b0..00000000000 |
110 |
--- a/dev-python/mox3/mox3-0.12.0.ebuild |
111 |
+++ /dev/null |
112 |
@@ -1,59 +0,0 @@ |
113 |
-# Copyright 1999-2017 Gentoo Foundation |
114 |
-# Distributed under the terms of the GNU General Public License v2 |
115 |
- |
116 |
-EAPI=5 |
117 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
118 |
- |
119 |
-inherit distutils-r1 |
120 |
- |
121 |
-DESCRIPTION="Mock object framework for Python" |
122 |
-HOMEPAGE="http://www.openstack.org/" |
123 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
124 |
- |
125 |
-LICENSE="Apache-2.0" |
126 |
-SLOT="0" |
127 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
128 |
-IUSE="doc test" |
129 |
- |
130 |
-CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]" |
131 |
-CRDEPEND=">=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]" |
132 |
-DEPEND=" |
133 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
134 |
- ${CDEPEND} |
135 |
- test? ( |
136 |
- ${CRDEPEND} |
137 |
- >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
138 |
- >=dev-python/subunit-0.0.18[${PYTHON_USEDEP}] |
139 |
- >=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}] |
140 |
- >=dev-python/testtools-1.4.0[${PYTHON_USEDEP}] |
141 |
- ) |
142 |
- doc? ( |
143 |
- >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}] |
144 |
- >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
145 |
- !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}] |
146 |
- <dev-python/sphinx-1.3[${PYTHON_USEDEP}] |
147 |
- ) |
148 |
-" |
149 |
-RDEPEND=" |
150 |
- ${CDEPEND} |
151 |
- ${CRDEPEND} |
152 |
-" |
153 |
- |
154 |
-PATCHES=( "${FILESDIR}"/${P}-RegexTest-python3.6.patch ) |
155 |
- |
156 |
-python_compile_all() { |
157 |
- use doc && esetup.py build_sphinx |
158 |
-} |
159 |
- |
160 |
-python_test() { |
161 |
- rm -rf .testrepository || die "could not remove '.testrepository' under ${EPYTHON}" |
162 |
- |
163 |
- testr init || die "testr init failed under ${EPYTHON}" |
164 |
- testr run || die "testr run failed under ${EPYTHON}" |
165 |
-} |
166 |
- |
167 |
-python_install_all() { |
168 |
- use doc && local HTML_DOCS=( doc/build/html/. ) |
169 |
- |
170 |
- distutils-r1_python_install_all |
171 |
-} |