diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-11-26 06:40:50 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-11-26 06:40:50 +0100 |
commit | 4a26668a8d15d0af75610332d7be4d05b7a2ec61 (patch) | |
tree | f7a180613c4c2e5488790436b38c9a2ad6587607 /dev-python/miniupnpc | |
parent | dev-python/miniupnpc: Add MY_P to prepare for rename (diff) | |
download | gentoo-4a26668a8d15d0af75610332d7be4d05b7a2ec61.tar.gz gentoo-4a26668a8d15d0af75610332d7be4d05b7a2ec61.tar.bz2 gentoo-4a26668a8d15d0af75610332d7be4d05b7a2ec61.zip |
Rename dev-python/{miniupnpc → python-miniupnpc}
Rename the Python bindings to miniupnpc to have a unique name. No more
"ambiguous package name" errors for this one, at least.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/miniupnpc')
-rw-r--r-- | dev-python/miniupnpc/Manifest | 2 | ||||
-rw-r--r-- | dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch | 41 | ||||
-rw-r--r-- | dev-python/miniupnpc/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/miniupnpc/miniupnpc-2.2.4.ebuild | 51 |
4 files changed, 0 insertions, 106 deletions
diff --git a/dev-python/miniupnpc/Manifest b/dev-python/miniupnpc/Manifest deleted file mode 100644 index 6f8bb1688fd0..000000000000 --- a/dev-python/miniupnpc/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST miniupnpc-2.2.4.tar.gz 102932 BLAKE2B ebfea3fe978280825b7beefb8fe799685a72b0a74c589f5f55c7fde3d8c0d4bbb3d50fa0ff3aed554fa1e24ada0a1ab578328373f0295020415998fe35cde0a0 SHA512 f6515bda86405114016474fef6332c0c09a56b9293cf4391113f549444bab67e7d031af7b94dacff5e7c96d6508527204498c00fb67d6067685ef606b2152595 -DIST miniupnpc-2.2.4.tar.gz.sig 543 BLAKE2B 14a1a1979e2d248bb721c66db3e28c1d6f970477e94235bdfa77763d5f9d4c0da42b23d026e861f48cc34a17e009bf8c57aacc648435ec9e31c3c4b6c3347ffb SHA512 476d1a6cfc519f82461bf4d516f73d40cc3ef27886da68d2e805a24d9c4609c53566e258bd2b622e7716f43c81c14bc0f01b189d23b46b87afc3c76d4e6fa23e diff --git a/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch b/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch deleted file mode 100644 index 6fbb17e60e9f..000000000000 --- a/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 7a61313dda299b16c4af3260ae5c11ce5945ed97 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Sun, 5 Nov 2017 09:24:00 +0100 -Subject: [PATCH] Link against the shared library - ---- - setup.py | 10 +--------- - 1 file changed, 1 insertion(+), 9 deletions(-) - -diff --git a/setup.py b/setup.py -index b84146f..73b05b7 100644 ---- a/setup.py -+++ b/setup.py -@@ -13,13 +13,6 @@ from setuptools.command import build_ext - import subprocess - import os - --EXT = ['build/libminiupnpc.a'] -- --class make_then_build_ext(build_ext.build_ext): -- def run(self): -- subprocess.check_call([os.environ.get('MAKE', 'make')] + EXT) -- build_ext.build_ext.run(self) -- - 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', -- cmdclass={'build_ext': make_then_build_ext}, - ext_modules=[ - Extension(name="miniupnpc", sources=["src/miniupnpcmodule.c"], -- include_dirs=['include'], extra_objects=EXT) -+ include_dirs=['/usr/include/miniupnpc'], libraries=['miniupnpc']) - ]) - --- -2.15.0.rc2 - diff --git a/dev-python/miniupnpc/metadata.xml b/dev-python/miniupnpc/metadata.xml deleted file mode 100644 index 304bb292a330..000000000000 --- a/dev-python/miniupnpc/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <upstream> - <remote-id type="github">miniupnp/miniupnp</remote-id> - <remote-id type="pypi">miniupnpc</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/miniupnpc/miniupnpc-2.2.4.ebuild b/dev-python/miniupnpc/miniupnpc-2.2.4.ebuild deleted file mode 100644 index e0c4e28014c1..000000000000 --- a/dev-python/miniupnpc/miniupnpc-2.2.4.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} 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" -IUSE="" - -DEPEND=" - >=net-libs/miniupnpc-${PV}:0= -" -RDEPEND=" - ${DEPEND} -" -BDEPEND=" - verify-sig? ( sec-keys/openpgp-keys-miniupnp ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/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())' |