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

Contents of /dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Apr 6 17:23:28 2014 UTC (8 months, 2 weeks ago) by mgorny
Branch: MAIN
Changes since 1.1: +2 -2 lines
Enable PYTHON_TARGETS=pypy.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild,v 1.1 2014/04/05 17:47:38 floppym Exp $
4
5 EAPI="5"
6 PYTHON_COMPAT=( python{2_6,2_7} pypy pypy2_0 )
7
8 inherit distutils-r1
9
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 DEPEND="~net-libs/${P}"
20 RDEPEND="${DEPEND}"
21
22 python_prepare_all() {
23 epatch "${FILESDIR}"/link-against-system-lib.patch
24
25 #These are installed by net-libs/libnatpmp
26 rm -f Changelog.txt README || die
27 distutils-r1_python_prepare_all
28 }

  ViewVC Help
Powered by ViewVC 1.1.20