summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-07-09 00:13:14 +0000
committerAnthony G. Basile <blueness@gentoo.org>2013-07-09 00:13:14 +0000
commitdc2fffd6b14c6cf58a3b91f764f959c108f62583 (patch)
treeee0a5f554727e1d48faf7234665143ec9222180f /dev-python/libnatpmp
parentMarked ~hppa (bug #476198). (diff)
downloadgentoo-2-dc2fffd6b14c6cf58a3b91f764f959c108f62583.tar.gz
gentoo-2-dc2fffd6b14c6cf58a3b91f764f959c108f62583.tar.bz2
gentoo-2-dc2fffd6b14c6cf58a3b91f764f959c108f62583.zip
Convert to distutils-r1
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
Diffstat (limited to 'dev-python/libnatpmp')
-rw-r--r--dev-python/libnatpmp/ChangeLog4
-rw-r--r--dev-python/libnatpmp/libnatpmp-20120821.ebuild17
2 files changed, 11 insertions, 10 deletions
diff --git a/dev-python/libnatpmp/ChangeLog b/dev-python/libnatpmp/ChangeLog
index b45db8951a05..bcfb150da81e 100644
--- a/dev-python/libnatpmp/ChangeLog
+++ b/dev-python/libnatpmp/ChangeLog
@@ -1,4 +1,7 @@
+ 09 Jul 2013; Anthony G. Basile <blueness@gentoo.org>
+ libnatpmp-20120821.ebuild:
+ Convert to distutils-r1
*libnatpmp-20120821 (27 Aug 2012)
@@ -18,4 +21,3 @@
+libnatpmp-20110715.ebuild, +files/link-against-system-lib.patch,
+metadata.xml:
Initial commit
-
diff --git a/dev-python/libnatpmp/libnatpmp-20120821.ebuild b/dev-python/libnatpmp/libnatpmp-20120821.ebuild
index 277784ef41c9..f38b9b325b46 100644
--- a/dev-python/libnatpmp/libnatpmp-20120821.ebuild
+++ b/dev-python/libnatpmp/libnatpmp-20120821.ebuild
@@ -1,12 +1,11 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/libnatpmp/libnatpmp-20120821.ebuild,v 1.1 2012/08/27 00:50:36 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/libnatpmp/libnatpmp-20120821.ebuild,v 1.2 2013/07/09 00:13:14 blueness Exp $
-EAPI=3
-PYTHON_DEPEND=2
-RESTRICT_PYTHON_ABIS="3.*"
+EAPI=5
+PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy2_0 )
-inherit eutils distutils
+inherit distutils-r1
DESCRIPTION="Python module for libnatpmp, an alternative protocol to UPnP IGD."
HOMEPAGE="http://miniupnp.free.fr/libnatpmp.html"
@@ -17,13 +16,13 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="=net-libs/${PF}"
+DEPEND="=net-libs/${P}"
RDEPEND="${DEPEND}"
-src_prepare() {
+python_prepare_all() {
epatch "${FILESDIR}"/link-against-system-lib.patch
- distutils_src_prepare
#These are installed by net-libs/libnatpmp
rm -f Changelog.txt README || die
+ distutils-r1_python_prepare_all
}