Restrict 3.* Python ABIs (bug #322643).
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Thu, 3 Jun 2010 19:48:05 +0000 (19:48 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Thu, 3 Jun 2010 19:48:05 +0000 (19:48 +0000)
Package-Manager: portage-HEAD/cvs/Linux x86_64

dev-python/py-xmlrpc/ChangeLog
dev-python/py-xmlrpc/py-xmlrpc-0.8.8.3-r1.ebuild

index ba5406d123827f77b58fd410cb029b18eec12d16..a02864316db241c9da07a831c7fb552fcc38d281 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for dev-python/py-xmlrpc
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/py-xmlrpc/ChangeLog,v 1.22 2010/03/01 23:46:49 neurogeek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/py-xmlrpc/ChangeLog,v 1.23 2010/06/03 19:48:05 arfrever Exp $
+
+  03 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  py-xmlrpc-0.8.8.3-r1.ebuild:
+  Restrict 3.* Python ABIs (bug #322643).
 
 *py-xmlrpc-0.8.8.3-r1 (01 Mar 2010)
 
index cf0c0cdb7e80a9120a4e41addc46f09fd5ac7e56..d1586875398cc776b0156fc5e39e8944b334c120 100644 (file)
@@ -1,22 +1,29 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/py-xmlrpc/py-xmlrpc-0.8.8.3-r1.ebuild,v 1.1 2010/03/01 23:46:49 neurogeek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/py-xmlrpc/py-xmlrpc-0.8.8.3-r1.ebuild,v 1.2 2010/06/03 19:48:05 arfrever Exp $
 
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
 SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
 inherit distutils eutils
 
-IUSE="examples"
 DESCRIPTION="Fast XML-RPC implementation for Python"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 HOMEPAGE="http://sourceforge.net/projects/py-xmlrpc/"
-DEPEND="virtual/python"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="examples"
 
-src_prepare() {
+DEPEND=""
+RDEPEND=""
+
+PYTHON_MODNAME="pyxmlrpclib.py xmlrpc.py"
 
+src_prepare() {
        #http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/net/py-xmlrpc/files/
        epatch "${FILESDIR}/${PN}_patch-extra.patch"
        epatch "${FILESDIR}/${PN}_rpcBase64.patch"
@@ -25,8 +32,8 @@ src_prepare() {
        epatch "${FILESDIR}/${PN}_rpcDispatch.patch"
        epatch "${FILESDIR}/${PN}_rpcUtils.patch"
        epatch "${FILESDIR}/${PN}_rpcSource.patch"
-       distutils_src_prepare
 
+       distutils_src_prepare
 }
 
 src_install () {
@@ -38,5 +45,4 @@ src_install () {
                insinto "/usr/share/doc/${PF}/examples/crj"
                doins examples/crj/*
        fi
-
 }