1 |
commit: e2f37a65be374b22c9cb1377b98d0a7341aeac89 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 25 07:09:07 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 07:11:25 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2f37a65 |
7 |
|
8 |
dev-python/lxml: Drop old |
9 |
|
10 |
Package-Manager: portage-2.2.21 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/lxml/Manifest | 3 - |
14 |
.../lxml/files/lxml-3.3.x-test_etree.py.patch | 14 ---- |
15 |
dev-python/lxml/lxml-3.3.5.ebuild | 77 ---------------------- |
16 |
dev-python/lxml/lxml-3.4.2.ebuild | 68 ------------------- |
17 |
dev-python/lxml/lxml-3.4.3.ebuild | 74 --------------------- |
18 |
dev-python/lxml/lxml-3.4.4.ebuild | 2 +- |
19 |
6 files changed, 1 insertion(+), 237 deletions(-) |
20 |
|
21 |
diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest |
22 |
index 9799c2f..b45bfee 100644 |
23 |
--- a/dev-python/lxml/Manifest |
24 |
+++ b/dev-python/lxml/Manifest |
25 |
@@ -1,5 +1,2 @@ |
26 |
-DIST lxml-3.3.5.tar.gz 3467344 SHA256 6ad6949dc7eea744a30fba77a968dd5910f545220e58bcc813b9df5c793e318a SHA512 b6692565e95ae8856347a2cbef4d1a1614cbc34aa47fbea10cfb49f5d5690a21e577e53e7cfbe73db18190a6919a1055fe5ee5ccaf1d03dc2bc0c5cf2c81ef2e WHIRLPOOL f9e875085701264128d37458f5c03a1e6dfb0a6d3e49f88cfc90031a40f17dfb06ff57151729bb03f96d2959b1bae40b0617076ace7d695433fcd857d13ec697 |
27 |
DIST lxml-3.4.1.tar.gz 3524523 SHA256 069594837d0376a1bacf5cc42aa9a1be2e1c1396dc62f7d07f7358afecd34adf SHA512 ab669d1f9833e43b43ece4ef2481eebe22e9084ab07139f5c5c1fa6ea478177069d6ce96ece7eddef86982da418ec55a3785c4b78958f49f6ed415dc63af45ed WHIRLPOOL 5390f23aec3b7c07b9541f85ee5c674f267b99a9ef035cc5024d5f6defe6ee8ded500703b97b3f742f7630d25dbc538534654c8a3cddafb1ff37f5c5494bffb5 |
28 |
-DIST lxml-3.4.2.tar.gz 3526862 SHA256 c7d5990298af6ffb00312973a25f0cc917a6368126dd40eaab41d78d3e1ea25d SHA512 de57da48813cb6920937b23a82cf8fe389e0f215e3e5c4a873fae7a223d8df7fe693d835163cccedd23b538857ed8e5eb3f0d8e4e2c5ed33065c6fbb74604f10 WHIRLPOOL 0601d6474dad0b2dc6c47a906acc546e91e72b3e15bbf3d56d7f6c1ad2d46ae9e4007d775911ce2fef71ff06dba01d70d671379a079c92191aad13600a4e6a31 |
29 |
-DIST lxml-3.4.3.tar.gz 3541740 SHA256 6ce4a11ab485a67a899aa3e080c97b22a9df40c7077bd9146a821d3872cf2037 SHA512 9ce34fef03e19b13fd78f13562dba570018c6588c187452fa1a0e3db441c5583333e85386a56c243db6f0f03875b4be514f4e6084a386aa83a6e436fec992e4f WHIRLPOOL cfebfaa0a1cdb4cf9e451b0d3c7246fbf104bccd0511d4f4060862fdd88bd0699ce2b4e604afc5ae65cc037182565d8590cfe451c361ddecc4177fe09db0ffd7 |
30 |
DIST lxml-3.4.4.tar.gz 3537508 SHA256 b3d362bac471172747cda3513238f115cbd6c5f8b8e6319bf6a97a7892724099 SHA512 94453ff0562fc18a4b43555271e2469556255b69daf5f801d1a0f1ff29fd73f4b46d4faba9bfe86b42cfdac31005a0d3cfcbf230e0c7593dd5fc6461afcad906 WHIRLPOOL 6debafb391c94bd57510498c8261a511759f52feb3065c8bdf3103b177b1ddcbad54968f1eceac07b97e42087a1c59a060a3719f9ea9d25a662da34bf314b89e |
31 |
|
32 |
diff --git a/dev-python/lxml/files/lxml-3.3.x-test_etree.py.patch b/dev-python/lxml/files/lxml-3.3.x-test_etree.py.patch |
33 |
deleted file mode 100644 |
34 |
index 3c8667a..0000000 |
35 |
--- a/dev-python/lxml/files/lxml-3.3.x-test_etree.py.patch |
36 |
+++ /dev/null |
37 |
@@ -1,14 +0,0 @@ |
38 |
---- build/lib/lxml/tests/test_etree.py.orig 2015-03-15 17:01:51.337909343 +0100 |
39 |
-+++ build/lib/lxml/tests/test_etree.py 2015-03-15 17:04:25.059318388 +0100 |
40 |
-@@ -1225,6 +1225,11 @@ |
41 |
- root[0].attrib, {'default': 'valueB'}) |
42 |
- |
43 |
- def test_resolve_filename_dtd_relative(self): |
44 |
-+ # This test is broken as it tries to resolve a file path |
45 |
-+ # with the file:// path convention and will fail. |
46 |
-+ # So let's not waste our time here and return straight away. |
47 |
-+ return |
48 |
-+ |
49 |
- parse = self.etree.parse |
50 |
- parser = self.etree.XMLParser(attribute_defaults=True) |
51 |
- assertEqual = self.assertEqual |
52 |
|
53 |
diff --git a/dev-python/lxml/lxml-3.3.5.ebuild b/dev-python/lxml/lxml-3.3.5.ebuild |
54 |
deleted file mode 100644 |
55 |
index 3f2ee0e..0000000 |
56 |
--- a/dev-python/lxml/lxml-3.3.5.ebuild |
57 |
+++ /dev/null |
58 |
@@ -1,77 +0,0 @@ |
59 |
-# Copyright 1999-2015 Gentoo Foundation |
60 |
-# Distributed under the terms of the GNU General Public License v2 |
61 |
-# $Id$ |
62 |
- |
63 |
-EAPI=5 |
64 |
- |
65 |
-PYTHON_COMPAT=( python{2_7,3_{3,4}} ) |
66 |
-inherit distutils-r1 eutils flag-o-matic |
67 |
- |
68 |
-DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" |
69 |
-HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/" |
70 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
71 |
- |
72 |
-LICENSE="BSD ElementTree GPL-2 PSF-2" |
73 |
-SLOT="0" |
74 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
75 |
-IUSE="beautifulsoup3 doc examples +threads" |
76 |
- |
77 |
-# Note: lib{xml2,xslt} are used as C libraries, not Python modules. |
78 |
-RDEPEND=" |
79 |
- >=dev-libs/libxml2-2.7.2 |
80 |
- >=dev-libs/libxslt-1.1.15 |
81 |
- beautifulsoup3? ( |
82 |
- $(python_gen_cond_dep 'dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]' 'python2*') |
83 |
- $(python_gen_cond_dep 'dev-python/beautifulsoup:python-3[${PYTHON_USEDEP}]' 'python3*') |
84 |
- )" |
85 |
-DEPEND="${RDEPEND} |
86 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
87 |
-# lxml tarball contains files pregenerated by Cython. |
88 |
- |
89 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
90 |
- |
91 |
-python_prepare_all() { |
92 |
- # avoid replacing PYTHONPATH in tests. |
93 |
- sed -i -e '/sys\.path/d' test.py || die |
94 |
- |
95 |
- distutils-r1_python_prepare_all |
96 |
-} |
97 |
- |
98 |
-python_compile() { |
99 |
- if [[ ${EPYTHON} != python3* ]]; then |
100 |
- local CFLAGS=${CFLAGS} |
101 |
- append-cflags -fno-strict-aliasing |
102 |
- fi |
103 |
- distutils-r1_python_compile |
104 |
-} |
105 |
- |
106 |
-python_test() { |
107 |
- cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die |
108 |
- cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die |
109 |
- ln -s "${S}"/doc "${BUILD_DIR}"/ || die |
110 |
- |
111 |
- OLDPWD=$(pwd) |
112 |
- cd "${BUILD_DIR}" || die "can't cd into ${BUILD_DIR}" |
113 |
- |
114 |
- # Patching test files has to happen at this precise moment. |
115 |
- # Not before, not after but now. |
116 |
- epatch "${FILESDIR}"/lxml-3.3.x-test_etree.py.patch |
117 |
- |
118 |
- cd "${OLDPWD}" |
119 |
- |
120 |
- local test |
121 |
- for test in test.py selftest.py selftest2.py; do |
122 |
- einfo "Running ${test}" |
123 |
- "${PYTHON}" ${test} || die "Test ${test} fails with ${EPYTHON}" |
124 |
- done |
125 |
-} |
126 |
- |
127 |
-python_install_all() { |
128 |
- if use doc; then |
129 |
- local DOCS=( *.txt doc/*.txt ) |
130 |
- local HTML_DOCS=( doc/html/. ) |
131 |
- fi |
132 |
- use examples && local EXAMPLES=( samples/. ) |
133 |
- |
134 |
- distutils-r1_python_install_all |
135 |
-} |
136 |
|
137 |
diff --git a/dev-python/lxml/lxml-3.4.2.ebuild b/dev-python/lxml/lxml-3.4.2.ebuild |
138 |
deleted file mode 100644 |
139 |
index 17699a7..0000000 |
140 |
--- a/dev-python/lxml/lxml-3.4.2.ebuild |
141 |
+++ /dev/null |
142 |
@@ -1,68 +0,0 @@ |
143 |
-# Copyright 1999-2015 Gentoo Foundation |
144 |
-# Distributed under the terms of the GNU General Public License v2 |
145 |
-# $Id$ |
146 |
- |
147 |
-EAPI=5 |
148 |
- |
149 |
-PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
150 |
-inherit distutils-r1 flag-o-matic |
151 |
- |
152 |
-DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" |
153 |
-HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/" |
154 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
155 |
- |
156 |
-LICENSE="BSD ElementTree GPL-2 PSF-2" |
157 |
-SLOT="0" |
158 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~arm64" |
159 |
-IUSE="beautifulsoup3 doc examples +threads" |
160 |
- |
161 |
-# Note: lib{xml2,xslt} are used as C libraries, not Python modules. |
162 |
-RDEPEND=" |
163 |
- >=dev-libs/libxml2-2.7.2 |
164 |
- >=dev-libs/libxslt-1.1.23 |
165 |
- beautifulsoup3? ( |
166 |
- $(python_gen_cond_dep 'dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]' 'python2*') |
167 |
- $(python_gen_cond_dep 'dev-python/beautifulsoup:python-3[${PYTHON_USEDEP}]' 'python3*') |
168 |
- )" |
169 |
-DEPEND="${RDEPEND} |
170 |
- dev-python/setuptools[${PYTHON_USEDEP}]" |
171 |
-# lxml tarball contains files pregenerated by Cython. |
172 |
- |
173 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
174 |
- |
175 |
-python_prepare_all() { |
176 |
- # avoid replacing PYTHONPATH in tests. |
177 |
- sed -i '/sys\.path/d' test.py || die |
178 |
- |
179 |
- distutils-r1_python_prepare_all |
180 |
-} |
181 |
- |
182 |
-python_compile() { |
183 |
- if [[ ${EPYTHON} != python3* ]]; then |
184 |
- local CFLAGS=${CFLAGS} |
185 |
- append-cflags -fno-strict-aliasing |
186 |
- fi |
187 |
- distutils-r1_python_compile |
188 |
-} |
189 |
- |
190 |
-python_test() { |
191 |
- cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die |
192 |
- cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die |
193 |
- ln -s "${S}"/doc "${BUILD_DIR}"/ || die |
194 |
- |
195 |
- local test |
196 |
- for test in test.py selftest.py selftest2.py; do |
197 |
- einfo "Running ${test}" |
198 |
- "${PYTHON}" ${test} || die "Test ${test} fails with ${EPYTHON}" |
199 |
- done |
200 |
-} |
201 |
- |
202 |
-python_install_all() { |
203 |
- if use doc; then |
204 |
- local DOCS=( *.txt doc/*.txt ) |
205 |
- local HTML_DOCS=( doc/html/. ) |
206 |
- fi |
207 |
- use examples && local EXAMPLES=( samples/. ) |
208 |
- |
209 |
- distutils-r1_python_install_all |
210 |
-} |
211 |
|
212 |
diff --git a/dev-python/lxml/lxml-3.4.3.ebuild b/dev-python/lxml/lxml-3.4.3.ebuild |
213 |
deleted file mode 100644 |
214 |
index 4aeedc9..0000000 |
215 |
--- a/dev-python/lxml/lxml-3.4.3.ebuild |
216 |
+++ /dev/null |
217 |
@@ -1,74 +0,0 @@ |
218 |
-# Copyright 1999-2015 Gentoo Foundation |
219 |
-# Distributed under the terms of the GNU General Public License v2 |
220 |
-# $Id$ |
221 |
- |
222 |
-EAPI=5 |
223 |
- |
224 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
225 |
- |
226 |
-inherit distutils-r1 flag-o-matic |
227 |
- |
228 |
-DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" |
229 |
-HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/" |
230 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
231 |
- |
232 |
-LICENSE="BSD ElementTree GPL-2 PSF-2" |
233 |
-SLOT="0" |
234 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris ~arm64" |
235 |
-IUSE="beautifulsoup3 doc examples +threads test" |
236 |
- |
237 |
-# Note: lib{xml2,xslt} are used as C libraries, not Python modules. |
238 |
-RDEPEND=" |
239 |
- >=dev-libs/libxml2-2.7.2 |
240 |
- >=dev-libs/libxslt-1.1.23 |
241 |
- beautifulsoup3? ( |
242 |
- $(python_gen_cond_dep 'dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]' 'python2*') |
243 |
- $(python_gen_cond_dep 'dev-python/beautifulsoup:python-3[${PYTHON_USEDEP}]' 'python3*') |
244 |
- )" |
245 |
-DEPEND="${RDEPEND} |
246 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
247 |
- test? ( dev-python/cssselect[${PYTHON_USEDEP}] ) |
248 |
- " |
249 |
-# lxml tarball contains files pregenerated by Cython. |
250 |
- |
251 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
252 |
- |
253 |
-python_prepare_all() { |
254 |
- # avoid replacing PYTHONPATH in tests. |
255 |
- sed -i '/sys\.path/d' test.py || die |
256 |
- |
257 |
- # seems to be broken |
258 |
- rm src/lxml/tests/test_elementpath.py || die |
259 |
- |
260 |
- distutils-r1_python_prepare_all |
261 |
-} |
262 |
- |
263 |
-python_compile() { |
264 |
- if [[ ${EPYTHON} != python3* ]]; then |
265 |
- local CFLAGS=${CFLAGS} |
266 |
- append-cflags -fno-strict-aliasing |
267 |
- fi |
268 |
- distutils-r1_python_compile |
269 |
-} |
270 |
- |
271 |
-python_test() { |
272 |
- cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die |
273 |
- cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die |
274 |
- ln -s "${S}"/doc "${BUILD_DIR}"/ || die |
275 |
- |
276 |
- local test |
277 |
- for test in test.py selftest.py selftest2.py; do |
278 |
- einfo "Running ${test}" |
279 |
- "${PYTHON}" ${test} -vv -p || die "Test ${test} fails with ${EPYTHON}" |
280 |
- done |
281 |
-} |
282 |
- |
283 |
-python_install_all() { |
284 |
- if use doc; then |
285 |
- local DOCS=( *.txt doc/*.txt ) |
286 |
- local HTML_DOCS=( doc/html/. ) |
287 |
- fi |
288 |
- use examples && local EXAMPLES=( samples/. ) |
289 |
- |
290 |
- distutils-r1_python_install_all |
291 |
-} |
292 |
|
293 |
diff --git a/dev-python/lxml/lxml-3.4.4.ebuild b/dev-python/lxml/lxml-3.4.4.ebuild |
294 |
index a4ea22d..abc0032 100644 |
295 |
--- a/dev-python/lxml/lxml-3.4.4.ebuild |
296 |
+++ b/dev-python/lxml/lxml-3.4.4.ebuild |
297 |
@@ -73,6 +73,6 @@ python_install_all() { |
298 |
} |
299 |
|
300 |
pkg_postinst() { |
301 |
- optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup-3* |
302 |
+ optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup |
303 |
optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect |
304 |
} |