From: Anthony G. Basile Date: Sun, 7 Aug 2011 02:51:55 +0000 (+0000) Subject: Initial commit X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ef3481339b11679266f9c48e2c7fe892e7bfffd6;p=gentoo.git Initial commit Package-Manager: portage-2.1.10.3/cvs/Linux x86_64 --- diff --git a/dev-python/libnatpmp/ChangeLog b/dev-python/libnatpmp/ChangeLog new file mode 100644 index 000000000000..3fc71aa78b06 --- /dev/null +++ b/dev-python/libnatpmp/ChangeLog @@ -0,0 +1,9 @@ + + +*libnatpmp-20110715 (07 Aug 2011) + + 07 Aug 2011; Anthony G. Basile + +libnatpmp-20110715.ebuild, +files/link-against-system-lib.patch, + +metadata.xml: + Initial commit + diff --git a/dev-python/libnatpmp/Manifest b/dev-python/libnatpmp/Manifest new file mode 100644 index 000000000000..c9cb24771c6a --- /dev/null +++ b/dev-python/libnatpmp/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX link-against-system-lib.patch 536 RMD160 34cec3a3eb972468c2329d40b4e421cfc60f4a30 SHA1 ebade41308e57bfa0690d854045287ea12d7687c SHA256 47809598d8d7c3b407785de3a27b99d4a3463be52706da7df55ce51a980b9658 +DIST libnatpmp-20110715.tar.gz 17943 RMD160 df9c656fdaa2782863670c334c840ff2ceab3e6b SHA1 87338bbbe07c627d33c5935b92b9f2c7622fe885 SHA256 853364242b2ad21ada841de484ad702f609d822690816a0c04a324f5963bed58 +EBUILD libnatpmp-20110715.ebuild 801 RMD160 3c18ab71ea680bc8ffb78c084442efea73567988 SHA1 65b9f7f2eb9b655ed19be605855993724f301b0f SHA256 029499d993d0668920dc8ff7a3117a25bdf2fcd4d1b4f336580f6e2c71880079 +MISC ChangeLog 195 RMD160 d6cd5215a30342de31bc1cc889864e6c70c406bb SHA1 bec467f19d7bc2aaffc8f6c55fb87951f6e5d44e SHA256 212e84d9617a264894ab8d1f4462649ea606d80cfaf72b5f4c8ba6645e8c6569 +MISC metadata.xml 260 RMD160 fbefa5d68419d2a2c7f16e2be1b7d32bdf550da6 SHA1 2ae3d90be714fe96cb79937e2e9ecc1a7b4bf7a1 SHA256 7b301cfccb3820f218f51a1a3acafb5a640a92dff1155c2ad4cc955b6c3351fb +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iEYEAREIAAYFAk49/dUACgkQl5yvQNBFVTW08gCfafI5OzXMEG4XlyVDA1A1y3uc +V3EAn0woiA+gxvAyJXsFR0MzZBgIxYih +=vkX4 +-----END PGP SIGNATURE----- diff --git a/dev-python/libnatpmp/files/link-against-system-lib.patch b/dev-python/libnatpmp/files/link-against-system-lib.patch new file mode 100644 index 000000000000..cdb64a9ce12b --- /dev/null +++ b/dev-python/libnatpmp/files/link-against-system-lib.patch @@ -0,0 +1,12 @@ +diff -Naur libnatpmp-20110715.orig//setup.py libnatpmp-20110715/setup.py +--- libnatpmp-20110715.orig//setup.py 2009-06-04 17:37:06.000000000 -0400 ++++ libnatpmp-20110715/setup.py 2011-08-03 06:55:11.000000000 -0400 +@@ -8,7 +8,7 @@ + setup(name="libnatpmp", version="1.0", + ext_modules=[ + Extension(name="libnatpmp", sources=["libnatpmpmodule.c"], +- extra_objects=["libnatpmp.a"], ++ libraries=["natpmp"], + define_macros=[('ENABLE_STRNATPMPERR', None)] + )] + ) diff --git a/dev-python/libnatpmp/libnatpmp-20110715.ebuild b/dev-python/libnatpmp/libnatpmp-20110715.ebuild new file mode 100644 index 000000000000..44362d1d5d72 --- /dev/null +++ b/dev-python/libnatpmp/libnatpmp-20110715.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/libnatpmp/libnatpmp-20110715.ebuild,v 1.1 2011/08/07 02:51:55 blueness Exp $ + +EAPI=3 +PYTHON_DEPEND=2 +RESTRICT_PYTHON_ABIS="3.*" + +inherit eutils distutils + +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/libnatpmp" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/link-against-system-lib.patch + distutils_src_prepare + + #These are installed by net-libs/libnatpmp + rm -f Changelog.txt README || die +} diff --git a/dev-python/libnatpmp/metadata.xml b/dev-python/libnatpmp/metadata.xml new file mode 100644 index 000000000000..52e5c5874f0a --- /dev/null +++ b/dev-python/libnatpmp/metadata.xml @@ -0,0 +1,9 @@ + + + + no-herd + + blueness@gentoo.org + Anthony G. Basile + +