summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-12-16 12:27:26 +0000
committerMichał Górny <mgorny@gentoo.org>2012-12-16 12:27:26 +0000
commite9e27486d732a32d7ff89962cf073d4942584c26 (patch)
tree79d0ba7c165f0a88269b5486457c567010ab91f0 /dev-python/pyxml
parentDrop USE=doc, it does nothing useful. (diff)
downloadhistorical-e9e27486d732a32d7ff89962cf073d4942584c26.tar.gz
historical-e9e27486d732a32d7ff89962cf073d4942584c26.tar.bz2
historical-e9e27486d732a32d7ff89962cf073d4942584c26.zip
Migrate to python-r1.
Package-Manager: portage-2.2.0_alpha148/cvs/Linux x86_64 Manifest-Sign-Key: 0x42B9401D
Diffstat (limited to 'dev-python/pyxml')
-rw-r--r--dev-python/pyxml/ChangeLog7
-rw-r--r--dev-python/pyxml/Manifest15
-rw-r--r--dev-python/pyxml/pyxml-0.8.4-r3.ebuild61
3 files changed, 81 insertions, 2 deletions
diff --git a/dev-python/pyxml/ChangeLog b/dev-python/pyxml/ChangeLog
index 453d929481cc..e74caccabd2b 100644
--- a/dev-python/pyxml/ChangeLog
+++ b/dev-python/pyxml/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyxml
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/ChangeLog,v 1.65 2012/02/23 13:56:09 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/ChangeLog,v 1.66 2012/12/16 12:27:24 mgorny Exp $
+
+*pyxml-0.8.4-r3 (16 Dec 2012)
+
+ 16 Dec 2012; Michał Górny <mgorny@gentoo.org> +pyxml-0.8.4-r3.ebuild:
+ Migrate to python-r1.
23 Feb 2012; Patrick Lauer <patrick@gentoo.org> pyxml-0.8.4-r2.ebuild:
Restricting pypy
diff --git a/dev-python/pyxml/Manifest b/dev-python/pyxml/Manifest
index 9f00c4c7afd6..77bcae2746a6 100644
--- a/dev-python/pyxml/Manifest
+++ b/dev-python/pyxml/Manifest
@@ -1,5 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX pyxml-0.8.4-python-2.6.patch 1749 SHA256 03c4eb073c58e7c28a22ff702a296ba4c4fe11a64d931ada6216d1876c6118e8 SHA512 3c79b8d58da01bbfb1ac3d20106e9ed40b1e3c8d52abf216c764efc505a08ce37d1d06d282e7ba311f00f0839c4314d2664efa57228e6007ebf26ca5029f5a9d WHIRLPOOL e24c30aaae8d378cf66cd09b9e8d99971577e942ebb29facfc96bfb674050dcc04b39db80068f362f836376d797075b369fccb76bc00dfdb556a432168cd8551
DIST PyXML-0.8.4.tar.gz 734954 SHA256 9fab66f9584fb8e67aebd8745a5c97bf1c5a2e2e461adf68862bcec64e448c13 SHA512 68d9802a58b8ce90d668d2ba659136dc5377e224fdb837284fdcaf640f28b3bb400bf485d602689905d56121b9ffaa7f7758b4a2f262d1321c8b9890952c8a1e WHIRLPOOL 5ae5df4be39ca9380ac636c6b84cea71c2def2a1404e5e2895a75e14ce3bd70e8ad60f7368892b172aed56e1aa8443a7554dda10fddefbc6b6c0816f087fc6a6
EBUILD pyxml-0.8.4-r2.ebuild 1951 SHA256 f3859f27c3365e058f1301c07a47b16597e95d345957408b54b28f6c2b02638a SHA512 97134c0fa2d6e864b540987aacbee10bd79108c36b46c8608fad56ea7fba150733d2cedcd27f27d87389ee6af34bdbbb9efe3ab5876e0bb3655c60ee39e445a3 WHIRLPOOL f4ffea2e7bfb419e3b419f2be96bfe04ac9514b0bf19b0178c471a789ec3198796fb0bb557f873ff4b2fedeb8dad169d64de53c5fbc745c296829bd01b4e8895
-MISC ChangeLog 9353 SHA256 a0a53ae6a2b853a4870d9e8a8790b1f2470face1419e30d0bd2b2c58f2376b0d SHA512 6359bfb5d48bfb1229ab14c7696398841d02683f7c3352460ed0a3c521614fdee3995be076ecafb2f958c8b139fa441429e999e82c7f2eca2d135464f37ed0bb WHIRLPOOL 3434c41d08e58202ffc00204f8f7c74b972f91ec695a18227d98012fd9b12ca1dbd7c54884d14d8e6f364171bd98fb7a773f0c09c68b87a956bbeaff2b635640
+EBUILD pyxml-0.8.4-r3.ebuild 1640 SHA256 867aca44f20fb4a869edf286faab14973114a9edc1d285613091075aa9b83a23 SHA512 22f06f7cea69dd178cbc31f2d55ecc2bce821ff81ac9e42e909a154f7f7a84324ee238284a9259c9b8f30d6585fd0bad360136118b58ae05263aafce7118e5a2 WHIRLPOOL 1966054f363878ef5795148c606af3f651d87a5b70d5de67b274421a9bba7d833f5009b6cf291505a712f3b4d434a44b4b9214668d19da2e4a3315723db8dffd
+MISC ChangeLog 9482 SHA256 a4a2928696d5315092cd68f94d28ff18fc42d7dab07be40b41f857d94ad9ab07 SHA512 c5551ce28c1bf50128d61e19b22e8795123af097291c370a9974e86011d8773a43d63755d3912dc060fda3072cb45a73536c31dc4ce1d720897f1ac7055cacc9 WHIRLPOOL 6c15abef3090cd4a04dd4eb75a89a5aa1283b7a86a606777354374b7655968f5f850c51551cc3c8807e2b92d9c7445517d60ac714ca8d4f313288a2b36c83d55
MISC metadata.xml 159 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 SHA512 d5a29b9f6ecddfc368dc0f1f8919cd3c3d6ecf2c7a82bc8d4c0dd51b7aa15561ed0462acb8ae39bc84f97e706e82d9b4b06357494f164f1648219f604b473fbe WHIRLPOOL 36e19b63a1b307cc200e1d73499b7477f73799db3909e71b5a0916084728351c76d400f65e2c8b3f8fffb2c9ba54c0bd235f785b47414178d98f11d64a9420d7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iJwEAQEIAAYFAlDNvi0ACgkQfXuS5UK5QB2npQP+JsZDy8gQMUq0lhHNuADn5FCZ
+6mAH6xzo70hTBNOolZXKos1b/o9Tk6NKcaJdY0+ogavFIHPrh9D/hsCTNlmwogrv
+dCCWICZa1Pard77utpVBbpqTsningXbNswReLvnmfTguL2RM8aRrkE4/wLShwP5+
+31y1iuUpL3BZPRYke30=
+=qxVn
+-----END PGP SIGNATURE-----
diff --git a/dev-python/pyxml/pyxml-0.8.4-r3.ebuild b/dev-python/pyxml/pyxml-0.8.4-r3.ebuild
new file mode 100644
index 000000000000..de76502f3f95
--- /dev/null
+++ b/dev-python/pyxml/pyxml-0.8.4-r3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/pyxml-0.8.4-r3.ebuild,v 1.1 2012/12/16 12:27:24 mgorny Exp $
+
+EAPI=4
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+
+inherit distutils-r1 eutils
+
+MY_P=${P/pyxml/PyXML}
+
+DESCRIPTION="A collection of libraries to process XML with Python"
+HOMEPAGE="http://pyxml.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD CNRI MIT PSF-2 public-domain"
+# Other licenses:
+# BeOpen Python Open Source License Agreement Version 1
+# Zope Public License (ZPL) Version 1.0
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc examples"
+
+DEPEND=">=dev-libs/expat-1.95.6"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+ local PATCHES=(
+ "${FILESDIR}/${P}-python-2.6.patch"
+ )
+
+ # Delete internal copy of old version of unittest module.
+ rm -f test/unittest.py
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ # use the already-installed shared copy of libexpat
+ distutils-r1_python_compile --with-libexpat="${EPREFIX}/usr"
+}
+
+python_test() {
+ cd test || die
+ "${PYTHON}" regrtest.py || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ local DOCS=( ANNOUNCE CREDITS doc/*.txt )
+
+ distutils-r1_python_install_all
+
+ doman doc/man/*
+ if use doc; then
+ dohtml -A api,web -r doc/*
+ dodoc doc/*.tex
+ fi
+ use examples && dodoc -r demo
+}