1 |
radhermit 14/03/01 05:26:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: lxml-3.3.2.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.183 dev-python/lxml/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lxml/ChangeLog?rev=1.183&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lxml/ChangeLog?rev=1.183&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lxml/ChangeLog?r1=1.182&r2=1.183 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v |
20 |
retrieving revision 1.182 |
21 |
retrieving revision 1.183 |
22 |
diff -u -r1.182 -r1.183 |
23 |
--- ChangeLog 25 Feb 2014 20:47:53 -0000 1.182 |
24 |
+++ ChangeLog 1 Mar 2014 05:26:32 -0000 1.183 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/lxml |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.182 2014/02/25 20:47:53 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.183 2014/03/01 05:26:32 radhermit Exp $ |
30 |
+ |
31 |
+*lxml-3.3.2 (01 Mar 2014) |
32 |
+ |
33 |
+ 01 Mar 2014; Tim Harder <radhermit@g.o> +lxml-3.3.2.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
25 Feb 2014; Markus Meier <maekke@g.o> lxml-3.3.0.ebuild: |
37 |
arm stable, bug #500684 |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/lxml/lxml-3.3.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lxml/lxml-3.3.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/lxml/lxml-3.3.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: lxml-3.3.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-3.3.2.ebuild,v 1.1 2014/03/01 05:26:32 radhermit Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) |
54 |
|
55 |
inherit distutils-r1 flag-o-matic |
56 |
|
57 |
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" |
58 |
HOMEPAGE="http://lxml.de/ http://pypi.python.org/pypi/lxml/" |
59 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
60 |
|
61 |
LICENSE="BSD ElementTree GPL-2 PSF-2" |
62 |
SLOT="0" |
63 |
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" |
64 |
IUSE="beautifulsoup3 doc examples +threads" |
65 |
|
66 |
# Note: lib{xml2,xslt} are used as C libraries, not Python modules. |
67 |
RDEPEND=">=dev-libs/libxml2-2.7.2 |
68 |
>=dev-libs/libxslt-1.1.15 |
69 |
beautifulsoup3? ( |
70 |
python_targets_python2_6? ( dev-python/beautifulsoup:python-2[python_targets_python2_6] ) |
71 |
python_targets_python2_7? ( dev-python/beautifulsoup:python-2[python_targets_python2_7] ) |
72 |
python_targets_python3_2? ( dev-python/beautifulsoup:python-3[python_targets_python3_2] ) |
73 |
python_targets_python3_3? ( dev-python/beautifulsoup:python-3[python_targets_python3_3] ) |
74 |
)" |
75 |
DEPEND="${RDEPEND} |
76 |
dev-python/setuptools[${PYTHON_USEDEP}]" |
77 |
# lxml tarball contains files pregenerated by Cython. |
78 |
|
79 |
DISTUTILS_IN_SOURCE_BUILD=1 |
80 |
|
81 |
python_prepare_all() { |
82 |
# avoid replacing PYTHONPATH in tests. |
83 |
sed -i -e '/sys\.path/d' test.py || die |
84 |
|
85 |
distutils-r1_python_prepare_all |
86 |
} |
87 |
|
88 |
python_compile() { |
89 |
if [[ ${EPYTHON} != python3* ]]; then |
90 |
local CFLAGS=${CFLAGS} |
91 |
append-cflags -fno-strict-aliasing |
92 |
fi |
93 |
distutils-r1_python_compile |
94 |
} |
95 |
|
96 |
python_test() { |
97 |
cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die |
98 |
cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die |
99 |
ln -s "${S}"/doc "${BUILD_DIR}"/ || die |
100 |
|
101 |
local test |
102 |
for test in test.py selftest.py selftest2.py; do |
103 |
einfo "Running ${test}" |
104 |
"${PYTHON}" ${test} || die "Test ${test} fails with ${EPYTHON}" |
105 |
done |
106 |
} |
107 |
|
108 |
python_install_all() { |
109 |
if use doc; then |
110 |
local DOCS=( *.txt doc/*.txt ) |
111 |
local HTML_DOCS=( doc/html/. ) |
112 |
fi |
113 |
use examples && local EXAMPLES=( samples/. ) |
114 |
|
115 |
distutils-r1_python_install_all |
116 |
} |