1 |
commit: f27ddd8f41d860a2d3c04e9d1196be9d731cf753 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 4 11:20:21 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 4 11:20:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f27ddd8f |
7 |
|
8 |
dev-python/lxml: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/lxml/Manifest | 2 - |
13 |
dev-python/lxml/lxml-4.4.2.ebuild | 82 --------------------------------------- |
14 |
dev-python/lxml/lxml-4.4.3.ebuild | 82 --------------------------------------- |
15 |
3 files changed, 166 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest |
18 |
index 60604281ff3..8355aef85e5 100644 |
19 |
--- a/dev-python/lxml/Manifest |
20 |
+++ b/dev-python/lxml/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST lxml-4.4.2.tar.gz 940286 BLAKE2B 28366d1673b356f980cedc64839f070e8166906705bc948af24bba369153accc0a4cea0372e87530227be88a89a0dab4d23308b75fd695f55fdb73e6326aa03b SHA512 af6608df7e47513644b841ecb6291e655122927cb439bd2ae694fd344cf5dca621e3e1ce6b40accc6db9e0c4383b5b3e6c6f9ff19f35c4daf30f119a217113ca |
23 |
-DIST lxml-4.4.3.tar.gz 940482 BLAKE2B 9ece0314d7b8ef82d70e83f6b77e4abef99d486a0168497f1f97e6a93d81d58e522e259d3569373d2429ac3190a642e8d1107dbae29ca20ec56636f7576545b6 SHA512 7b07450a243595bd412a43e73a55fafda0e6a6e41ed47c5488ee8e6cbd04d48a93db1b06f8b646bdc6377cad063aa53781cf41e3048f9dd7a62ccecc20900298 |
24 |
DIST lxml-4.5.0.tar.gz 942013 BLAKE2B 24535fb74c58baff26c47c4bfe4ade0155044b30d099f1990c11406eca34e6bb8255631e5b30172adcf95fc61d1ab9d0384dbf9910c7694beed11cbb99595008 SHA512 b4b4692cffb7b8d074e72033711e17df2529d0747c4d086926855bb5a39478e7aea2bc195d201ca3c252822b231dbe47aaedc647e50bbd6b24754668beaa60ca |
25 |
|
26 |
diff --git a/dev-python/lxml/lxml-4.4.2.ebuild b/dev-python/lxml/lxml-4.4.2.ebuild |
27 |
deleted file mode 100644 |
28 |
index 70dea853ab1..00000000000 |
29 |
--- a/dev-python/lxml/lxml-4.4.2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,82 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
38 |
- |
39 |
-inherit distutils-r1 eutils toolchain-funcs |
40 |
- |
41 |
-DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" |
42 |
-HOMEPAGE="https://lxml.de/ https://pypi.org/project/lxml/ https://github.com/lxml/lxml" |
43 |
-SRC_URI="https://github.com/lxml/lxml/archive/${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="BSD ElementTree GPL-2 PSF-2" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
48 |
-IUSE="doc examples +threads test" |
49 |
-RESTRICT="!test? ( test )" |
50 |
- |
51 |
-# Note: lib{xml2,xslt} are used as C libraries, not Python modules. |
52 |
-RDEPEND=" |
53 |
- >=dev-libs/libxml2-2.9.5 |
54 |
- >=dev-libs/libxslt-1.1.28" |
55 |
-DEPEND="${RDEPEND}" |
56 |
-BDEPEND=" |
57 |
- virtual/pkgconfig |
58 |
- dev-python/cython[${PYTHON_USEDEP}] |
59 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
60 |
- test? ( dev-python/cssselect[${PYTHON_USEDEP}] ) |
61 |
- " |
62 |
- |
63 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
64 |
-S=${WORKDIR}/lxml-${P} |
65 |
- |
66 |
-PATCHES=( |
67 |
- "${FILESDIR}"/${PN}-3.5.0-cross-compile.patch |
68 |
- "${FILESDIR}"/${PN}-4.4.2-tests-pypy.patch |
69 |
-) |
70 |
- |
71 |
-python_prepare_all() { |
72 |
- # avoid replacing PYTHONPATH in tests. |
73 |
- sed -i -e '/sys\.path/d' test.py || die |
74 |
- |
75 |
- # don't use some random SDK on Darwin |
76 |
- sed -i -e '/_ldflags =/s/=.*isysroot.*darwin.*None/= None/' \ |
77 |
- setupinfo.py || die |
78 |
- |
79 |
- distutils-r1_python_prepare_all |
80 |
-} |
81 |
- |
82 |
-python_compile() { |
83 |
- if ! python_is_python3; then |
84 |
- local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" |
85 |
- fi |
86 |
- tc-export PKG_CONFIG |
87 |
- distutils-r1_python_compile |
88 |
-} |
89 |
- |
90 |
-python_test() { |
91 |
- cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die |
92 |
- cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die |
93 |
- ln -s "${S}"/doc "${BUILD_DIR}"/ || die |
94 |
- |
95 |
- "${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}" |
96 |
-} |
97 |
- |
98 |
-python_install_all() { |
99 |
- if use doc; then |
100 |
- local DOCS=( README.rst *.txt doc/*.txt ) |
101 |
- local HTML_DOCS=( doc/html/. ) |
102 |
- fi |
103 |
- if use examples; then |
104 |
- dodoc -r samples |
105 |
- fi |
106 |
- |
107 |
- distutils-r1_python_install_all |
108 |
-} |
109 |
- |
110 |
-pkg_postinst() { |
111 |
- optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup |
112 |
- optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect |
113 |
-} |
114 |
|
115 |
diff --git a/dev-python/lxml/lxml-4.4.3.ebuild b/dev-python/lxml/lxml-4.4.3.ebuild |
116 |
deleted file mode 100644 |
117 |
index c5cc42ed9a7..00000000000 |
118 |
--- a/dev-python/lxml/lxml-4.4.3.ebuild |
119 |
+++ /dev/null |
120 |
@@ -1,82 +0,0 @@ |
121 |
-# Copyright 1999-2020 Gentoo Authors |
122 |
-# Distributed under the terms of the GNU General Public License v2 |
123 |
- |
124 |
-EAPI=7 |
125 |
- |
126 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
127 |
- |
128 |
-inherit distutils-r1 eutils toolchain-funcs |
129 |
- |
130 |
-DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" |
131 |
-HOMEPAGE="https://lxml.de/ https://pypi.org/project/lxml/ https://github.com/lxml/lxml" |
132 |
-SRC_URI="https://github.com/lxml/lxml/archive/${P}.tar.gz" |
133 |
-S=${WORKDIR}/lxml-${P} |
134 |
- |
135 |
-LICENSE="BSD ElementTree GPL-2 PSF-2" |
136 |
-SLOT="0" |
137 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
138 |
-IUSE="doc examples +threads test" |
139 |
-RESTRICT="!test? ( test )" |
140 |
- |
141 |
-# Note: lib{xml2,xslt} are used as C libraries, not Python modules. |
142 |
-RDEPEND=" |
143 |
- >=dev-libs/libxml2-2.9.5 |
144 |
- >=dev-libs/libxslt-1.1.28" |
145 |
-DEPEND="${RDEPEND}" |
146 |
-BDEPEND=" |
147 |
- virtual/pkgconfig |
148 |
- dev-python/cython[${PYTHON_USEDEP}] |
149 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
150 |
- test? ( dev-python/cssselect[${PYTHON_USEDEP}] ) |
151 |
- " |
152 |
- |
153 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
154 |
- |
155 |
-PATCHES=( |
156 |
- "${FILESDIR}"/${PN}-3.5.0-cross-compile.patch |
157 |
- "${FILESDIR}"/${PN}-4.4.2-tests-pypy.patch |
158 |
-) |
159 |
- |
160 |
-python_prepare_all() { |
161 |
- # avoid replacing PYTHONPATH in tests. |
162 |
- sed -i -e '/sys\.path/d' test.py || die |
163 |
- |
164 |
- # don't use some random SDK on Darwin |
165 |
- sed -i -e '/_ldflags =/s/=.*isysroot.*darwin.*None/= None/' \ |
166 |
- setupinfo.py || die |
167 |
- |
168 |
- distutils-r1_python_prepare_all |
169 |
-} |
170 |
- |
171 |
-python_compile() { |
172 |
- if ! python_is_python3; then |
173 |
- local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" |
174 |
- fi |
175 |
- tc-export PKG_CONFIG |
176 |
- distutils-r1_python_compile |
177 |
-} |
178 |
- |
179 |
-python_test() { |
180 |
- cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die |
181 |
- cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die |
182 |
- ln -s "${S}"/doc "${BUILD_DIR}"/ || die |
183 |
- |
184 |
- "${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}" |
185 |
-} |
186 |
- |
187 |
-python_install_all() { |
188 |
- if use doc; then |
189 |
- local DOCS=( README.rst *.txt doc/*.txt ) |
190 |
- local HTML_DOCS=( doc/html/. ) |
191 |
- fi |
192 |
- if use examples; then |
193 |
- dodoc -r samples |
194 |
- fi |
195 |
- |
196 |
- distutils-r1_python_install_all |
197 |
-} |
198 |
- |
199 |
-pkg_postinst() { |
200 |
- optfeature "Support for BeautifulSoup as a parser backend" dev-python/beautifulsoup |
201 |
- optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect |
202 |
-} |