/[gentoo-x86]/dev-python/libnatpmp/libnatpmp-20120821.ebuild
Gentoo

Diff of /dev-python/libnatpmp/libnatpmp-20120821.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-python/libnatpmp/Attic/libnatpmp-20120821.ebuild,v 1.2 2013/07/09 00:13:14 blueness Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-python/libnatpmp/Attic/libnatpmp-20120821.ebuild,v 1.3 2013/07/09 01:03:56 blueness Exp $
4 4
5EAPI=5 5EAPI=3
6PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy2_0 ) 6PYTHON_DEPEND=2
7RESTRICT_PYTHON_ABIS="3.*"
7 8
8inherit distutils-r1 9inherit eutils distutils
9 10
10DESCRIPTION="Python module for libnatpmp, an alternative protocol to UPnP IGD." 11DESCRIPTION="Python module for libnatpmp, an alternative protocol to UPnP IGD."
11HOMEPAGE="http://miniupnp.free.fr/libnatpmp.html" 12HOMEPAGE="http://miniupnp.free.fr/libnatpmp.html"
12SRC_URI="http://miniupnp.free.fr/files/download.php?file=${P}.tar.gz -> ${P}.tar.gz" 13SRC_URI="http://miniupnp.free.fr/files/download.php?file=${P}.tar.gz -> ${P}.tar.gz"
13 14
14LICENSE="BSD" 15LICENSE="BSD"
15SLOT="0" 16SLOT="0"
16KEYWORDS="~amd64 ~x86" 17KEYWORDS="~amd64 ~x86"
17IUSE="" 18IUSE=""
18 19
19DEPEND="=net-libs/${P}" 20DEPEND="=net-libs/${PF}"
20RDEPEND="${DEPEND}" 21RDEPEND="${DEPEND}"
21 22
22python_prepare_all() { 23src_prepare() {
23 epatch "${FILESDIR}"/link-against-system-lib.patch 24 epatch "${FILESDIR}"/link-against-system-lib.patch
25 distutils_src_prepare
24 26
25 #These are installed by net-libs/libnatpmp 27 #These are installed by net-libs/libnatpmp
26 rm -f Changelog.txt README || die 28 rm -f Changelog.txt README || die
27 distutils-r1_python_prepare_all
28} 29}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20