Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/lxml/
Date: Wed, 03 May 2017 06:15:16
Message-Id: 1493792092.44b274df812414f3d756e4c0ce9f0e440a86bb68.mgorny@gentoo
1 commit: 44b274df812414f3d756e4c0ce9f0e440a86bb68
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 2 20:34:29 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 3 06:14:52 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44b274df
7
8 dev-python/lxml: Clean old versions up
9
10 dev-python/lxml/Manifest | 1 -
11 dev-python/lxml/lxml-3.7.1.ebuild | 80 ---------------------------------------
12 2 files changed, 81 deletions(-)
13
14 diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest
15 index aa038c45bbb..3015b1f40e2 100644
16 --- a/dev-python/lxml/Manifest
17 +++ b/dev-python/lxml/Manifest
18 @@ -1,4 +1,3 @@
19 DIST lxml-3.6.0.tar.gz 3693901 SHA256 9c74ca28a7f0c30dca8872281b3c47705e21217c8bc63912d95c9e2a7cac6bdf SHA512 2dd25a4f51e3e71b78e82e32f3838137d8b21936c23c16f901f4180277c4d4b7f14e1f47d306022cc1d13dc2e0b7f405319632e554aa989f551f424cc423d60d WHIRLPOOL 081c97bca209bc234dfb4e439da45ecde1cfd4c2da31384601c96293a5ab5def9d713bee612b4c84a5372d5b9035126ff6cbc496bd56b141f89b6a4fe916540b
20 DIST lxml-3.6.4.tar.gz 3707675 SHA256 61d5d3e00b5821e6cda099b3b4ccfea4527bf7c595e0fb3a7a760490cedd6172 SHA512 0412b266d7a70af21f2e4e05d63c3ce63049661ef27e2bf190cbfe1e982b6980fe980a998a360796b958fa9e148ae5bb48136354d4b0bb042055340e37f61e1e WHIRLPOOL b9cd81c885a1b12c36b50f4d616214f1912baed7991a3178e9415bffff74277c849b2e7c82fd7f27fb984148267348f5a72088d0b175ebf2731a16b876988255
21 -DIST lxml-3.7.1.tar.gz 3788105 SHA256 1c7f6771838300787cfa1bb3ed6512e9dc78e60ecb308a8ed49ac956569c1cca SHA512 1e192671365ba80d76ac2d25b8ec7666e77ceb1339b56b433b55ea0f0c78d0ba8ec381ca2f23eff1b8b1dfc914f47a65d072a4538a69d0b9b77597a6d6ea197b WHIRLPOOL 508f2908e48523c82063841beced2c8ec59e875b4e64e943a64b524bb78d8eb168135d7e066c03c3c5095d3d5f46ed7a104519d6ffb38e3efd7cac9576cbc91a
22 DIST lxml-3.7.3.tar.gz 3797713 SHA256 aa502d78a51ee7d127b4824ff96500f0181d3c7826e6ee7b800d068be79361c7 SHA512 9bf1142e81b6e1c8a47e296774d7e448d9ed47de3672f7442cc33274b07252baa47a9346efa9d2fda7b7bb66beb95bbc81f0ae16c9f808ff568f330991dd6d13 WHIRLPOOL d3881f308622ed8beb03a59bbf8256a55b92f5cf41c2c9a0c65c1e53acceea33ab93f420151330b09e8dbde3f717d5c095aa0275406355ec4a17105de46b6bae
23
24 diff --git a/dev-python/lxml/lxml-3.7.1.ebuild b/dev-python/lxml/lxml-3.7.1.ebuild
25 deleted file mode 100644
26 index dd87a7e68ec..00000000000
27 --- a/dev-python/lxml/lxml-3.7.1.ebuild
28 +++ /dev/null
29 @@ -1,80 +0,0 @@
30 -# Copyright 1999-2017 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=6
34 -
35 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
36 -
37 -inherit distutils-r1 eutils flag-o-matic toolchain-funcs
38 -
39 -DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
40 -HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/"
41 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 -
43 -LICENSE="BSD ElementTree GPL-2 PSF-2"
44 -SLOT="0"
45 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
46 -IUSE="doc examples +threads test"
47 -
48 -# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
49 -RDEPEND="
50 - >=dev-libs/libxml2-2.9.2
51 - >=dev-libs/libxslt-1.1.28"
52 -DEPEND="${RDEPEND}
53 - dev-python/setuptools[${PYTHON_USEDEP}]
54 - test? ( dev-python/cssselect[${PYTHON_USEDEP}] )
55 - "
56 -
57 -DISTUTILS_IN_SOURCE_BUILD=1
58 -
59 -PATCHES=(
60 - "${FILESDIR}"/${PN}-3.5.0-cross-compile.patch
61 -
62 - # This patch removes a testcase that fails because of issues
63 - # in libxml2.
64 - #
65 - # Upstream bug: https://bugs.launchpad.net/lxml/+bug/1608479
66 - "${FILESDIR}"/${PN}-3.6.4-fix-test_xmlschema.patch
67 -)
68 -
69 -python_prepare_all() {
70 - # avoid replacing PYTHONPATH in tests.
71 - sed -i '/sys\.path/d' test.py || die
72 -
73 - distutils-r1_python_prepare_all
74 -}
75 -
76 -python_compile() {
77 - if [[ ${EPYTHON} != python3* ]]; then
78 - local -x CFLAGS="${CFLAGS}"
79 - append-cflags -fno-strict-aliasing
80 - fi
81 - tc-export PKG_CONFIG
82 - distutils-r1_python_compile
83 -}
84 -
85 -python_test() {
86 - cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die
87 - cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die
88 - ln -s "${S}"/doc "${BUILD_DIR}"/ || die
89 -
90 - "${EPYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}"
91 -}
92 -
93 -python_install_all() {
94 - if use doc; then
95 - local DOCS=( *.txt doc/*.txt )
96 - local HTML_DOCS=( doc/html/. )
97 - fi
98 - if use examples; then
99 - docinto examples
100 - dodoc -r samples/.
101 - fi
102 -
103 - distutils-r1_python_install_all
104 -}
105 -
106 -pkg_postinst() {
107 - optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup
108 - optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect
109 -}