summaryrefslogtreecommitdiff
path: root/dev-python/libnatpmp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/libnatpmp
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/libnatpmp')
-rw-r--r--dev-python/libnatpmp/Manifest10
-rw-r--r--dev-python/libnatpmp/files/link-against-system-lib.patch12
-rw-r--r--dev-python/libnatpmp/libnatpmp-20130911.ebuild27
-rw-r--r--dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild27
-rw-r--r--dev-python/libnatpmp/libnatpmp-20150609.ebuild27
-rw-r--r--dev-python/libnatpmp/metadata.xml8
6 files changed, 111 insertions, 0 deletions
diff --git a/dev-python/libnatpmp/Manifest b/dev-python/libnatpmp/Manifest
new file mode 100644
index 000000000000..9ae307605b6f
--- /dev/null
+++ b/dev-python/libnatpmp/Manifest
@@ -0,0 +1,10 @@
+AUX link-against-system-lib.patch 536 SHA256 47809598d8d7c3b407785de3a27b99d4a3463be52706da7df55ce51a980b9658 SHA512 587abd1777fe87f42b90d789e3546707ef45ed4e8e5f228fc103f1e91ee5fbe3b5324afd3b70074dd845f8d555bc63263956c8077c7160d15088dbca36a3aa81 WHIRLPOOL 2666f8b8b9e271cd2e1c6b83c360fb492a9f8c9cdf83d45524a4953b2b0a17cf537d2b17d9da27006de851ad53f6549e21d8096bb7c3b27c18b019b0cec928e0
+DIST libnatpmp-20130911.tar.gz 18744 SHA256 a30d83b9175585cc0f5bff753ce7eb5d83aaecb6222ccac670ed759fea595d7d SHA512 e7dfb3955ccc2c30e7c74c1085bc71bd9318f6171b84fbad2d8ae8bd5a227f7ceed3f60ecb49bd10e6fb838d8be3325bbf467467bf0d04e46883e3a19fa14a2d WHIRLPOOL fafb32c930e21afd8c3e10528638be4b31d03a2bcfdc481b4f2ea682ae4b7fd0cf943f32b8a395f03ceeecf42a41370fcd49a6026bc3cd449b6e4fba39cf191f
+DIST libnatpmp-20140401.tar.gz 23302 SHA256 b2ce5e626a21c795cba2d118f26e54aaa89de29d4611c440fafc49a2a5bedabb SHA512 12616f07b0a096046a35079954b8a34d474e672d7836ddac9da993a47178902aa2d781786ac76c55c5f16cfdf6a7e7258f92fec3850714ad9cd50208d854c4c2 WHIRLPOOL c12bfbc83d1f30f20162c3fddd5452f53d6ef556452845c6303420718a92568c8e8174939a3ef2702045d7c2061f5aff57bfe81c3516452d84172ef6ecf08849
+DIST libnatpmp-20150609.tar.gz 24392 SHA256 e1aa9c4c4219bc06943d6b2130f664daee213fb262fcb94dd355815b8f4536b0 SHA512 e50b1f68ce9254bb2f068ddc37417a3c417b80f7b3fb3d84e3e9af4a144d89e204ab993b54c01657335e855d0124a8fcbbf96ce78db7b9ae0b03b6eb79de2e09 WHIRLPOOL 27243e13e445a8bbe592257e1029264c3535ef1c71ccaf476708e91c8ead39b778a2d07e6bc42500444b910a005d5be092c5a453df225a556975e97f4184b7c7
+EBUILD libnatpmp-20130911.ebuild 678 SHA256 9a24ec604d5c85cfac07148602c534b820874508775a3b93ec29c3a45d375490 SHA512 dbc6ddc32e6c347e356e9895839ce32b2c0acad9376866412936052b4c7154b593bbd288d9af82e451a2ee38815ca4f43a178d767065da0eaabd5afa55e41246 WHIRLPOOL 784959c2e29b3579f1ec39f436a450f56ac5f988c463a41cfc978d693c61511046ceaee9ac878b63e0207599d959c2cce3e690f4d8746f93527779aaf9d88ead
+EBUILD libnatpmp-20140401-r1.ebuild 678 SHA256 aba7c7ecc19452221f372c73c71bad480650d3dd7613f290e7d2e45740be7b61 SHA512 1eed86e389eb7700365b2f8119966d53a68b01128a5b9942c3bde55df878faffa5ea8637343c431959504c39be49061b6bd99781236d2407ec533b32f975ceba WHIRLPOOL d8bb5b283007e690067489212983cfccd28f61be54069a99a9bf60fc420b0439b82f9d4ad2ae9a294a0d0785a0e55f4ede1a656e9b86ea4e8208a138fea93503
+EBUILD libnatpmp-20150609.ebuild 678 SHA256 aba7c7ecc19452221f372c73c71bad480650d3dd7613f290e7d2e45740be7b61 SHA512 1eed86e389eb7700365b2f8119966d53a68b01128a5b9942c3bde55df878faffa5ea8637343c431959504c39be49061b6bd99781236d2407ec533b32f975ceba WHIRLPOOL d8bb5b283007e690067489212983cfccd28f61be54069a99a9bf60fc420b0439b82f9d4ad2ae9a294a0d0785a0e55f4ede1a656e9b86ea4e8208a138fea93503
+MISC ChangeLog 2360 SHA256 f40393a0e42b7bbeaf491a1e7a756171bfa1176789c9fa6d2c43b3ee01488307 SHA512 acef68704abe48015bde9bdbd74ad03fbbdc7c0e2bbb360d27d3cf4e5c7d6b5cc84c78a0ec7c75c174134c188a2a11e9074e1b686dd6562be9432368c99e656d WHIRLPOOL 1731ff88961c7fa0a999567b588ff8f8ecca81b068cd2c79f114593eba22637d6bd48d66c2b9d3437d1cfb18ae49c3e939eeeb46009b1255ae9744a83d54c710
+MISC ChangeLog-2015 2655 SHA256 5d124d20380942f2f16cb81e96a1b93fa3836c0e09166691bc8a8cf11ce57b1e SHA512 f4e98b9029f4eb469cf38cf40a8b08da622d7ace875d0fd8e5dd074e058c32955e00f57d87ebee280f23a735fdffb058486a7cb8af1954d352876e352d7380e0 WHIRLPOOL 8d91bac7a9e7ef9a6a9d0526fe425c0658bb6a46796a1a5856911109c93c91d33b81354cb0d4dfd52aa38e380b27dbd96f7f0e3359035eef3d96c5c253a5618c
+MISC metadata.xml 252 SHA256 a590e5133cd97a615db4f977b0e28e5c60c56cac76eb3d339109cdf379003b60 SHA512 cbda7bf9832872764ae776ce16b2966c37a2ba3a1982d9817006fd6b82d7b17146434cde428bf114062a483e9053d2acdcdd004695e6ebf428d19cdc09937c65 WHIRLPOOL b209a730a169969b9e3c4d4612368bc5b30bfa5fae275d98d83ba96fd0ad01d308a8fed4f7d67a7c9fa417c624dfeb23ce89ab58923a8a0b5b1bd68ee73f288c
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-20130911.ebuild b/dev-python/libnatpmp/libnatpmp-20130911.ebuild
new file mode 100644
index 000000000000..53cc321d66e6
--- /dev/null
+++ b/dev-python/libnatpmp/libnatpmp-20130911.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+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/${P}"
+RDEPEND="${DEPEND}"
+
+python_prepare_all() {
+ epatch "${FILESDIR}"/link-against-system-lib.patch
+
+ #These are installed by net-libs/libnatpmp
+ rm -f Changelog.txt README || die
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild b/dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild
new file mode 100644
index 000000000000..d870176a2408
--- /dev/null
+++ b/dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+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/${P}"
+RDEPEND="${DEPEND}"
+
+python_prepare_all() {
+ epatch "${FILESDIR}"/link-against-system-lib.patch
+
+ #These are installed by net-libs/libnatpmp
+ rm -f Changelog.txt README || die
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/libnatpmp/libnatpmp-20150609.ebuild b/dev-python/libnatpmp/libnatpmp-20150609.ebuild
new file mode 100644
index 000000000000..d870176a2408
--- /dev/null
+++ b/dev-python/libnatpmp/libnatpmp-20150609.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+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/${P}"
+RDEPEND="${DEPEND}"
+
+python_prepare_all() {
+ epatch "${FILESDIR}"/link-against-system-lib.patch
+
+ #These are installed by net-libs/libnatpmp
+ rm -f Changelog.txt README || die
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/libnatpmp/metadata.xml b/dev-python/libnatpmp/metadata.xml
new file mode 100644
index 000000000000..d920e3ba3e56
--- /dev/null
+++ b/dev-python/libnatpmp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+</pkgmetadata>