1 |
commit: 4cfec607c8361643a9bd95eac5a88f249346489c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 29 06:59:35 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 29 07:03:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cfec607 |
7 |
|
8 |
dev-python/miniupnpc: Bump to 2.2.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../files/miniupnpc-2.2.3-shared-lib.patch | 41 ++++++++++++++++++++++ |
13 |
dev-python/miniupnpc/miniupnpc-2.2.3.ebuild | 2 +- |
14 |
2 files changed, 42 insertions(+), 1 deletion(-) |
15 |
|
16 |
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 |
17 |
new file mode 100644 |
18 |
index 00000000000..6fbb17e60e9 |
19 |
--- /dev/null |
20 |
+++ b/dev-python/miniupnpc/files/miniupnpc-2.2.3-shared-lib.patch |
21 |
@@ -0,0 +1,41 @@ |
22 |
+From 7a61313dda299b16c4af3260ae5c11ce5945ed97 Mon Sep 17 00:00:00 2001 |
23 |
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o> |
24 |
+Date: Sun, 5 Nov 2017 09:24:00 +0100 |
25 |
+Subject: [PATCH] Link against the shared library |
26 |
+ |
27 |
+--- |
28 |
+ setup.py | 10 +--------- |
29 |
+ 1 file changed, 1 insertion(+), 9 deletions(-) |
30 |
+ |
31 |
+diff --git a/setup.py b/setup.py |
32 |
+index b84146f..73b05b7 100644 |
33 |
+--- a/setup.py |
34 |
++++ b/setup.py |
35 |
+@@ -13,13 +13,6 @@ from setuptools.command import build_ext |
36 |
+ import subprocess |
37 |
+ import os |
38 |
+ |
39 |
+-EXT = ['build/libminiupnpc.a'] |
40 |
+- |
41 |
+-class make_then_build_ext(build_ext.build_ext): |
42 |
+- def run(self): |
43 |
+- subprocess.check_call([os.environ.get('MAKE', 'make')] + EXT) |
44 |
+- build_ext.build_ext.run(self) |
45 |
+- |
46 |
+ setup(name="miniupnpc", |
47 |
+ version=open('VERSION').read().strip(), |
48 |
+ author='Thomas BERNARD', |
49 |
+@@ -27,9 +20,8 @@ setup(name="miniupnpc", |
50 |
+ license=open('LICENSE').read(), |
51 |
+ url='http://miniupnp.free.fr/', |
52 |
+ description='miniUPnP client', |
53 |
+- cmdclass={'build_ext': make_then_build_ext}, |
54 |
+ ext_modules=[ |
55 |
+ Extension(name="miniupnpc", sources=["src/miniupnpcmodule.c"], |
56 |
+- include_dirs=['include'], extra_objects=EXT) |
57 |
++ include_dirs=['/usr/include/miniupnpc'], libraries=['miniupnpc']) |
58 |
+ ]) |
59 |
+ |
60 |
+-- |
61 |
+2.15.0.rc2 |
62 |
+ |
63 |
|
64 |
diff --git a/dev-python/miniupnpc/miniupnpc-2.2.3.ebuild b/dev-python/miniupnpc/miniupnpc-2.2.3.ebuild |
65 |
index 292a8a41645..1c9a9048f4a 100644 |
66 |
--- a/dev-python/miniupnpc/miniupnpc-2.2.3.ebuild |
67 |
+++ b/dev-python/miniupnpc/miniupnpc-2.2.3.ebuild |
68 |
@@ -24,7 +24,7 @@ BDEPEND="verify-sig? ( app-crypt/openpgp-keys-miniupnp )" |
69 |
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/miniupnp.asc |
70 |
|
71 |
PATCHES=( |
72 |
- "${FILESDIR}"/miniupnpc-2.0.20171102-shared-lib.patch |
73 |
+ "${FILESDIR}"/miniupnpc-2.2.3-shared-lib.patch |
74 |
) |
75 |
|
76 |
# DOCS are installed by net-libs/miniupnpc. |