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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue Jul 9 00:13:14 2013 UTC (13 months, 3 weeks ago) by blueness
Branch: MAIN
Changes since 1.1: +8 -9 lines
Convert to distutils-r1

(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)

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

  ViewVC Help
Powered by ViewVC 1.1.20