diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-06-10 16:24:03 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-06-10 16:41:38 +0200 |
commit | eae10a9d95b44f2738be078a1768e0e17c2f26e8 (patch) | |
tree | 956bd9a9dddd01864aab6f2f5fb42a1633bf1e52 /dev-python/miniupnpc/miniupnpc-2.2.8.ebuild | |
parent | net-libs/miniupnpc: Bump to 2.2.8 (diff) | |
download | gentoo-eae10a9d95b44f2738be078a1768e0e17c2f26e8.tar.gz gentoo-eae10a9d95b44f2738be078a1768e0e17c2f26e8.tar.bz2 gentoo-eae10a9d95b44f2738be078a1768e0e17c2f26e8.zip |
dev-python/miniupnpc: Bump to 2.2.8
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/miniupnpc/miniupnpc-2.2.8.ebuild')
-rw-r--r-- | dev-python/miniupnpc/miniupnpc-2.2.8.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/miniupnpc/miniupnpc-2.2.8.ebuild b/dev-python/miniupnpc/miniupnpc-2.2.8.ebuild new file mode 100644 index 000000000000..5c48455711f1 --- /dev/null +++ b/dev-python/miniupnpc/miniupnpc-2.2.8.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 verify-sig + +MY_P=${P/python-} +DESCRIPTION="Python bindings for UPnP client library" +HOMEPAGE=" + http://miniupnp.free.fr/ + https://miniupnp.tuxfamily.org/ + https://github.com/miniupnp/miniupnp/ +" +SRC_URI=" + https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz + verify-sig? ( + https://miniupnp.tuxfamily.org/files/${MY_P}.tar.gz.sig + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +DEPEND=" + >=net-libs/miniupnpc-${PV}:0= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + verify-sig? ( sec-keys/openpgp-keys-miniupnp ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/miniupnp.asc + +PATCHES=( + "${FILESDIR}"/miniupnpc-2.2.3-shared-lib.patch +) + +# DOCS are installed by net-libs/miniupnpc. +DOCS=() + +# Example test command: +# python -c 'import miniupnpc; u = miniupnpc.UPnP(); u.discover(); u.selectigd(); print(u.externalipaddress())' |