blob: 0a928d29127c6e1b53c69dda320d714c734484d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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-20130911.ebuild,v 1.3 2014/08/10 21:13:24 slyfox Exp $
EAPI="5"
PYTHON_COMPAT=( python{2_6,2_7} pypy 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
}
|