public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/python-urljr: python-urljr-1.0.1.ebuild ChangeLog
@ 2010-07-08 16:08 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2010-07-08 16:08 UTC (permalink / raw
  To: gentoo-commits

arfrever    10/07/08 16:08:43

  Modified:             python-urljr-1.0.1.ebuild ChangeLog
  Log:
  Set SUPPORT_PYTHON_ABIS.
  (Portage version: HEAD/cvs/Linux x86_64)

Revision  Changes    Path
1.4                  dev-python/python-urljr/python-urljr-1.0.1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-urljr/python-urljr-1.0.1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-urljr/python-urljr-1.0.1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-urljr/python-urljr-1.0.1.ebuild?r1=1.3&r2=1.4

Index: python-urljr-1.0.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-urljr/python-urljr-1.0.1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- python-urljr-1.0.1.ebuild	11 Jul 2007 06:19:47 -0000	1.3
+++ python-urljr-1.0.1.ebuild	8 Jul 2010 16:08:43 -0000	1.4
@@ -1,29 +1,39 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-urljr/python-urljr-1.0.1.ebuild,v 1.3 2007/07/11 06:19:47 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-urljr/python-urljr-1.0.1.ebuild,v 1.4 2010/07/08 16:08:43 arfrever Exp $
 
-NEED_PYTHON=2.3
-PYTHON_MODNAME="urljr"
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
 
 inherit distutils eutils
 
 DESCRIPTION="JanRain's URL Utilities"
 HOMEPAGE="http://www.openidenabled.com/openid/libraries/python/"
 SRC_URI="http://www.openidenabled.com/resources/downloads/python-openid/${P}.tar.gz"
+
 LICENSE="LGPL-2.1"
-KEYWORDS="~amd64 ~x86"
 SLOT="0"
+KEYWORDS="~amd64 ~x86"
 IUSE="curl test"
-RDEPEND="curl? ( >=dev-python/pycurl-7.15.1 )
+
+RDEPEND="curl? ( >=dev-python/pycurl-7.15.1 )"
+DEPEND="${RDEPEND}
 	test? ( >=dev-python/pycurl-7.15.1 )"
 
-src_unpack() {
-	unpack ${A}
-	cd ${S}
-	#Test fails if it finds 'localhost' instead of '127.0.0.1'
-	epatch ${FILESDIR}/${P}-gentoo-test_fetchers.patch
+PYTHON_MODNAME="urljr"
+
+src_prepare() {
+	distutils_src_prepare
+
+	# Test fails if it finds 'localhost' instead of '127.0.0.1'.
+	epatch "${FILESDIR}/${P}-gentoo-test_fetchers.patch"
 }
 
 src_test() {
-	PYTHONPATH=. "${python}" admin/runtests || die "tests failed"
+	testing() {
+		PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" admin/runtests
+	}
+	python_execute_function testing
 }



1.3                  dev-python/python-urljr/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-urljr/ChangeLog?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-urljr/ChangeLog?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-urljr/ChangeLog?r1=1.2&r2=1.3

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-urljr/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog	31 May 2007 20:56:01 -0000	1.2
+++ ChangeLog	8 Jul 2010 16:08:43 -0000	1.3
@@ -1,6 +1,10 @@
 # ChangeLog for dev-python/python-urljr
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-urljr/ChangeLog,v 1.2 2007/05/31 20:56:01 lucass Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-urljr/ChangeLog,v 1.3 2010/07/08 16:08:43 arfrever Exp $
+
+  08 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  python-urljr-1.0.1.ebuild:
+  Set SUPPORT_PYTHON_ABIS.
 
   31 May 2007; Lukasz Strzygowski <lucass@gentoo.org>
   python-urljr-1.0.1.ebuild:






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-08 16:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-08 16:08 [gentoo-commits] gentoo-x86 commit in dev-python/python-urljr: python-urljr-1.0.1.ebuild ChangeLog Arfrever Frehtes Taifersar Arahesis (arfrever)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox