diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/libnatpmp | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/libnatpmp')
-rw-r--r-- | dev-python/libnatpmp/Manifest | 8 | ||||
-rw-r--r-- | dev-python/libnatpmp/files/link-against-system-lib.patch | 12 | ||||
-rw-r--r-- | dev-python/libnatpmp/libnatpmp-20130911.ebuild | 27 | ||||
-rw-r--r-- | dev-python/libnatpmp/libnatpmp-20140401-r1.ebuild | 27 | ||||
-rw-r--r-- | dev-python/libnatpmp/libnatpmp-20150609.ebuild | 27 | ||||
-rw-r--r-- | dev-python/libnatpmp/metadata.xml | 8 |
6 files changed, 109 insertions, 0 deletions
diff --git a/dev-python/libnatpmp/Manifest b/dev-python/libnatpmp/Manifest new file mode 100644 index 000000000000..301afffef32b --- /dev/null +++ b/dev-python/libnatpmp/Manifest @@ -0,0 +1,8 @@ +AUX link-against-system-lib.patch 536 BLAKE2B 0e252420557741e8cd4ba7c753fd7213de5e6c68a6aa4a0a10f896dd807e5fc0b99ef8627aa3640573cc95a407f226d879be5df12a86c4fcb1b84259a49c3863 SHA512 587abd1777fe87f42b90d789e3546707ef45ed4e8e5f228fc103f1e91ee5fbe3b5324afd3b70074dd845f8d555bc63263956c8077c7160d15088dbca36a3aa81 +DIST libnatpmp-20130911.tar.gz 18744 BLAKE2B c24a0cb158d9d40049292bfcae8d919bbe8ec6ea63dfd59ba8a8f2c85a9eaaebb96cf4f70f2c40c456169f63a8c2aff4736d952899d15ad7e7f687e13a4e77b3 SHA512 e7dfb3955ccc2c30e7c74c1085bc71bd9318f6171b84fbad2d8ae8bd5a227f7ceed3f60ecb49bd10e6fb838d8be3325bbf467467bf0d04e46883e3a19fa14a2d +DIST libnatpmp-20140401.tar.gz 23302 BLAKE2B 85f2b1045ad3b8b122bc9db6a12d332642e11bd62cd5fa264e141bb75d2dae2920678ce8c240009272593f81f385277d7f911298667896babbc43c8393a8963b SHA512 12616f07b0a096046a35079954b8a34d474e672d7836ddac9da993a47178902aa2d781786ac76c55c5f16cfdf6a7e7258f92fec3850714ad9cd50208d854c4c2 +DIST libnatpmp-20150609.tar.gz 24392 BLAKE2B 0a8df6badf222328a24ae94a97386593c42bcda58cada97d37a2cf74f6f6b5e27189753590552187ed7afce66d34d204b9d18ecd38ac0bcbadf8c8129a3b44ad SHA512 e50b1f68ce9254bb2f068ddc37417a3c417b80f7b3fb3d84e3e9af4a144d89e204ab993b54c01657335e855d0124a8fcbbf96ce78db7b9ae0b03b6eb79de2e09 +EBUILD libnatpmp-20130911.ebuild 678 BLAKE2B 1ad0bea6c86f4ee84bbc3f16ea6f8d3d1b9550308645dccabc455af75846ee6d73f49840801edd0cda97c012ccaa4e7667bf132bc20a02dc3d7e5e1941fa89ee SHA512 dbc6ddc32e6c347e356e9895839ce32b2c0acad9376866412936052b4c7154b593bbd288d9af82e451a2ee38815ca4f43a178d767065da0eaabd5afa55e41246 +EBUILD libnatpmp-20140401-r1.ebuild 678 BLAKE2B f96de2bf573b166e20ffbd8f5bc77de97c727d4d31ae6e56d03dc4d94f97f6485185f65e21449f7d9ef3aee228197d167b5b9ad427bb5f17bcc3a8bfd940a126 SHA512 1eed86e389eb7700365b2f8119966d53a68b01128a5b9942c3bde55df878faffa5ea8637343c431959504c39be49061b6bd99781236d2407ec533b32f975ceba +EBUILD libnatpmp-20150609.ebuild 678 BLAKE2B f96de2bf573b166e20ffbd8f5bc77de97c727d4d31ae6e56d03dc4d94f97f6485185f65e21449f7d9ef3aee228197d167b5b9ad427bb5f17bcc3a8bfd940a126 SHA512 1eed86e389eb7700365b2f8119966d53a68b01128a5b9942c3bde55df878faffa5ea8637343c431959504c39be49061b6bd99781236d2407ec533b32f975ceba +MISC metadata.xml 252 BLAKE2B f6282e2a99df668246ea8570c72345463f06d282b6adc6d9de2a08ef0827cf4572332c580caa594aad5ba8e200870d8d25494549ee4413798025f0d885b61a68 SHA512 cbda7bf9832872764ae776ce16b2966c37a2ba3a1982d9817006fd6b82d7b17146434cde428bf114062a483e9053d2acdcdd004695e6ebf428d19cdc09937c65 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> |