1 |
commit: 97b316f2e40bca7bf5e43ecc588ed47e1787b4b6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 1 16:55:51 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 1 16:56:14 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97b316f2 |
7 |
|
8 |
dev-python/miniupnpc: Version bump to match net-libs/miniupnpc |
9 |
|
10 |
Package-Manager: portage-2.2.20 |
11 |
|
12 |
dev-python/miniupnpc/Manifest | 1 + |
13 |
.../files/miniupnpc-1.9.20150917-shared-lib.patch | 24 +++++++++++++++++++ |
14 |
dev-python/miniupnpc/miniupnpc-1.9.20150917.ebuild | 28 ++++++++++++++++++++++ |
15 |
3 files changed, 53 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/miniupnpc/Manifest b/dev-python/miniupnpc/Manifest |
18 |
index 5cf9300..047bb67 100644 |
19 |
--- a/dev-python/miniupnpc/Manifest |
20 |
+++ b/dev-python/miniupnpc/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST miniupnpc-1.8.tar.gz 70624 SHA256 bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c SHA512 8eedac9ad473fc952ca8896fe534d6da6b1b234e8b6f35f721394d4c71aca84ed287ca6c4f0455b50d97a45e4cd34e27d99a6813386e0864781364aa607e13d4 WHIRLPOOL 5b76ccbb5ed7daa9bb0d481b424b7c31a5f6dc85c5c812ba10175a29aefc0d3924f3db2aa8c3529d1241be59d67d1d4c702d27aad2de8c8a07fecf3857d73169 |
23 |
+DIST miniupnpc-1.9.20150917.tar.gz 82609 SHA256 3087c32929c1e9db4947d6a184694e06ec604bca29449b75daec295a5d8f11da SHA512 1fe2613d19cbd16b6f6e9c8205e984548fb96d032a71a849f9b25486dc71b07ee270d2bfc324f218abe80c45f0b13b6af00e59cbf3a9e35b83ea5073bb897f65 WHIRLPOOL 60d0e9c94ddf8ef19106217158d01cc2f3edb854f34326c80c6ae694b65b80f1bc6810cc2b24a7b8525ef7c3982324c9859bdbdcb2e2e944747c371ba2015a6a |
24 |
|
25 |
diff --git a/dev-python/miniupnpc/files/miniupnpc-1.9.20150917-shared-lib.patch b/dev-python/miniupnpc/files/miniupnpc-1.9.20150917-shared-lib.patch |
26 |
new file mode 100644 |
27 |
index 0000000..4765c6e |
28 |
--- /dev/null |
29 |
+++ b/dev-python/miniupnpc/files/miniupnpc-1.9.20150917-shared-lib.patch |
30 |
@@ -0,0 +1,24 @@ |
31 |
+From cd8787999bf4c4b89601f6338ce765ea6229232c Mon Sep 17 00:00:00 2001 |
32 |
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o> |
33 |
+Date: Thu, 1 Oct 2015 18:49:26 +0200 |
34 |
+Subject: [PATCH] Use shared library when linking Python extensions |
35 |
+ |
36 |
+--- |
37 |
+ miniupnpc/setup.py | 2 +- |
38 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
39 |
+ |
40 |
+diff --git a/miniupnpc/setup.py b/miniupnpc/setup.py |
41 |
+index 049f670..2533ed4 100644 |
42 |
+--- a/miniupnpc/setup.py |
43 |
++++ b/miniupnpc/setup.py |
44 |
+@@ -19,6 +19,6 @@ setup(name="miniupnpc", |
45 |
+ description='miniUPnP client', |
46 |
+ ext_modules=[ |
47 |
+ Extension(name="miniupnpc", sources=["miniupnpcmodule.c"], |
48 |
+- extra_objects=["libminiupnpc.a"]) |
49 |
++ libraries=["miniupnpc"]) |
50 |
+ ]) |
51 |
+ |
52 |
+-- |
53 |
+2.6.0 |
54 |
+ |
55 |
|
56 |
diff --git a/dev-python/miniupnpc/miniupnpc-1.9.20150917.ebuild b/dev-python/miniupnpc/miniupnpc-1.9.20150917.ebuild |
57 |
new file mode 100644 |
58 |
index 0000000..6e36f37 |
59 |
--- /dev/null |
60 |
+++ b/dev-python/miniupnpc/miniupnpc-1.9.20150917.ebuild |
61 |
@@ -0,0 +1,28 @@ |
62 |
+# Copyright 1999-2015 Gentoo Foundation |
63 |
+# Distributed under the terms of the GNU General Public License v2 |
64 |
+# $Id$ |
65 |
+ |
66 |
+EAPI=5 |
67 |
+ |
68 |
+PYTHON_COMPAT=(python2_7 pypy) |
69 |
+ |
70 |
+inherit distutils-r1 |
71 |
+ |
72 |
+DESCRIPTION="Python bindings for UPnP client library" |
73 |
+HOMEPAGE="http://miniupnp.free.fr/" |
74 |
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" |
75 |
+ |
76 |
+LICENSE="BSD" |
77 |
+SLOT="0" |
78 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
79 |
+IUSE="" |
80 |
+ |
81 |
+RDEPEND=">=net-libs/miniupnpc-${PV}:0=" |
82 |
+DEPEND="${RDEPEND}" |
83 |
+ |
84 |
+PATCHES=( |
85 |
+ "${FILESDIR}"/miniupnpc-1.9.20150917-shared-lib.patch |
86 |
+) |
87 |
+ |
88 |
+# DOCS are installed by net-libs/miniupnpc. |
89 |
+DOCS=() |