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: net-misc/autoupnp/
Date: Fri, 02 Oct 2015 08:43:31
Message-Id: 1443775398.af73ad4881c33899d4a796aec673d4021e697e22.mgorny@gentoo
1 commit: af73ad4881c33899d4a796aec673d4021e697e22
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 07:49:27 2015 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 2 08:43:18 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af73ad48
7
8 net-misc/autoupnp: Version bump with miniupnpc compat fix
9
10 Package-Manager: portage-2.2.22
11
12 net-misc/autoupnp/Manifest | 1 +
13 ...{autoupnp-9999.ebuild => autoupnp-0.4.7.ebuild} | 25 ++++++++--------------
14 net-misc/autoupnp/autoupnp-9999.ebuild | 18 ++++++++++------
15 3 files changed, 22 insertions(+), 22 deletions(-)
16
17 diff --git a/net-misc/autoupnp/Manifest b/net-misc/autoupnp/Manifest
18 index 2633bf0..8a8b485 100644
19 --- a/net-misc/autoupnp/Manifest
20 +++ b/net-misc/autoupnp/Manifest
21 @@ -1 +1,2 @@
22 DIST autoupnp-0.4.6.tar.bz2 240257 SHA256 a8d0a207074fafdb322510fd29a25eb4bf62da9468ea3dc45e7c9740faeccab7 SHA512 570ae76d940879a375e9336cb62cce8b2e007c57df6cbebee5878cf6a71d1fe5853218166ba0ee794586fa20a7c62b158aae9242b30880f6fe110c9bb1502ba1 WHIRLPOOL 4b2d848f36e3f2848e6f08f71296b5cf3fe7794bdfc9e6495428b3b3ae9283ed15e81de0bec2fdf0b36173d59a4c7dbec5dbef30bf3a0ba24e320de313cb20ab
23 +DIST autoupnp-0.4.7.tar.bz2 264916 SHA256 f68c80ae6e8061417bef2fb2ad554d49f0bf4b5ef2def84600a4b67fa756c703 SHA512 2c6bb3421fecbffea2a63ea1e930b7c789459d4626a0f281abe0e9bb62e5efc772475d4bf0c9f13fe2e9e13417940c6eb17408e6aae28bc24a4fc2e16d4dc8de WHIRLPOOL d08f6011d286f37d70d206cabe148a95e02b71bf9fdc13852da038bb87f4dde99fb206382e12879d81bff3dd5f133aae0b4bfb4c4168f8b76a4a0a2d4fbc4168
24
25 diff --git a/net-misc/autoupnp/autoupnp-9999.ebuild b/net-misc/autoupnp/autoupnp-0.4.7.ebuild
26 similarity index 61%
27 copy from net-misc/autoupnp/autoupnp-9999.ebuild
28 copy to net-misc/autoupnp/autoupnp-0.4.7.ebuild
29 index be3f1f8..b7f0665 100644
30 --- a/net-misc/autoupnp/autoupnp-9999.ebuild
31 +++ b/net-misc/autoupnp/autoupnp-0.4.7.ebuild
32 @@ -4,18 +4,11 @@
33
34 EAPI=5
35
36 -#if LIVE
37 -AUTOTOOLS_AUTORECONF=yes
38 -EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git"
39 -
40 -inherit git-r3
41 -#endif
42 -
43 -inherit autotools-utils
44 +inherit eutils
45
46 DESCRIPTION="Automatic open port forwarder using UPnP"
47 HOMEPAGE="https://bitbucket.org/mgorny/autoupnp/"
48 -SRC_URI="https://www.bitbucket.org/mgorny/${PN}/${P}.tar.bz2"
49 +SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
50
51 LICENSE="BSD"
52 SLOT="0"
53 @@ -26,15 +19,15 @@ RDEPEND="net-libs/miniupnpc:0=
54 libnotify? ( x11-libs/libtinynotify:0= )"
55 DEPEND="${RDEPEND}"
56
57 -#if LIVE
58 -KEYWORDS=
59 -SRC_URI=
60 -#endif
61 -
62 src_configure() {
63 - myeconfargs=(
64 + local myconf=(
65 $(use_with libnotify)
66 )
67
68 - autotools-utils_src_configure
69 + econf "${myconf[@]}"
70 +}
71 +
72 +src_install() {
73 + default
74 + prune_libtool_files --all
75 }
76
77 diff --git a/net-misc/autoupnp/autoupnp-9999.ebuild b/net-misc/autoupnp/autoupnp-9999.ebuild
78 index be3f1f8..0dc42ee 100644
79 --- a/net-misc/autoupnp/autoupnp-9999.ebuild
80 +++ b/net-misc/autoupnp/autoupnp-9999.ebuild
81 @@ -5,17 +5,16 @@
82 EAPI=5
83
84 #if LIVE
85 -AUTOTOOLS_AUTORECONF=yes
86 EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git"
87
88 -inherit git-r3
89 +inherit autotools git-r3
90 #endif
91
92 -inherit autotools-utils
93 +inherit eutils
94
95 DESCRIPTION="Automatic open port forwarder using UPnP"
96 HOMEPAGE="https://bitbucket.org/mgorny/autoupnp/"
97 -SRC_URI="https://www.bitbucket.org/mgorny/${PN}/${P}.tar.bz2"
98 +SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
99
100 LICENSE="BSD"
101 SLOT="0"
102 @@ -29,12 +28,19 @@ DEPEND="${RDEPEND}"
103 #if LIVE
104 KEYWORDS=
105 SRC_URI=
106 +
107 +src_prepare() { eautoreconf; }
108 #endif
109
110 src_configure() {
111 - myeconfargs=(
112 + local myconf=(
113 $(use_with libnotify)
114 )
115
116 - autotools-utils_src_configure
117 + econf "${myconf[@]}"
118 +}
119 +
120 +src_install() {
121 + default
122 + prune_libtool_files --all
123 }