diff options
author | Marien Zwart <marienz@gentoo.org> | 2005-11-27 22:07:01 +0000 |
---|---|---|
committer | Marien Zwart <marienz@gentoo.org> | 2005-11-27 22:07:01 +0000 |
commit | 6187c659f20c4099cb2e4dd3efb8ee9b33b029ba (patch) | |
tree | 4961d068800abe5181d8fcd44775aabc019cb62b /dev-python/twisted-xish | |
parent | Stable on hppa. (diff) | |
download | historical-6187c659f20c4099cb2e4dd3efb8ee9b33b029ba.tar.gz historical-6187c659f20c4099cb2e4dd3efb8ee9b33b029ba.tar.bz2 historical-6187c659f20c4099cb2e4dd3efb8ee9b33b029ba.zip |
Revbump to use the new eclass (bug #80639). Add a patch to make the tests pass with twisted-2.1.0. Set myself as maintainer.
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'dev-python/twisted-xish')
5 files changed, 57 insertions, 2 deletions
diff --git a/dev-python/twisted-xish/ChangeLog b/dev-python/twisted-xish/ChangeLog index 254097992402..1536e15573c7 100644 --- a/dev-python/twisted-xish/ChangeLog +++ b/dev-python/twisted-xish/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-python/twisted-xish # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-xish/ChangeLog,v 1.2 2005/08/27 23:12:03 humpback Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-xish/ChangeLog,v 1.3 2005/11/27 22:07:01 marienz Exp $ + +*twisted-xish-0.1.0-r1 (27 Nov 2005) + + 27 Nov 2005; Marien Zwart <marienz@gentoo.org> + +files/twisted-xish-0.1.0-tests-2.1-compat.patch, metadata.xml, + +twisted-xish-0.1.0-r1.ebuild: + Revbump to use the new eclass (bug #80639). Add a patch to make the tests + pass with twisted-2.1.0. Set myself as maintainer. 27 Aug 2005; Gustavo Felisberto <humpback@gentoo.org>; twisted-xish-0.1.0.ebuild: diff --git a/dev-python/twisted-xish/files/digest-twisted-xish-0.1.0-r1 b/dev-python/twisted-xish/files/digest-twisted-xish-0.1.0-r1 new file mode 100644 index 000000000000..aebe0b05dfb3 --- /dev/null +++ b/dev-python/twisted-xish/files/digest-twisted-xish-0.1.0-r1 @@ -0,0 +1 @@ +MD5 7b1f88640517a6bf3524ddab279996f4 TwistedXish-0.1.0.tar.bz2 20640 diff --git a/dev-python/twisted-xish/files/twisted-xish-0.1.0-tests-2.1-compat.patch b/dev-python/twisted-xish/files/twisted-xish-0.1.0-tests-2.1-compat.patch new file mode 100644 index 000000000000..01f63206e3d2 --- /dev/null +++ b/dev-python/twisted-xish/files/twisted-xish-0.1.0-tests-2.1-compat.patch @@ -0,0 +1,27 @@ +Index: Twisted/twisted/xish/test/test_domish.py +=================================================================== +--- Twisted/twisted/xish/test/test_domish.py (revision 14510) ++++ Twisted/twisted/xish/test/test_domish.py (revision 14511) +@@ -84,11 +84,10 @@ + query3_elem1 = xpath.internQuery("/error[not(@xmlns)]") + + class DomishStreamTestCase(unittest.TestCase): +- def __init__(self): ++ def setUp(self): + self.doc_started = False + self.packet_count = 0 + self.doc_ended = False +- self.match_list = [] + + def _docStarted(self, root): + self.doc_started = True +@@ -106,9 +105,6 @@ + self.stream.DocumentStartEvent = self._docStarted + self.stream.ElementEvent = self._elementMatched + self.stream.DocumentEndEvent = self._docEnded +- self.doc_started = False +- self.packet_count = 0 +- self.doc_ended = False + self.match_list = matches + + def testSuxStream(self): diff --git a/dev-python/twisted-xish/metadata.xml b/dev-python/twisted-xish/metadata.xml index 37d1f8e02e49..3af8f0a64af8 100644 --- a/dev-python/twisted-xish/metadata.xml +++ b/dev-python/twisted-xish/metadata.xml @@ -2,5 +2,5 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>python</herd> -<maintainer><email>lordvan@gentoo.org</email></maintainer> +<maintainer><email>marienz@gentoo.org</email></maintainer> </pkgmetadata> diff --git a/dev-python/twisted-xish/twisted-xish-0.1.0-r1.ebuild b/dev-python/twisted-xish/twisted-xish-0.1.0-r1.ebuild new file mode 100644 index 000000000000..23358c31b546 --- /dev/null +++ b/dev-python/twisted-xish/twisted-xish-0.1.0-r1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-xish/twisted-xish-0.1.0-r1.ebuild,v 1.1 2005/11/27 22:07:01 marienz Exp $ + +MY_PACKAGE=Xish + +inherit twisted + +DESCRIPTION="Twisted Xish is an XML library with XPath-ish and DOM-ish support." + +KEYWORDS="~amd64 ~sparc ~x86" + +DEPEND=">=dev-python/twisted-2" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-tests-2.1-compat.patch" +} |