diff options
-rw-r--r-- | dev-python/lxml/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/lxml/Manifest | 26 | ||||
-rw-r--r-- | dev-python/lxml/lxml-3.3.6.ebuild | 69 |
3 files changed, 86 insertions, 16 deletions
diff --git a/dev-python/lxml/ChangeLog b/dev-python/lxml/ChangeLog index 76a93198ca04..ecf12797cafa 100644 --- a/dev-python/lxml/ChangeLog +++ b/dev-python/lxml/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/lxml # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.201 2014/06/10 12:24:12 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.202 2014/08/29 13:58:17 radhermit Exp $ + +*lxml-3.3.6 (29 Aug 2014) + + 29 Aug 2014; Tim Harder <radhermit@gentoo.org> +lxml-3.3.6.ebuild: + Version bump. 10 Jun 2014; Dirkjan Ochtman <djc@gentoo.org> -files/lxml-3.0.1-skip-failing-test.patch, -files/lxml-test-elementtree.patch, diff --git a/dev-python/lxml/Manifest b/dev-python/lxml/Manifest index 1150424177a5..5a975c553ace 100644 --- a/dev-python/lxml/Manifest +++ b/dev-python/lxml/Manifest @@ -2,23 +2,19 @@ Hash: SHA256 DIST lxml-3.3.5.tar.gz 3467344 SHA256 6ad6949dc7eea744a30fba77a968dd5910f545220e58bcc813b9df5c793e318a SHA512 b6692565e95ae8856347a2cbef4d1a1614cbc34aa47fbea10cfb49f5d5690a21e577e53e7cfbe73db18190a6919a1055fe5ee5ccaf1d03dc2bc0c5cf2c81ef2e WHIRLPOOL f9e875085701264128d37458f5c03a1e6dfb0a6d3e49f88cfc90031a40f17dfb06ff57151729bb03f96d2959b1bae40b0617076ace7d695433fcd857d13ec697 +DIST lxml-3.3.6.tar.gz 3476093 SHA256 c46a72c529398d34eabd05e12948868d9d958caede12f1a37e86d00efc423c92 SHA512 d3335d89e1b0f429c9e28181a36e090e714008d059319a51db883aadf747d87fb67d360359cefcf948d3deaa6a55bff6a9a861c1832c47b6075f0d616e9d6817 WHIRLPOOL b7a977bdd453723ef8ab6a674ac2a8811a5ae3aa44d65fcdd7cb60e5bb00e9296daa3693ae8c5ed47983442366645c4e763ffc55e46321d20efd271ce1e50d25 EBUILD lxml-3.3.5.ebuild 2177 SHA256 1a3d7bc096014abe93ea148d64224f326a18fdb9a95c705df1a140102033c653 SHA512 2b7362d7a40f06c942bda735efbba14dd3cea8ef70b74e8cc40d7b16a2b3a85ad24ff6872f065aeb307e04d63893e329b5e41495c91b3c8d830a8ec2ac643222 WHIRLPOOL eabec5fbf6993bf84e814a03d6af23cd8891227ea647c7e01d93559a8e655924fe05032a6c55864ffcdac45fe62c4d52ad7b3e7377e3515db5b30c4775f07c23 -MISC ChangeLog 24558 SHA256 9637d0ebc8bfa30dd1cd586d028e7401b66e76edfc5a2d4c4050fd81918fd52c SHA512 cfe883ba517d76fafef3d3afff68b50ca69c69d839d1f9dad4f1fbb98aa84ba6f0e6243e16ce45fc0241c5f6311bde111044aa18bf5807443165b21e88218048 WHIRLPOOL 7b70674a908224ad0986e65a1a5e9cfe4e23fa8058eac1b742a3d2606cd6555431d1f40661a32eaf66cb6f9f8dd5e9a2387dae286ae9e5451d8d09f6c862e759 +EBUILD lxml-3.3.6.ebuild 2191 SHA256 9b4327878bb65cf7f5b99b1c78c7adebdb286855b8d587b4b528c07ded30a065 SHA512 c8fe211ea8b82207cfb0a008ed3ac2919931410c92fbe9ba8cf7106a47e96c63e32c093fee3a992a0c8a834a3d65e546f68454f744c41592ba7f66efb860edcd WHIRLPOOL cae44c1c68ad8a992a02c076f73cb408073cdc196c1504ee687993984f70bbd153ecfcfb147da54f7580cd4a357e847d99e31e57032a934e00e0a702954eeb92 +MISC ChangeLog 24677 SHA256 af7f758ac05c68ec14984dd281bc55c9ca58636eb43a36cade7cab199cb3b9d8 SHA512 868ea976d9b4182a0cb99f962981c70d7cb57f9e4d094063abbb59cb4cdc3f1e1868008dbf8d24e5275b68e1097327fc7a9943bd1ecaf8951600cb79b3b27f97 WHIRLPOOL d1f2423f949ecf2911d8e2c5534ccf63e807822185c871af349cb7835b1d84754edf766b446382f72d57041e6249866651f9db209cf245630d1c8cdeaee3e6b2 MISC metadata.xml 253 SHA256 68b6fd7fee1571f606fd0c8981491625167175d248780c511fbb933f1e26d60e SHA512 a01088a2239918a44d2fe8c4b39f0916f0067b4c328ab25821aea2890b04b4ff759da3ed59bd0da6684847061be27e6645a4d1e199471f009a5efbe345e76dfb WHIRLPOOL 4c86b2ed51741d921295a316f346957380469fdf8e659a1768f2a5069bcae0ed5a1f944ae313b3b6a5d124ea11e5c1b0cfc074451ab093a7483244335e880652 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) +Version: GnuPG v2 -iQIcBAEBCAAGBQJTlv3dAAoJEJ+WuSkwOAOBXGgQAIf3hui/konpi62uAD2LBU/c -WzE3Pe0bZketcLGhHy5mpLrfwjlMX0LjlhHWsdjxQUZ2NtepA1dmEawMIu2v26KU -andMvAnC11eZDGm+XjvDBZw5/sbcSq+PwIN1si/rOlsid2osm91ngBeDw0IW1iuK -nwemF5it98jYCcm/9H68kvwOrNat4MScfVGxC2WNHfISbOD2Fcm7cmw5+7RvIzsd -bk8zwYLEk1GpkR10y9mzPl8YAwYB5h63ciLVGj5ePwvFg+MB8xeU5AbKPuRz6IqS -HyOovsFlOk194U/Ff5oMIBDDK4RrSodUPHs+mLNd9P3JMVASrD4Qr9fFdSkzN3ui -IISiQvJ2O/sfnrgUIBc9B03LJ50y958uHXBkzQwpitutxQ5UU4wc/8r7NJG3Dh7Z -cBgjXTQs6psqx0Obu7uXB2yGatid4MewDTDSNtBwEVsplboiEgMT/MVD6MUXKPu6 -upCiBpetmRCSzCdtMJ44Wm5ruJhx52CmLtmVhJwJSlPvz9vc8eMY5d9Xb8TjB1Ph -bqfw9zmppgZOZx/Q10BreDXWMybyswVOPInKIAN6tm8qXfB++5RveUvgv35CN2Vg -j7I8NyyOP/XsK3C73+oziObueoCJ4i5jFt7pD34fqfcD+08wMRkAxEXZSWO6vZY9 -mBJap63u8FkqtFj3H/a8 -=gqRH +iQEcBAEBCAAGBQJUAIb9AAoJEEqz6FtPBkyjUE0H/0WQpzYZCZr9D0PSfqNls8hG +SYrYnM+Um7nWDCPgHkG8qCc52ymDrXKFg/vwaEJVv6kamxljEj6LRlhPleB8wZKA +IeVhXLE6fTv6eJcXAmJo4tr4sd/j0sNk9PaZT3gIB9lUBQ1Hg1kshEefLjQyU5v7 +6wYaKLqixVXjta62hHvtM4i7dK9tjI+pSHd7PD//bdrc/IhqVeTcYcBXNxeYF9LH +FVKumFCVwP4NBCHKHYN6m5ruifwjKyAJ0OlstCEGbndfBIONVFcC7dALSn4WyZwR +2uci7tXhhRDGRo56I/ja2uAteSEit75IbrSmI/7UVDdug86JlivXkybOZfwWr/c= +=TDTb -----END PGP SIGNATURE----- diff --git a/dev-python/lxml/lxml-3.3.6.ebuild b/dev-python/lxml/lxml-3.3.6.ebuild new file mode 100644 index 000000000000..b9a9e0ceeea7 --- /dev/null +++ b/dev-python/lxml/lxml-3.3.6.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-3.3.6.ebuild,v 1.1 2014/08/29 13:58:17 radhermit Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_{2,3,4}} ) +inherit distutils-r1 flag-o-matic + +DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries" +HOMEPAGE="http://lxml.de/ http://pypi.python.org/pypi/lxml/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD ElementTree GPL-2 PSF-2" +SLOT="0" +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" +IUSE="beautifulsoup3 doc examples +threads" + +# Note: lib{xml2,xslt} are used as C libraries, not Python modules. +RDEPEND=" + >=dev-libs/libxml2-2.7.2 + >=dev-libs/libxslt-1.1.15 + beautifulsoup3? ( + python_targets_python2_7? ( dev-python/beautifulsoup:python-2[python_targets_python2_7] ) + python_targets_python3_2? ( dev-python/beautifulsoup:python-3[python_targets_python3_2] ) + python_targets_python3_3? ( dev-python/beautifulsoup:python-3[python_targets_python3_3] ) + )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" +# lxml tarball contains files pregenerated by Cython. + +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare_all() { + # avoid replacing PYTHONPATH in tests. + sed -i -e '/sys\.path/d' test.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + if [[ ${EPYTHON} != python3* ]]; then + local CFLAGS=${CFLAGS} + append-cflags -fno-strict-aliasing + fi + distutils-r1_python_compile +} + +python_test() { + cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die + cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die + ln -s "${S}"/doc "${BUILD_DIR}"/ || die + + local test + for test in test.py selftest.py selftest2.py; do + einfo "Running ${test}" + "${PYTHON}" ${test} || die "Test ${test} fails with ${EPYTHON}" + done +} + +python_install_all() { + if use doc; then + local DOCS=( *.txt doc/*.txt ) + local HTML_DOCS=( doc/html/. ) + fi + use examples && local EXAMPLES=( samples/. ) + + distutils-r1_python_install_all +} |