1 |
commit: 8871de46d56b0f3b5c981718073af27a3f095ab8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 4 23:30:26 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 5 09:36:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8871de46 |
7 |
|
8 |
dev-python/lxml: Clean old up |
9 |
|
10 |
dev-python/lxml/Manifest | 2 - |
11 |
dev-python/lxml/lxml-4.0.0.ebuild | 80 --------------------------------------- |
12 |
dev-python/lxml/lxml-4.1.0.ebuild | 80 --------------------------------------- |
13 |
3 files changed, 162 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest |
16 |
index 6e2c33f121e..2f9a639b1f2 100644 |
17 |
--- a/dev-python/lxml/Manifest |
18 |
+++ b/dev-python/lxml/Manifest |
19 |
@@ -1,4 +1,2 @@ |
20 |
DIST lxml-3.8.0.tar.gz 3795205 BLAKE2B 39f3edc7efe48bd569b636de89cfcd8f7e4e88e025fd5c21164e35edf110546112844a4ddb6cb1842649fb165de3b3880b0fdb7a23522a891b35390adf64c95b SHA512 08f6f352e22ed2bc199a5f34a1c6b5f7b41ec282dc0026c9f16a06466c27e39e8eb18608ba4493636170eeac4b0194f7050445e1cc9bd0a4628573c404593088 |
21 |
-DIST lxml-4.0.0.tar.gz 4217301 BLAKE2B 812c67f0769c9b72e6fcd641ff61821255c7a3036213f4dbc82683e9bd4b94096e44c4af6d9091623e0fa7cccc6286561d3a9947fdeace45100af640e417073d SHA512 8aa85ab6a99097ae2eaa0087b3a663aae8ac81a0a4d685bf857571c811c8ccd6410afc414f14c68702a53e90265726af085d0609ec7f0d3cc96e3702772627e8 |
22 |
-DIST lxml-4.1.0.tar.gz 4247102 BLAKE2B 650e7ca2961e4552f0ca29d81043f44b672c39d07d54d5072b6ac4218c5d43a00ecb79341a2d678ddf35885df224b8afa1ec8bc6b6e4faa46a42e545b1a44cce SHA512 c4a1180a119ec2d21ab29d00cf60e72ca38a2c28eca4f221251d0fd1c481650fe78ec975532c38a6a59c441bb6f6469bbb110b6b0e9d6b6fffd68dbcad90fcb6 |
23 |
DIST lxml-4.1.1.tar.gz 2380804 BLAKE2B 4d3c4ef0472c7af7bb4185142a8274b596dd55a908d41f5295d0a78031a7efb3aef8893ca739f8db0675e44d4b0c346746a2758d31a54825c06a153203599ab9 SHA512 9542e5206f9b2f9e072c52ef8e6cf44d1aaae8ae3e7ca7e820c1fac12e716503308ccb3cebc52155b4c93799f3ebca247781fc491524d004378bd26f5cddb9d1 |
24 |
|
25 |
diff --git a/dev-python/lxml/lxml-4.0.0.ebuild b/dev-python/lxml/lxml-4.0.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index 2ab0055cd81..00000000000 |
28 |
--- a/dev-python/lxml/lxml-4.0.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,80 +0,0 @@ |
31 |
-# Copyright 1999-2017 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
- |
36 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
37 |
- |
38 |
-inherit distutils-r1 eutils flag-o-matic toolchain-funcs |
39 |
- |
40 |
-DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" |
41 |
-HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/ https://github.com/lxml/lxml" |
42 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="BSD ElementTree GPL-2 PSF-2" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
47 |
-IUSE="doc examples +threads test" |
48 |
- |
49 |
-# Note: lib{xml2,xslt} are used as C libraries, not Python modules. |
50 |
-RDEPEND=" |
51 |
- >=dev-libs/libxml2-2.9.2 |
52 |
- >=dev-libs/libxslt-1.1.28" |
53 |
-DEPEND="${RDEPEND} |
54 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
- test? ( dev-python/cssselect[${PYTHON_USEDEP}] ) |
56 |
- " |
57 |
- |
58 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
59 |
- |
60 |
-PATCHES=( |
61 |
- "${FILESDIR}"/${PN}-3.5.0-cross-compile.patch |
62 |
- |
63 |
- # This patch removes a testcase that fails because of issues |
64 |
- # in libxml2. |
65 |
- # |
66 |
- # Upstream bug: https://bugs.launchpad.net/lxml/+bug/1608479 |
67 |
- "${FILESDIR}"/${PN}-3.6.4-fix-test_xmlschema.patch |
68 |
-) |
69 |
- |
70 |
-python_prepare_all() { |
71 |
- # avoid replacing PYTHONPATH in tests. |
72 |
- sed -i '/sys\.path/d' test.py || die |
73 |
- |
74 |
- distutils-r1_python_prepare_all |
75 |
-} |
76 |
- |
77 |
-python_compile() { |
78 |
- if [[ ${EPYTHON} != python3* ]]; then |
79 |
- local -x CFLAGS="${CFLAGS}" |
80 |
- append-cflags -fno-strict-aliasing |
81 |
- fi |
82 |
- tc-export PKG_CONFIG |
83 |
- distutils-r1_python_compile |
84 |
-} |
85 |
- |
86 |
-python_test() { |
87 |
- cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die |
88 |
- cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die |
89 |
- ln -s "${S}"/doc "${BUILD_DIR}"/ || die |
90 |
- |
91 |
- "${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}" |
92 |
-} |
93 |
- |
94 |
-python_install_all() { |
95 |
- if use doc; then |
96 |
- local DOCS=( *.txt doc/*.txt ) |
97 |
- local HTML_DOCS=( doc/html/. ) |
98 |
- fi |
99 |
- if use examples; then |
100 |
- docinto examples |
101 |
- dodoc -r samples/. |
102 |
- fi |
103 |
- |
104 |
- distutils-r1_python_install_all |
105 |
-} |
106 |
- |
107 |
-pkg_postinst() { |
108 |
- optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup |
109 |
- optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect |
110 |
-} |
111 |
|
112 |
diff --git a/dev-python/lxml/lxml-4.1.0.ebuild b/dev-python/lxml/lxml-4.1.0.ebuild |
113 |
deleted file mode 100644 |
114 |
index 2ab0055cd81..00000000000 |
115 |
--- a/dev-python/lxml/lxml-4.1.0.ebuild |
116 |
+++ /dev/null |
117 |
@@ -1,80 +0,0 @@ |
118 |
-# Copyright 1999-2017 Gentoo Foundation |
119 |
-# Distributed under the terms of the GNU General Public License v2 |
120 |
- |
121 |
-EAPI=6 |
122 |
- |
123 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
124 |
- |
125 |
-inherit distutils-r1 eutils flag-o-matic toolchain-funcs |
126 |
- |
127 |
-DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" |
128 |
-HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/ https://github.com/lxml/lxml" |
129 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
130 |
- |
131 |
-LICENSE="BSD ElementTree GPL-2 PSF-2" |
132 |
-SLOT="0" |
133 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
134 |
-IUSE="doc examples +threads test" |
135 |
- |
136 |
-# Note: lib{xml2,xslt} are used as C libraries, not Python modules. |
137 |
-RDEPEND=" |
138 |
- >=dev-libs/libxml2-2.9.2 |
139 |
- >=dev-libs/libxslt-1.1.28" |
140 |
-DEPEND="${RDEPEND} |
141 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
142 |
- test? ( dev-python/cssselect[${PYTHON_USEDEP}] ) |
143 |
- " |
144 |
- |
145 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
146 |
- |
147 |
-PATCHES=( |
148 |
- "${FILESDIR}"/${PN}-3.5.0-cross-compile.patch |
149 |
- |
150 |
- # This patch removes a testcase that fails because of issues |
151 |
- # in libxml2. |
152 |
- # |
153 |
- # Upstream bug: https://bugs.launchpad.net/lxml/+bug/1608479 |
154 |
- "${FILESDIR}"/${PN}-3.6.4-fix-test_xmlschema.patch |
155 |
-) |
156 |
- |
157 |
-python_prepare_all() { |
158 |
- # avoid replacing PYTHONPATH in tests. |
159 |
- sed -i '/sys\.path/d' test.py || die |
160 |
- |
161 |
- distutils-r1_python_prepare_all |
162 |
-} |
163 |
- |
164 |
-python_compile() { |
165 |
- if [[ ${EPYTHON} != python3* ]]; then |
166 |
- local -x CFLAGS="${CFLAGS}" |
167 |
- append-cflags -fno-strict-aliasing |
168 |
- fi |
169 |
- tc-export PKG_CONFIG |
170 |
- distutils-r1_python_compile |
171 |
-} |
172 |
- |
173 |
-python_test() { |
174 |
- cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die |
175 |
- cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die |
176 |
- ln -s "${S}"/doc "${BUILD_DIR}"/ || die |
177 |
- |
178 |
- "${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}" |
179 |
-} |
180 |
- |
181 |
-python_install_all() { |
182 |
- if use doc; then |
183 |
- local DOCS=( *.txt doc/*.txt ) |
184 |
- local HTML_DOCS=( doc/html/. ) |
185 |
- fi |
186 |
- if use examples; then |
187 |
- docinto examples |
188 |
- dodoc -r samples/. |
189 |
- fi |
190 |
- |
191 |
- distutils-r1_python_install_all |
192 |
-} |
193 |
- |
194 |
-pkg_postinst() { |
195 |
- optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup |
196 |
- optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect |
197 |
-} |