Version bump: added dep on setuptools, added NEED_PYTHON.
authorLukasz Strzygowski <lucass@gentoo.org>
Wed, 21 Feb 2007 10:10:32 +0000 (10:10 +0000)
committerLukasz Strzygowski <lucass@gentoo.org>
Wed, 21 Feb 2007 10:10:32 +0000 (10:10 +0000)
Package-Manager: portage-2.1.2-r9

dev-python/lxml/ChangeLog
dev-python/lxml/Manifest
dev-python/lxml/files/digest-lxml-1.2 [new file with mode: 0644]
dev-python/lxml/lxml-1.2.ebuild [new file with mode: 0644]

index 8815e4874ee74488e6114073c7fa40bfd966b6c0..c6126baa446fd77e07f079dba9f47bb37d3c817e 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for dev-python/lxml
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.14 2007/01/10 10:22:11 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/ChangeLog,v 1.15 2007/02/21 10:10:32 lucass Exp $
+
+*lxml-1.2 (21 Feb 2007)
+
+  21 Feb 2007; Lukasz Strzygowski <lucass@gentoo.org> +lxml-1.2.ebuild:
+  Version bump: added dep on setuptools, added NEED_PYTHON.
 
 *lxml-1.1.2 (10 Jan 2007)
 
index e69b1a1b80c9204b2e4d3d5bc54dec466a09d6cb..39fd9d4186bd13b53051a7513395036a5c414c6f 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX lxml-1.0-distutils.diff 615 RMD160 ba45fc71e1c35819fcd07a772b7870c09281eb78 SHA1 eccf1cd25a2dde67add688e5248996e03b07abaa SHA256 0cd3de4b484132e090faf70b4b7b9537c4e6593ae21e604f459405c74789a67d
 MD5 1ea373c3875eef854d7a1ddb758753fb files/lxml-1.0-distutils.diff 615
 RMD160 ba45fc71e1c35819fcd07a772b7870c09281eb78 files/lxml-1.0-distutils.diff 615
@@ -8,6 +11,7 @@ RMD160 b73b6d23f6ed34f5a190ae6ae40ae701e7832bf7 files/lxml-1.1.2-distutils.patch
 SHA256 59b92aec402d7953e4e8cc2c2e297b07f80a802e7c6e57e80aa8aa72482037dc files/lxml-1.1.2-distutils.patch 601
 DIST lxml-1.0.2.tgz 378107 RMD160 f872804291722838ed82c933498394b6bdfb2614 SHA1 e747a9220c3ccc7292237dc91eb7d75d562a196d SHA256 2ac2154e3f66b5b32ca25d47e3977db115ac6dc52ddb7442ce16e65a4ac1afee
 DIST lxml-1.1.2.tgz 640469 RMD160 3864b7fe781bedbdc7334e6ebac9dcd4e38d1880 SHA1 777d891cb889691aaf77ed08b3d0a4b2ecec56f9 SHA256 b0139b3e1443ab5ce7dd2b63e67ac987f1e4caddf5f9bc72c90c63199265c278
+DIST lxml-1.2.tgz 674337 RMD160 afb4fec871e2e46135794ccd901b22aa44fcd28d SHA1 947294a52a0bb60ff9d9a20ccd820930fbe4f2a5 SHA256 1c381effa3294d4d4d9e8d9e118f57ba733c7046c1cb9a44ab2606ec6a44237d
 EBUILD lxml-1.0.2.ebuild 899 RMD160 e10735d8c126005097e15c3b8565690dcd38ff21 SHA1 0a0ad5e2cea85fd101f0620e7cf80408a43116bc SHA256 1b6d67abff6d601cbf9324f6d6d582b6d32f403925c47f6b7e3fde9b13ef2f7d
 MD5 a644bbb1399be092e069c2ba0b77df5c lxml-1.0.2.ebuild 899
 RMD160 e10735d8c126005097e15c3b8565690dcd38ff21 lxml-1.0.2.ebuild 899
@@ -16,10 +20,14 @@ EBUILD lxml-1.1.2.ebuild 1336 RMD160 50b299336f71da2be7298df544878e314ae78376 SH
 MD5 7e856ee8dd397c0b74e5570d6a9a3494 lxml-1.1.2.ebuild 1336
 RMD160 50b299336f71da2be7298df544878e314ae78376 lxml-1.1.2.ebuild 1336
 SHA256 ab83506531aa267d3c6b884be954cca9852e61dbee47adbc76d63303dfb809b6 lxml-1.1.2.ebuild 1336
