summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/python-urljr/ChangeLog8
-rw-r--r--dev-python/python-urljr/Manifest4
-rw-r--r--dev-python/python-urljr/python-urljr-1.0.1.ebuild34
3 files changed, 30 insertions, 16 deletions
diff --git a/dev-python/python-urljr/ChangeLog b/dev-python/python-urljr/ChangeLog
index 42e166ff100b..716ced5cd066 100644
--- a/dev-python/python-urljr/ChangeLog
+++ b/dev-python/python-urljr/ChangeLog
@@ -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:
diff --git a/dev-python/python-urljr/Manifest b/dev-python/python-urljr/Manifest
index 724f4a61e88c..e9a415f0ca17 100644
--- a/dev-python/python-urljr/Manifest
+++ b/dev-python/python-urljr/Manifest
@@ -1,5 +1,5 @@
AUX python-urljr-1.0.1-gentoo-test_fetchers.patch 540 RMD160 df94e6e997c84503dcfc81da28f547acfe54d99b SHA1 90bc3d8653b1037afc1574091c0c8037af6b6d57 SHA256 e5abd501e27df586d736a477ee064e4a5807f61032e105e6e18bc3b88522861d
DIST python-urljr-1.0.1.tar.gz 16570 RMD160 e8759f267b28b5cc4c341f0db6db41d1502a776b SHA1 272935670b9ab61e8378f980d20df7e817aae231 SHA256 723bc0c1b58d34ca41b9d3ec57ba5e9cb16283e49d8ac152d455476cc249bff6
-EBUILD python-urljr-1.0.1.ebuild 873 RMD160 e47f818f2d8834e2047459b916ae153c13e5e20e SHA1 b2f82fa9971de87bc98bf7a1e6764a8df15ac69e SHA256 1f228583465c29af73f7bcbeb05dce73316e7f2a21df8cfd660c724a3700b1d4
-MISC ChangeLog 526 RMD160 1af7767c8824f217061382a23ab32d0c0f14316b SHA1 33eea4d57cda32c3bad1ca839b9e27c58092e6fa SHA256 4a69ad6c30c7a7ec620315b6ff10bac860e82dd9dbf920ebca88623b9d9af242
+EBUILD python-urljr-1.0.1.ebuild 1016 RMD160 bec3b5bd825caefa879f214f9ec548e643ffea13 SHA1 ca55233a213d164d40b980126eaafea7dc3309db SHA256 a3f886019ae1b284caf7a571245227635984be646b8ff83fdfa15816866d58e9
+MISC ChangeLog 658 RMD160 b7f45fa70c502e74253fba173b5f5bb3f805d87d SHA1 75276dff404990158b1b4cb69f5e40f19f5abd92 SHA256 ba1f9b5fcf90d6d07a9e0ed46c6066e6fbb27d412cdd619dcf3d3298d30281c8
MISC metadata.xml 220 RMD160 48799d68a63eeae1a32bc7bfc8a1a6865f176f03 SHA1 cb801d6ab7bf0585e6bc9cf92176f99932088b10 SHA256 81d2720b1c773403199857cf2859f92c2921f8dfa9631bb00812ffb0f9641b79
diff --git a/dev-python/python-urljr/python-urljr-1.0.1.ebuild b/dev-python/python-urljr/python-urljr-1.0.1.ebuild
index e3c55668aa30..6a2781f10e1f 100644
--- a/dev-python/python-urljr/python-urljr-1.0.1.ebuild
+++ b/dev-python/python-urljr/python-urljr-1.0.1.ebuild
@@ -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
}