From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E4BB41383E0 for ; Thu, 1 Oct 2015 16:56:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67FC121C001; Thu, 1 Oct 2015 16:56:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7E5321C001 for ; Thu, 1 Oct 2015 16:56:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9019933D3C7 for ; Thu, 1 Oct 2015 16:56:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98C543A2 for ; Thu, 1 Oct 2015 16:56:18 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1443718574.97b316f2e40bca7bf5e43ecc588ed47e1787b4b6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/miniupnpc/, dev-python/miniupnpc/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/miniupnpc/Manifest dev-python/miniupnpc/files/miniupnpc-1.9.20150917-shared-lib.patch dev-python/miniupnpc/miniupnpc-1.9.20150917.ebuild X-VCS-Directories: dev-python/miniupnpc/files/ dev-python/miniupnpc/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 97b316f2e40bca7bf5e43ecc588ed47e1787b4b6 X-VCS-Branch: master Date: Thu, 1 Oct 2015 16:56:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ae2601e9-2552-4685-8d7b-7364d936da51 X-Archives-Hash: 7106bdd0b329ece7669c2a9404c82b17 commit: 97b316f2e40bca7bf5e43ecc588ed47e1787b4b6 Author: Michał Górny gentoo org> AuthorDate: Thu Oct 1 16:55:51 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Oct 1 16:56:14 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97b316f2 dev-python/miniupnpc: Version bump to match net-libs/miniupnpc Package-Manager: portage-2.2.20 dev-python/miniupnpc/Manifest | 1 + .../files/miniupnpc-1.9.20150917-shared-lib.patch | 24 +++++++++++++++++++ dev-python/miniupnpc/miniupnpc-1.9.20150917.ebuild | 28 ++++++++++++++++++++++ 3 files changed, 53 insertions(+) diff --git a/dev-python/miniupnpc/Manifest b/dev-python/miniupnpc/Manifest index 5cf9300..047bb67 100644 --- a/dev-python/miniupnpc/Manifest +++ b/dev-python/miniupnpc/Manifest @@ -1 +1,2 @@ DIST miniupnpc-1.8.tar.gz 70624 SHA256 bc5f73c7b0056252c1888a80e6075787a1e1e9112b808f863a245483ff79859c SHA512 8eedac9ad473fc952ca8896fe534d6da6b1b234e8b6f35f721394d4c71aca84ed287ca6c4f0455b50d97a45e4cd34e27d99a6813386e0864781364aa607e13d4 WHIRLPOOL 5b76ccbb5ed7daa9bb0d481b424b7c31a5f6dc85c5c812ba10175a29aefc0d3924f3db2aa8c3529d1241be59d67d1d4c702d27aad2de8c8a07fecf3857d73169 +DIST miniupnpc-1.9.20150917.tar.gz 82609 SHA256 3087c32929c1e9db4947d6a184694e06ec604bca29449b75daec295a5d8f11da SHA512 1fe2613d19cbd16b6f6e9c8205e984548fb96d032a71a849f9b25486dc71b07ee270d2bfc324f218abe80c45f0b13b6af00e59cbf3a9e35b83ea5073bb897f65 WHIRLPOOL 60d0e9c94ddf8ef19106217158d01cc2f3edb854f34326c80c6ae694b65b80f1bc6810cc2b24a7b8525ef7c3982324c9859bdbdcb2e2e944747c371ba2015a6a 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 new file mode 100644 index 0000000..4765c6e --- /dev/null +++ b/dev-python/miniupnpc/files/miniupnpc-1.9.20150917-shared-lib.patch @@ -0,0 +1,24 @@ +From cd8787999bf4c4b89601f6338ce765ea6229232c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Thu, 1 Oct 2015 18:49:26 +0200 +Subject: [PATCH] Use shared library when linking Python extensions + +--- + miniupnpc/setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/miniupnpc/setup.py b/miniupnpc/setup.py +index 049f670..2533ed4 100644 +--- a/miniupnpc/setup.py ++++ b/miniupnpc/setup.py +@@ -19,6 +19,6 @@ setup(name="miniupnpc", + description='miniUPnP client', + ext_modules=[ + Extension(name="miniupnpc", sources=["miniupnpcmodule.c"], +- extra_objects=["libminiupnpc.a"]) ++ libraries=["miniupnpc"]) + ]) + +-- +2.6.0 + diff --git a/dev-python/miniupnpc/miniupnpc-1.9.20150917.ebuild b/dev-python/miniupnpc/miniupnpc-1.9.20150917.ebuild new file mode 100644 index 0000000..6e36f37 --- /dev/null +++ b/dev-python/miniupnpc/miniupnpc-1.9.20150917.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=(python2_7 pypy) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for UPnP client library" +HOMEPAGE="http://miniupnp.free.fr/" +SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RDEPEND=">=net-libs/miniupnpc-${PV}:0=" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/miniupnpc-1.9.20150917-shared-lib.patch +) + +# DOCS are installed by net-libs/miniupnpc. +DOCS=()