-MISC ChangeLog 2223 RMD160 3916f8f60d0e9dd39102391193435802828b94bb SHA1 9376f4c3a00bce7b2104f5b40df21925b199ee5d SHA256 44e70cf7088b0935c76c75ed77b78cd04139ad3deec2aa969b5b73dc18d0f3ed
-MD5 db53eece4ef850744a81260001254742 ChangeLog 2223
-RMD160 3916f8f60d0e9dd39102391193435802828b94bb ChangeLog 2223
-SHA256 44e70cf7088b0935c76c75ed77b78cd04139ad3deec2aa969b5b73dc18d0f3ed ChangeLog 2223
+EBUILD lxml-1.2.ebuild 1358 RMD160 380bef8ac7b1944c3d991c268207805038f10f94 SHA1 117d1a4def99928d881b402f92d90fb9acfd9f2e SHA256 a3d053188b038e0c6392e30a4b57fa3384ed07d5764a113a995a39861ffe52b6
+MD5 d92e3b22bc355605d5f1cd1c6539121a lxml-1.2.ebuild 1358
+RMD160 380bef8ac7b1944c3d991c268207805038f10f94 lxml-1.2.ebuild 1358
+SHA256 a3d053188b038e0c6392e30a4b57fa3384ed07d5764a113a995a39861ffe52b6 lxml-1.2.ebuild 1358
+MISC ChangeLog 2379 RMD160 ed1c61dafbc3043d6207f2aff82fa24c071d00df SHA1 0049a969f8b929212fdfc258eed50cf64d91fe92 SHA256 d80a5b24f84414fc17592c8f77b3b307d2201525fd57de41d6b79169e1f4f5ee
+MD5 ade50beecbde55762815ca23b59542dd ChangeLog 2379
+RMD160 ed1c61dafbc3043d6207f2aff82fa24c071d00df ChangeLog 2379
+SHA256 d80a5b24f84414fc17592c8f77b3b307d2201525fd57de41d6b79169e1f4f5ee ChangeLog 2379
 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
@@ -30,3 +38,13 @@ SHA256 8394c2f7df498093d7a32aabd7105b43b53c98ff4d900898c5e40f43645b11fd files/di
 MD5 527cc110216c6401b1b6030f857911e9 files/digest-lxml-1.1.2 223
 RMD160 96aef7fe4f7d025fbee8cf80d68cae354a07ee36 files/digest-lxml-1.1.2 223
 SHA256 3bde6558c9c618783fb9c9969c3ffd72ea72051a6326152a1bfa8b0408746d4a files/digest-lxml-1.1.2 223
+MD5 ca919883c38d759bae066cbf8668546e files/digest-lxml-1.2 217
+RMD160 69c7eeed2b45088e423d1deb9879ab2ba27fd470 files/digest-lxml-1.2 217
+SHA256 fc5c8edd8dd042842bdf28bcdab81da9eeaa43035f0a262680258fe643f8c4d5 files/digest-lxml-1.2 217
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.2 (GNU/Linux)
+
+iD8DBQFF3Bql2jLqHNfbg2URAi4MAJoC3d4dUnfCmDsjYZM7u/yW4hZdugCfTFpR
+tDA/Q1gW3/hqNjBdCt9NXBE=
+=7iGp
+-----END PGP SIGNATURE-----
diff --git a/dev-python/lxml/files/digest-lxml-1.2 b/dev-python/lxml/files/digest-lxml-1.2
new file mode 100644 (file)
index 0000000..988c755
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 d971fc4cb31dc7a18ee397b2f815e0b9 lxml-1.2.tgz 674337
+RMD160 afb4fec871e2e46135794ccd901b22aa44fcd28d lxml-1.2.tgz 674337
+SHA256 1c381effa3294d4d4d9e8d9e118f57ba733c7046c1cb9a44ab2606ec6a44237d lxml-1.2.tgz 674337
diff --git a/dev-python/lxml/lxml-1.2.ebuild b/dev-python/lxml/lxml-1.2.ebuild
new file mode 100644 (file)
index 0000000..4b91d57
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/lxml/lxml-1.2.ebuild,v 1.1 2007/02/21 10:10:32 lucass Exp $
+
+NEED_PYTHON=2.3
+
+inherit distutils eutils multilib
+
+DESCRIPTION="lxml is a Pythonic binding for the libxml2 and libxslt libraries"
+HOMEPAGE="http://codespeak.net/lxml/"
+SRC_URI="http://codespeak.net/lxml/${P}.tgz"
+
+LICENSE="BSD GPL-2 as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE="doc examples"
+
+# Note: This version comes with it's own bundled svn version of pyrex
+DEPEND=">=dev-libs/libxml2-2.6.16
+               >=dev-libs/libxslt-1.1.12
+               dev-python/setuptools"
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       # don't use ez_setup
+       sed -e '1,3d' -i setup.py
+}
+
+src_install() {
+       distutils_src_install
+
+       if use doc; then
+               dohtml doc/html/*
+               dodoc *.txt
+               docinto doc
+               dodoc doc/*.txt
+       fi
+
+       if use examples; then
+               insinto /usr/share/doc/${PF}/examples
+               doins -r samples/*
+       fi
+}
+
+src_test() {
+       distutils_python_version
+       python setup.py build_ext -i || die "building extensions for test use failed"
+       einfo "Running test"
+       python test.py || die "tests failed"
+       export PYTHONPATH="${PYTHONPATH}:${S}/src"
+       einfo "Running selftest"
+       python selftest.py || die "selftest failed"
+       einfo "Running selftest2"
+       python selftest2.py || die "selftest2 failed"
+}