From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MqVvo-0000DI-5E for garchives@archives.gentoo.org; Wed, 23 Sep 2009 17:47:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 456ECE0662; Wed, 23 Sep 2009 17:47:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0A948E0662 for ; Wed, 23 Sep 2009 17:47:07 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 989256795D for ; Wed, 23 Sep 2009 17:47:06 +0000 (UTC) Received: from arfrever by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1MqVvk-0005KS-PF for gentoo-commits@lists.gentoo.org; Wed, 23 Sep 2009 17:47:06 +0000 From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, arfrever@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyxml: ChangeLog pyxml-0.8.4-r2.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog pyxml-0.8.4-r2.ebuild X-VCS-Directories: dev-python/pyxml X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis Content-Type: text/plain; charset=utf8 Message-Id: Sender: Arfrever Frehtes Taifersar Arahesis Date: Wed, 23 Sep 2009 17:47:04 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4dd17ba3-0280-457f-b263-940874f75abb X-Archives-Hash: a12d513c8e70397229b780f12c38d265 arfrever 09/09/23 17:47:04 Modified: ChangeLog pyxml-0.8.4-r2.ebuild Log: Set SUPPORT_PYTHON_ABIS. (Portage version: 14394-svn/cvs/Linux x86_64) Revision Changes Path 1.58 dev-python/pyxml/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyxml/C= hangeLog?rev=3D1.58&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyxml/C= hangeLog?rev=3D1.58&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyxml/C= hangeLog?r1=3D1.57&r2=3D1.58 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/dev-python/pyxml/ChangeLog,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- ChangeLog 26 Jul 2009 22:30:48 -0000 1.57 +++ ChangeLog 23 Sep 2009 17:47:04 -0000 1.58 @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyxml # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/ChangeLog,v 1.57 200= 9/07/26 22:30:48 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/ChangeLog,v 1.58 200= 9/09/23 17:47:04 arfrever Exp $ + + 23 Sep 2009; Arfrever Frehtes Taifersar Arahesis + pyxml-0.8.4-r2.ebuild: + Set SUPPORT_PYTHON_ABIS. =20 26 Jul 2009; Brent Baude pyxml-0.8.4-r2.ebuild: stable ppc64, bug 277351 1.10 dev-python/pyxml/pyxml-0.8.4-r2.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyxml/p= yxml-0.8.4-r2.ebuild?rev=3D1.10&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyxml/p= yxml-0.8.4-r2.ebuild?rev=3D1.10&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyxml/p= yxml-0.8.4-r2.ebuild?r1=3D1.9&r2=3D1.10 Index: pyxml-0.8.4-r2.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/dev-python/pyxml/pyxml-0.8.4-r2.ebuild,= v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- pyxml-0.8.4-r2.ebuild 26 Jul 2009 22:30:48 -0000 1.9 +++ pyxml-0.8.4-r2.ebuild 23 Sep 2009 17:47:04 -0000 1.10 @@ -1,6 +1,9 @@ # Copyright 1999-2009 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-r2.ebuil= d,v 1.9 2009/07/26 22:30:48 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyxml/pyxml-0.8.4-r2.ebuil= d,v 1.10 2009/09/23 17:47:04 arfrever Exp $ + +EAPI=3D"2" +SUPPORT_PYTHON_ABIS=3D"1" =20 inherit distutils =20 @@ -16,12 +19,17 @@ IUSE=3D"doc examples" =20 DEPEND=3D">=3Ddev-libs/expat-1.95.6" +RDEPEND=3D"${DEPEND}" +RESTRICT_PYTHON_ABIS=3D"3.*" + +S=3D"${WORKDIR}/${MY_P}" =20 -S=3D${WORKDIR}/${MY_P} +DOCS=3D"ANNOUNCE CREDITS doc/*.txt" +PYTHON_MODNAME=3D"_xmlplus" =20 -src_unpack(){ - distutils_src_unpack - epatch "${FILESDIR}"/${P}-python-2.6.patch +src_prepare(){ + distutils_src_prepare + epatch "${FILESDIR}/${P}-python-2.6.patch" } =20 src_compile() { @@ -36,9 +44,15 @@ # use the already-installed shared copy of libexpat distutils_src_compile --with-libexpat=3D/usr ${myconf} } +src_test() { + cd test + testing() { + PYTHONPATH=3D"$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" regrt= est.py + } + python_execute_function testing +} =20 src_install() { - DOCS=3D"ANNOUNCE CREDITS doc/*.txt" distutils_src_install =20 doman doc/man/* @@ -48,13 +62,3 @@ fi use examples && cp -r demo "${D}"/usr/share/doc/${PF} } - -pkg_postinst(){ - python_mod_optimize "$(python_get_sitedir)/_xmlplus" -} - -src_test() { - cd test - PYTHONPATH=3D"$(ls -d ../build/lib.*)" "${python}" regrtest.py \ - || die "tests failed" -}