Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/gupnp-igd/
Date: Tue, 09 Jan 2018 02:02:02
Message-Id: 1515452147.4b8697ce50d1f837ab9f954c7b2a88d9ad6a7f35.leio@gentoo
1 commit: 4b8697ce50d1f837ab9f954c7b2a88d9ad6a7f35
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 8 22:18:17 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 8 22:55:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b8697ce
7
8 net-libs/gupnp-igd: bump to 0.2.5, remove oldstyle python bindings, other overhaul
9
10 Upstream bump just switches to no-templates gtk-doc pregenerated docs, so take the
11 opportunity to overhaul the ebuild:
12
13 * Disable python bindings completely. Nothing in-tree needs those, and they are against
14 old pygobject. People should just use the introspection bindings via new pygobject.
15 Additionally unsure if they were even working before, the eautoreconf for shared linking
16 python modules had gotten lost long ago from migration away from autotools-utils.eclass.
17 * Fix LICENSE to LGPL-2.1+
18 * Use ltprune.eclass instead of full eutils.eclass for prune_libtool_files
19 * EAPI-6 port
20
21 Package-Manager: Portage-2.3.19, Repoman-2.3.6
22
23 net-libs/gupnp-igd/Manifest | 1 +
24 net-libs/gupnp-igd/gupnp-igd-0.2.5.ebuild | 50 +++++++++++++++++++++++++++++++
25 2 files changed, 51 insertions(+)
26
27 diff --git a/net-libs/gupnp-igd/Manifest b/net-libs/gupnp-igd/Manifest
28 index 7e7941bd5dd..6c46ed393ca 100644
29 --- a/net-libs/gupnp-igd/Manifest
30 +++ b/net-libs/gupnp-igd/Manifest
31 @@ -1,3 +1,4 @@
32 DIST gupnp-igd-0.2.2.tar.xz 262216 BLAKE2B a2c1980569b75643b4fc0ce3c28af0e949176572a8368179ad1152b3b9e5a0a879e067c48b37d423855c94f2cf993e8aea8b901b0684c33d31d78e64e3d26d24 SHA512 5e876b5e759f483b270d85f2125ede5db304b3664f22a6b4e68943ba5dbc6fe597e59ef44f23e284d15ee00809c28fc6194b44faa345cc6aec62927958a53583
33 DIST gupnp-igd-0.2.3.tar.xz 269920 BLAKE2B e3fd67b04f91348c1fbf236f6a9dc03e10575bacbed6ebc99a1be2817983844c2390b2f057c6464ed74e4f140c4cc2fb6bc941296b2db945a90647b77304b14c SHA512 74b4a6e34fe89b7fa92125664bb09354601fe0b476b909fc6c233027ec58914619c88e5bd951a675d7ccfc33d01b0fdddb21eb915d38c7ff824364dc62c319ac
34 DIST gupnp-igd-0.2.4.tar.xz 272004 BLAKE2B d195187faab17fcb5510afec0d024071936c5d61ac9ce4b4fd266cbc1ac238876935b588d91d7e55d3280ded4a0b39560a3b3bdbfec9cbccc3ab883ab1f75e1c SHA512 4da8d401935c4237661310aec0acb38e9c9fe54aeb6b2ef1c9533a8576dbd2d9f9db3b50c4e86b7efc81c80059a10ea52f73517dab23f3cdc0f91a5c0944dab8
35 +DIST gupnp-igd-0.2.5.tar.xz 287964 BLAKE2B 2267b991a0137006f122b3454bfb1bd9df0fd7fae2c47b50a394a2859f6e04375b55447830f6606c8a25260b9cafb75329cbdcd201c220a66fe881dce368abfe SHA512 3d2af29d10c2939a81c8745a50d9cc20be53f97a2112cec6e45bf05373d807d86404b61c776fea34b15ac341f9b7bfff2f3c48901dd241e64e18b5bc7e614cc8
36
37 diff --git a/net-libs/gupnp-igd/gupnp-igd-0.2.5.ebuild b/net-libs/gupnp-igd/gupnp-igd-0.2.5.ebuild
38 new file mode 100644
39 index 00000000000..71474607dad
40 --- /dev/null
41 +++ b/net-libs/gupnp-igd/gupnp-igd-0.2.5.ebuild
42 @@ -0,0 +1,50 @@
43 +# Copyright 1999-2018 Gentoo Foundation
44 +# Distributed under the terms of the GNU General Public License v2
45 +
46 +EAPI=6
47 +
48 +inherit ltprune gnome.org multilib-minimal xdg-utils
49 +
50 +DESCRIPTION="Library to handle UPnP IGD port mapping for GUPnP"
51 +HOMEPAGE="http://gupnp.org"
52 +
53 +LICENSE="LGPL-2.1+"
54 +SLOT="0"
55 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
56 +IUSE="+introspection"
57 +
58 +RDEPEND="
59 + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
60 + >=net-libs/gssdp-0.14.7[${MULTILIB_USEDEP}]
61 + >=net-libs/gupnp-0.20.10[${MULTILIB_USEDEP}]
62 + introspection? ( >=dev-libs/gobject-introspection-0.10 )
63 +"
64 +DEPEND="${RDEPEND}
65 + >=dev-util/gtk-doc-am-1.10
66 + sys-devel/gettext
67 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
68 +"
69 +
70 +# The only existing test is broken
71 +RESTRICT="test"
72 +
73 +multilib_src_configure() {
74 + xdg_environment_reset
75 +
76 + # python is old-style bindings; use introspection and pygobject instead
77 + ECONF_SOURCE=${S} \
78 + econf \
79 + --disable-static \
80 + --disable-gtk-doc \
81 + --disable-python \
82 + $(multilib_native_use_enable introspection)
83 +
84 + if multilib_is_native_abi; then
85 + ln -s "${S}"/doc/html doc/html || die
86 + fi
87 +}
88 +
89 +multilib_src_install_all() {
90 + einstalldocs
91 + prune_libtool_files
92 +}