mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/miniupnpc: Bump to 2.2.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
76ce1f3050
commit
58d138f223
@ -1,2 +1,4 @@
|
||||
DIST miniupnpc-2.2.6.tar.gz 103949 BLAKE2B bf5ea9ce0194dcff47763989da6eea0282fe2507bab79a14bb699aa1f843730c95b448030d8100241787b899d3cc5e4e7ab4633ee2a97b9121eea05c90b138b0 SHA512 012a7a7c96694890af458933f0bc14573f5c85cc5f3021854e1a965574f993be174ca15c1b0edb224333c2560c3a44cd68a067527db832475a16dbbaaaf48125
|
||||
DIST miniupnpc-2.2.6.tar.gz.sig 543 BLAKE2B 243d9eacab92a33c6c9bf064333c6d2620c88d2bfb5b6bd1dd5f8360f355e8e4b0c0af596ceccc5783e9beaeb21bc2ba0c24fbf3d7448e92235f4a1a0793859a SHA512 750d0ffef99210552d96383bc67d4200f1306c4200ecac8b0d91f6796882a2c8686e83dbc3fe103d01d957a4212258e660c91a79a76ff87b2a7b0498bc5a822e
|
||||
DIST miniupnpc-2.2.7.tar.gz 104258 BLAKE2B 5681c1747c8e330442a0ad46d673e1739283bfc23571cb2225abf82326caa7da979911b3182cab2e3eea49140b90619f4e00bb5b1e2f0cd6067c28017cf87016 SHA512 d24e653c2f7bfed4485342c5ec8d18b4dd4c3430975b5fae392d3534f38bb3fb59e6638e76d57847f49045e22f3afd6cac128d7d9d10ef05bd6ad24ef38303b6
|
||||
DIST miniupnpc-2.2.7.tar.gz.sig 543 BLAKE2B 6649e5866afd13034b05a9d771c25c419e85631ca17ed7457e5811aee0ba8c38b0ad34033caa5b611cde21a63251e902e3f24cc4748e52a4a379ef075bf59dc5 SHA512 188837275b20c61c05babac916bff86178774030dbc191ecd0e5314c6e9b6dbb627680b512c554a8b27a020bd7503b141be26a134e0ed7e2cc56c7e2c01d9e81
|
||||
|
||||
@ -25,10 +25,7 @@ index b84146f..73b05b7 100644
|
||||
setup(name="miniupnpc",
|
||||
version=open('VERSION').read().strip(),
|
||||
author='Thomas BERNARD',
|
||||
@@ -27,9 +20,8 @@ setup(name="miniupnpc",
|
||||
license=open('LICENSE').read(),
|
||||
url='http://miniupnp.free.fr/',
|
||||
description='miniUPnP client',
|
||||
@@ -30,6 +23,5 @@ setup(name="miniupnpc",
|
||||
- cmdclass={'build_ext': make_then_build_ext},
|
||||
ext_modules=[
|
||||
Extension(name="miniupnpc", sources=["src/miniupnpcmodule.c"],
|
||||
|
||||
51
dev-python/miniupnpc/miniupnpc-2.2.7.ebuild
Normal file
51
dev-python/miniupnpc/miniupnpc-2.2.7.ebuild
Normal file
@ -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())'
|
||||
Loading…
x
Reference in New Issue
Block a user