diff options
Diffstat (limited to 'dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild')
-rw-r--r-- | dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild b/dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild new file mode 100644 index 000000000000..865b130a6749 --- /dev/null +++ b/dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild,v 1.1 2014/04/05 17:47:38 floppym Exp $ + +EAPI="5" +PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 ) + +inherit distutils-r1 + +DESCRIPTION="Python module for libnatpmp, an alternative protocol to UPnP IGD." +HOMEPAGE="http://miniupnp.free.fr/libnatpmp.html" +SRC_URI="http://miniupnp.free.fr/files/download.php?file=${P}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="~net-libs/${P}" +RDEPEND="${DEPEND}" + +python_prepare_all() { + epatch "${FILESDIR}"/link-against-system-lib.patch + + #These are installed by net-libs/libnatpmp + rm -f Changelog.txt README || die + distutils-r1_python_prepare_all +} |