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: www-servers/pshs/
Date: Fri, 02 Oct 2015 08:43:30
Message-Id: 1443775398.0fa2428af279ab042b6e562729d8098ff9786fcc.mgorny@gentoo
1 commit: 0fa2428af279ab042b6e562729d8098ff9786fcc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 2 07:52:25 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=0fa2428a
7
8 www-servers/pshs: Version bump with miniupnpc compat & UPnP fix
9
10 Package-Manager: portage-2.2.22
11
12 www-servers/pshs/Manifest | 1 +
13 .../pshs/{pshs-9999.ebuild => pshs-0.3.ebuild} | 22 ++++------------------
14 www-servers/pshs/pshs-9999.ebuild | 13 ++++++-------
15 3 files changed, 11 insertions(+), 25 deletions(-)
16
17 diff --git a/www-servers/pshs/Manifest b/www-servers/pshs/Manifest
18 index ecfcecd..83f18e6 100644
19 --- a/www-servers/pshs/Manifest
20 +++ b/www-servers/pshs/Manifest
21 @@ -1 +1,2 @@
22 DIST pshs-0.2.6.tar.bz2 82150 SHA256 8f3cf95e82de21ae6ffee1b50a1517ef5a63475a70bc2f01af124b6ea52e1459 SHA512 d61addeb3ff1b347d333f0a625ff11c99ae8d2b6d47f980e2983847b85cdc0ac827bdc5a6f9044030016df4104b00a63eebc491b01e630f4f242154d064ec1d6 WHIRLPOOL b11a7c2533895c9a9006562fb87018462498346c7ddb748804ca84891a2bdc643de27e30ff041169d5782b52199375675933222f3aa01cb2e92f5c0e555382c4
23 +DIST pshs-0.3.tar.bz2 81622 SHA256 c3c4d2abc7f3ee9ef80eff2dd4811d542ab5b4b229e3a0615c50ae2a530d7e63 SHA512 17dd21603ea36ecbe69923a2c476f6f41fea026b654a9d4819132047bad67f60a797cd0008afc85ab27ed3538681cfe8d79f9f33fc60823fd425337138723d45 WHIRLPOOL 515e551f41aee68729594f00bad4a9b48974103897d3e9a31e9ac77fe5dec62284cedac78759513b198d3638c3529842e517a903ee09b1aabb265dce6eeb92d2
24
25 diff --git a/www-servers/pshs/pshs-9999.ebuild b/www-servers/pshs/pshs-0.3.ebuild
26 similarity index 69%
27 copy from www-servers/pshs/pshs-9999.ebuild
28 copy to www-servers/pshs/pshs-0.3.ebuild
29 index 892184e..d195a4c 100644
30 --- a/www-servers/pshs/pshs-9999.ebuild
31 +++ b/www-servers/pshs/pshs-0.3.ebuild
32 @@ -1,19 +1,10 @@
33 -# Copyright 1999-2014 Gentoo Foundation
34 +# Copyright 1999-2015 Gentoo Foundation
35 # Distributed under the terms of the GNU General Public License v2
36 # $Id$
37
38 EAPI=5
39
40 -#if LIVE
41 -AUTOTOOLS_AUTORECONF=yes
42 -EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git"
43 -
44 -inherit git-r3
45 -#endif
46 -
47 -inherit autotools-utils
48 -
49 -DESCRIPTION="Pretty small HTTP server - a command-line tool to share files"
50 +DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files"
51 HOMEPAGE="https://bitbucket.org/mgorny/pshs/"
52 SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
53
54 @@ -33,13 +24,8 @@ DEPEND="${RDEPEND}
55 >=sys-kernel/linux-headers-2.6.27 )"
56 # libnetlink is static only ATM
57
58 -#if LIVE
59 -KEYWORDS=
60 -SRC_URI=
61 -#endif
62 -
63 src_configure() {
64 - myeconfargs=(
65 + local myconf=(
66 $(use_enable magic libmagic)
67 $(use_enable netlink)
68 $(use_enable qrcode qrencode)
69 @@ -47,5 +33,5 @@ src_configure() {
70 $(use_enable upnp)
71 )
72
73 - autotools-utils_src_configure
74 + econf "${myconf[@]}"
75 }
76
77 diff --git a/www-servers/pshs/pshs-9999.ebuild b/www-servers/pshs/pshs-9999.ebuild
78 index 892184e..6d71ea0 100644
79 --- a/www-servers/pshs/pshs-9999.ebuild
80 +++ b/www-servers/pshs/pshs-9999.ebuild
81 @@ -5,15 +5,12 @@
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 -
94 -DESCRIPTION="Pretty small HTTP server - a command-line tool to share files"
95 +DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files"
96 HOMEPAGE="https://bitbucket.org/mgorny/pshs/"
97 SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2"
98
99 @@ -36,10 +33,12 @@ DEPEND="${RDEPEND}
100 #if LIVE
101 KEYWORDS=
102 SRC_URI=
103 +
104 +src_prepare() { eautoreconf; }
105 #endif
106
107 src_configure() {
108 - myeconfargs=(
109 + local myconf=(
110 $(use_enable magic libmagic)
111 $(use_enable netlink)
112 $(use_enable qrcode qrencode)
113 @@ -47,5 +46,5 @@ src_configure() {
114 $(use_enable upnp)
115 )
116
117 - autotools-utils_src_configure
118 + econf "${myconf[@]}"
119 }