1 |
commit: 4bfca778cda9114f04914681e9a9257d6d294852 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 30 14:40:52 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 30 14:41:15 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bfca778 |
7 |
|
8 |
net-libs/gupnp-1.0.3: py3 support and python-single-r1.eclass |
9 |
|
10 |
Python is used for install gupnp-binding-tool /usr/bin utility, |
11 |
there's no point installing it for all python versions supported, |
12 |
even if more than one is supported, as there's no point for the |
13 |
/usr/bin wrapper. Use python-single-r1 properly instead. |
14 |
The package not working with python3 seems to be an old comment, |
15 |
and other distributions seem to use it fine, so support up to |
16 |
py3.6 as well as the single-target choice. I don't have 3.7 quite |
17 |
yet to test that. |
18 |
|
19 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
20 |
|
21 |
net-libs/gupnp/gupnp-1.0.3.ebuild | 7 +++---- |
22 |
1 file changed, 3 insertions(+), 4 deletions(-) |
23 |
|
24 |
diff --git a/net-libs/gupnp/gupnp-1.0.3.ebuild b/net-libs/gupnp/gupnp-1.0.3.ebuild |
25 |
index 02c1369b673..7d734ad14af 100644 |
26 |
--- a/net-libs/gupnp/gupnp-1.0.3.ebuild |
27 |
+++ b/net-libs/gupnp/gupnp-1.0.3.ebuild |
28 |
@@ -3,11 +3,10 @@ |
29 |
|
30 |
EAPI="6" |
31 |
VALA_USE_DEPEND="vapigen" |
32 |
-# FIXME: Claims to works with python3 but appears to be wishful thinking |
33 |
-PYTHON_COMPAT=( python2_7 ) |
34 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
35 |
PYTHON_REQ_USE="xml" |
36 |
|
37 |
-inherit gnome2 multilib-minimal python-r1 vala |
38 |
+inherit gnome2 multilib-minimal python-single-r1 vala |
39 |
|
40 |
DESCRIPTION="An object-oriented framework for creating UPnP devs and control points" |
41 |
HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP" |
42 |
@@ -69,5 +68,5 @@ multilib_src_install() { |
43 |
|
44 |
multilib_src_install_all() { |
45 |
einstalldocs |
46 |
- python_foreach_impl python_doscript tools/gupnp-binding-tool |
47 |
+ python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool |
48 |
} |