summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-08 17:05:54 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-08 17:05:54 +0000
commitd1ec94800b2f7f452d2818b3517c2041a2358669 (patch)
tree4bb446b6e3ec4aac0be101a44ef2c748bdf5a178 /dev-python/python-yadis
parentVersion bump to rc2 (diff)
downloadgentoo-2-d1ec94800b2f7f452d2818b3517c2041a2358669.tar.gz
gentoo-2-d1ec94800b2f7f452d2818b3517c2041a2358669.tar.bz2
gentoo-2-d1ec94800b2f7f452d2818b3517c2041a2358669.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/python-yadis')
-rw-r--r--dev-python/python-yadis/ChangeLog8
-rw-r--r--dev-python/python-yadis/python-yadis-1.1.0.ebuild40
2 files changed, 31 insertions, 17 deletions
diff --git a/dev-python/python-yadis/ChangeLog b/dev-python/python-yadis/ChangeLog
index 112b277bc49c..6fb7a3e76588 100644
--- a/dev-python/python-yadis/ChangeLog
+++ b/dev-python/python-yadis/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/python-yadis
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-yadis/ChangeLog,v 1.2 2007/05/31 20:52:41 lucass Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-yadis/ChangeLog,v 1.3 2010/07/08 17:05:54 arfrever Exp $
+
+ 08 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ python-yadis-1.1.0.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
31 May 2007; Lukasz Strzygowski <lucass@gentoo.org>
python-yadis-1.1.0.ebuild:
diff --git a/dev-python/python-yadis/python-yadis-1.1.0.ebuild b/dev-python/python-yadis/python-yadis-1.1.0.ebuild
index 810c9640e863..664809ca6de1 100644
--- a/dev-python/python-yadis/python-yadis-1.1.0.ebuild
+++ b/dev-python/python-yadis/python-yadis-1.1.0.ebuild
@@ -1,31 +1,41 @@
-# 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-yadis/python-yadis-1.1.0.ebuild,v 1.3 2007/07/11 06:19:47 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-yadis/python-yadis-1.1.0.ebuild,v 1.4 2010/07/08 17:05:54 arfrever Exp $
-PYTHON_MODNAME="yadis"
-NEED_PYTHON=2.3
+EAPI="3"
+PYTHON_DEPEND="2"
+PYTHON_USE_WITH="xml"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
inherit distutils eutils
DESCRIPTION="Yadis service discovery library."
HOMEPAGE="http://www.openidenabled.com/yadis/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="test"
-RDEPEND="test? ( >=dev-python/pyflakes-0.2.1 )
- || ( <dev-lang/python-2.5 dev-python/elementtree )"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- #Fix broken test
- epatch ${FILESDIR}/${P}-gentoo-test.patch
+
+RDEPEND="dev-python/elementtree
+ dev-python/python-urljr"
+DEPEND="${RDEPEND}
+ test? ( >=dev-python/pyflakes-0.2.1 )"
+
+PYTHON_MODNAME="yadis"
+
+src_prepare() {
+ # Fix broken test.
+ epatch "${FILESDIR}/${P}-gentoo-test.patch"
}
src_test() {
- #Test is a shell script
- ./admin/runtests || die "tests failed"
+ testing() {
+ ./admin/runtests
+ }
+ python_execute_function testing
+
einfo "The pyflake output about XML* redefinitions can be safely ignored"
}