commit: 8218b4a435e21c1ca614fb8ba82d3b9747e4e9d1 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Jan 11 05:48:42 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Jan 11 06:52:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8218b4a4
dev-python/miniupnpc: Bump to 2.3.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/miniupnpc/Manifest | 2 ++ dev-python/miniupnpc/miniupnpc-2.3.0.ebuild | 52 +++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-python/miniupnpc/Manifest b/dev-python/miniupnpc/Manifest index d3817492ccb5..384574121def 100644 --- a/dev-python/miniupnpc/Manifest +++ b/dev-python/miniupnpc/Manifest @@ -1,2 +1,4 @@ DIST miniupnpc-2.2.8.tar.gz 104603 BLAKE2B eae4d97bdf8c494ea6744edfeb870f9d92df8468d23f974e0e44e735fc7c8925189ea58f60a71c37315aebff1269ae69e9413cdf80dc292c4b90df5f12bf58a4 SHA512 526c9df1485302d4c9c78062fb058cfd433463f6e7a9f4025a9f5228aef41ee61a4b9e7a76b6cfa8779b91cc3c663846a997dc1470902d7108b129155e6a3360 DIST miniupnpc-2.2.8.tar.gz.sig 543 BLAKE2B b4d056972fc7e46c1e41a658d301db8e9a0d3b99af2220c264d06267b4e8ae45847e2bf2cd6583fded67f12c2e0a3c833ba7e38d9c05b5a0cc363e0c1fc8feae SHA512 b5eec0d24a84183021cd16bfd6ecedda587dee0bbb017fe6d107e8c2815ef90cf5f904c6fb9aa32e2e4d5f0b63de8566814c9a0d921b338b26b60ea35c23ecae +DIST miniupnpc-2.3.0.tar.gz 105071 BLAKE2B a5a2d22d99eb9f20fcb0b61107db61b97fec8207f5d8079c7d8e1d7bbc73478c3b575c7ecf32cb3ffe64f82a93673ab1f734139755c512d48439358e314e8762 SHA512 63efda015c7f693499a6f1f28b8356c4bb05ed0354fe2fb79042295607bf4f12c15082a48ced348ca5647fca9d83b99068c28311623f46225e9b09b5dc23a290 +DIST miniupnpc-2.3.0.tar.gz.sig 543 BLAKE2B acbc2fedd1984e2488aac4618a70b2f0e5573ab17beaa84660117fada915b9ee94e419ee4ddbeae30c04e4eff8749d2a8724b4826bd5ce8ac972908fbda1189c SHA512 081d6c77fb08863760e4ddeb5bc1a5414603782b785f1f86efe516e59a113a4da794895ad160922818574029189df32a0c57fe2558c2ce99d521aa2673d40d43 diff --git a/dev-python/miniupnpc/miniupnpc-2.3.0.ebuild b/dev-python/miniupnpc/miniupnpc-2.3.0.ebuild new file mode 100644 index 000000000000..8279a83834a9 --- /dev/null +++ b/dev-python/miniupnpc/miniupnpc-2.3.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 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..13} 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())' +distutils_enable_tests import-check