Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/miniupnpc/files/, dev-python/miniupnpc/
Date: Thu, 26 Jan 2017 20:14:23
Message-Id: 1485461640.dccca917cba65080bc065b4a331c6e597a1894b6.mgorny@gentoo
1 commit: dccca917cba65080bc065b4a331c6e597a1894b6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 26 19:58:22 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 26 20:14:00 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dccca917
7
8 dev-python/miniupnpc: Bump to 2.0.20161216
9
10 dev-python/miniupnpc/Manifest | 1 +
11 .../files/miniupnpc-1.9.20150917-shared-lib.patch | 4 +--
12 dev-python/miniupnpc/miniupnpc-2.0.20161216.ebuild | 31 ++++++++++++++++++++++
13 3 files changed, 34 insertions(+), 2 deletions(-)
14
15 diff --git a/dev-python/miniupnpc/Manifest b/dev-python/miniupnpc/Manifest
16 index d56546f..bbc5435 100644
17 --- a/dev-python/miniupnpc/Manifest
18 +++ b/dev-python/miniupnpc/Manifest
19 @@ -1,2 +1,3 @@
20 DIST miniupnpc-1.8.tar.gz 70624 SHA256 bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c SHA512 8eedac9ad473fc952ca8896fe534d6da6b1b234e8b6f35f721394d4c71aca84ed287ca6c4f0455b50d97a45e4cd34e27d99a6813386e0864781364aa607e13d4 WHIRLPOOL 5b76ccbb5ed7daa9bb0d481b424b7c31a5f6dc85c5c812ba10175a29aefc0d3924f3db2aa8c3529d1241be59d67d1d4c702d27aad2de8c8a07fecf3857d73169
21 DIST miniupnpc-1.9.20151008.tar.gz 83538 SHA256 e444ac3b587ce82709c4d0cfca1fe71f44f9fc433e9f946b12b9e1bfe667a633 SHA512 b13e6044184f47d0f9e78c4c97d2887ab763121b2b21c86652bf3ea1b05335cfbcfd91eecb8d1dcfb5530f2528e6cf3e9c49c742d5e771dba68a774d2c2ad4ca WHIRLPOOL 839b531eb6cae7ada0bbaa0c4230a1f6889f6a288a114262bf6e27aa27638800636127fea3066427fb030e8f449794681d2bffeb8e2d30876d8ef9e4a3ade3cc
22 +DIST miniupnpc-2.0.20161216.tar.gz 85780 SHA256 01e14408d6fc628de9afabc4417b84adeaba4c0ec517e7b8e278cb2993dafd3e SHA512 ed1413fa6cd8eeb0d01e595e5470b255b1119a9bcf28da17765a4a3f0eb2b514409a9bfe9cd041274761b61441389c290754055ff07d599bb653a4efe47e920f WHIRLPOOL fde2dc16f5cfd6e7d066ec49646ac79b6d262988afe928d80aaf47f6b7f868a272ac46d3136c56ed8373e800d1538fe4dd6c34255080e2bd01cc0cb8b56e37fc
23
24 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
25 index 4765c6e..086c092 100644
26 --- a/dev-python/miniupnpc/files/miniupnpc-1.9.20150917-shared-lib.patch
27 +++ b/dev-python/miniupnpc/files/miniupnpc-1.9.20150917-shared-lib.patch
28 @@ -9,8 +9,8 @@ Subject: [PATCH] Use shared library when linking Python extensions
29
30 diff --git a/miniupnpc/setup.py b/miniupnpc/setup.py
31 index 049f670..2533ed4 100644
32 ---- a/miniupnpc/setup.py
33 -+++ b/miniupnpc/setup.py
34 +--- a/setup.py
35 ++++ b/setup.py
36 @@ -19,6 +19,6 @@ setup(name="miniupnpc",
37 description='miniUPnP client',
38 ext_modules=[
39
40 diff --git a/dev-python/miniupnpc/miniupnpc-2.0.20161216.ebuild b/dev-python/miniupnpc/miniupnpc-2.0.20161216.ebuild
41 new file mode 100644
42 index 00000000..fad8aaf
43 --- /dev/null
44 +++ b/dev-python/miniupnpc/miniupnpc-2.0.20161216.ebuild
45 @@ -0,0 +1,31 @@
46 +# Copyright 1999-2017 Gentoo Foundation
47 +# Distributed under the terms of the GNU General Public License v2
48 +# $Id$
49 +
50 +EAPI=6
51 +
52 +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy{,3} )
53 +
54 +inherit distutils-r1
55 +
56 +DESCRIPTION="Python bindings for UPnP client library"
57 +HOMEPAGE="http://miniupnp.free.fr/"
58 +SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
59 +
60 +LICENSE="BSD"
61 +SLOT="0"
62 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
63 +IUSE=""
64 +
65 +RDEPEND=">=net-libs/miniupnpc-${PV}:0="
66 +DEPEND="${RDEPEND}"
67 +
68 +PATCHES=(
69 + "${FILESDIR}"/miniupnpc-1.9.20150917-shared-lib.patch
70 +)
71 +
72 +# DOCS are installed by net-libs/miniupnpc.
73 +DOCS=()
74 +
75 +# Example test command:
76 +# python -c 'import miniupnpc; u = miniupnpc.UPnP(); u.discover(); u.selectigd(); print(u.externalipaddress())'