From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 093FC138334 for ; Mon, 30 Jul 2018 14:47:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D333AE0870; Mon, 30 Jul 2018 14:47:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5E56E0870 for ; Mon, 30 Jul 2018 14:47:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7E64335C96 for ; Mon, 30 Jul 2018 14:47:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B59D388 for ; Mon, 30 Jul 2018 14:47:42 +0000 (UTC) From: "Mart Raudsepp" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" Message-ID: <1532961675.4bfca778cda9114f04914681e9a9257d6d294852.leio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gupnp/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/gupnp/gupnp-1.0.3.ebuild X-VCS-Directories: net-libs/gupnp/ X-VCS-Committer: leio X-VCS-Committer-Name: Mart Raudsepp X-VCS-Revision: 4bfca778cda9114f04914681e9a9257d6d294852 X-VCS-Branch: master Date: Mon, 30 Jul 2018 14:47:42 +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: 05198067-76a9-4ecf-83b8-27637e52d294 X-Archives-Hash: 83464e9205af691f8694d2efb3043a83 commit: 4bfca778cda9114f04914681e9a9257d6d294852 Author: Mart Raudsepp gentoo org> AuthorDate: Mon Jul 30 14:40:52 2018 +0000 Commit: Mart Raudsepp gentoo org> CommitDate: Mon Jul 30 14:41:15 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bfca778 net-libs/gupnp-1.0.3: py3 support and python-single-r1.eclass Python is used for install gupnp-binding-tool /usr/bin utility, there's no point installing it for all python versions supported, even if more than one is supported, as there's no point for the /usr/bin wrapper. Use python-single-r1 properly instead. The package not working with python3 seems to be an old comment, and other distributions seem to use it fine, so support up to py3.6 as well as the single-target choice. I don't have 3.7 quite yet to test that. Package-Manager: Portage-2.3.43, Repoman-2.3.10 net-libs/gupnp/gupnp-1.0.3.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/net-libs/gupnp/gupnp-1.0.3.ebuild b/net-libs/gupnp/gupnp-1.0.3.ebuild index 02c1369b673..7d734ad14af 100644 --- a/net-libs/gupnp/gupnp-1.0.3.ebuild +++ b/net-libs/gupnp/gupnp-1.0.3.ebuild @@ -3,11 +3,10 @@ EAPI="6" VALA_USE_DEPEND="vapigen" -# FIXME: Claims to works with python3 but appears to be wishful thinking -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) PYTHON_REQ_USE="xml" -inherit gnome2 multilib-minimal python-r1 vala +inherit gnome2 multilib-minimal python-single-r1 vala DESCRIPTION="An object-oriented framework for creating UPnP devs and control points" HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP" @@ -69,5 +68,5 @@ multilib_src_install() { multilib_src_install_all() { einstalldocs - python_foreach_impl python_doscript tools/gupnp-binding-tool + python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool }