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

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

  ViewVC Help
Powered by ViewVC 1.1.20