commit:     0fa2428af279ab042b6e562729d8098ff9786fcc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  2 07:52:25 2015 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct  2 08:43:18 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fa2428a

www-servers/pshs: Version bump with miniupnpc compat & UPnP fix

Package-Manager: portage-2.2.22

 www-servers/pshs/Manifest                          |  1 +
 .../pshs/{pshs-9999.ebuild => pshs-0.3.ebuild}     | 22 ++++------------------
 www-servers/pshs/pshs-9999.ebuild                  | 13 ++++++-------
 3 files changed, 11 insertions(+), 25 deletions(-)

diff --git a/www-servers/pshs/Manifest b/www-servers/pshs/Manifest
index ecfcecd..83f18e6 100644
--- a/www-servers/pshs/Manifest
+++ b/www-servers/pshs/Manifest
@@ -1 +1,2 @@
 DIST pshs-0.2.6.tar.bz2 82150 SHA256 
8f3cf95e82de21ae6ffee1b50a1517ef5a63475a70bc2f01af124b6ea52e1459 SHA512 
d61addeb3ff1b347d333f0a625ff11c99ae8d2b6d47f980e2983847b85cdc0ac827bdc5a6f9044030016df4104b00a63eebc491b01e630f4f242154d064ec1d6
 WHIRLPOOL 
b11a7c2533895c9a9006562fb87018462498346c7ddb748804ca84891a2bdc643de27e30ff041169d5782b52199375675933222f3aa01cb2e92f5c0e555382c4
+DIST pshs-0.3.tar.bz2 81622 SHA256 
c3c4d2abc7f3ee9ef80eff2dd4811d542ab5b4b229e3a0615c50ae2a530d7e63 SHA512 
17dd21603ea36ecbe69923a2c476f6f41fea026b654a9d4819132047bad67f60a797cd0008afc85ab27ed3538681cfe8d79f9f33fc60823fd425337138723d45
 WHIRLPOOL 
515e551f41aee68729594f00bad4a9b48974103897d3e9a31e9ac77fe5dec62284cedac78759513b198d3638c3529842e517a903ee09b1aabb265dce6eeb92d2

diff --git a/www-servers/pshs/pshs-9999.ebuild 
b/www-servers/pshs/pshs-0.3.ebuild
similarity index 69%
copy from www-servers/pshs/pshs-9999.ebuild
copy to www-servers/pshs/pshs-0.3.ebuild
index 892184e..d195a4c 100644
--- a/www-servers/pshs/pshs-9999.ebuild
+++ b/www-servers/pshs/pshs-0.3.ebuild
@@ -1,19 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-#if LIVE
-AUTOTOOLS_AUTORECONF=yes
-EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git";
-
-inherit git-r3
-#endif
-
-inherit autotools-utils
-
-DESCRIPTION="Pretty small HTTP server - a command-line tool to share files"
+DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files"
 HOMEPAGE="https://bitbucket.org/mgorny/pshs/";
 SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2";
 
@@ -33,13 +24,8 @@ DEPEND="${RDEPEND}
                >=sys-kernel/linux-headers-2.6.27 )"
 # libnetlink is static only ATM
 
-#if LIVE
-KEYWORDS=
-SRC_URI=
-#endif
-
 src_configure() {
-       myeconfargs=(
+       local myconf=(
                $(use_enable magic libmagic)
                $(use_enable netlink)
                $(use_enable qrcode qrencode)
@@ -47,5 +33,5 @@ src_configure() {
                $(use_enable upnp)
        )
 
-       autotools-utils_src_configure
+       econf "${myconf[@]}"
 }

diff --git a/www-servers/pshs/pshs-9999.ebuild 
b/www-servers/pshs/pshs-9999.ebuild
index 892184e..6d71ea0 100644
--- a/www-servers/pshs/pshs-9999.ebuild
+++ b/www-servers/pshs/pshs-9999.ebuild
@@ -5,15 +5,12 @@
 EAPI=5
 
 #if LIVE
-AUTOTOOLS_AUTORECONF=yes
 EGIT_REPO_URI="https://bitbucket.org/mgorny/${PN}.git";
 
-inherit git-r3
+inherit autotools git-r3
 #endif
 
-inherit autotools-utils
-
-DESCRIPTION="Pretty small HTTP server - a command-line tool to share files"
+DESCRIPTION="Pretty small HTTP server -- a command-line tool to share files"
 HOMEPAGE="https://bitbucket.org/mgorny/pshs/";
 SRC_URI="https://www.bitbucket.org/mgorny/${PN}/downloads/${P}.tar.bz2";
 
@@ -36,10 +33,12 @@ DEPEND="${RDEPEND}
 #if LIVE
 KEYWORDS=
 SRC_URI=
+
+src_prepare() { eautoreconf; }
 #endif
 
 src_configure() {
-       myeconfargs=(
+       local myconf=(
                $(use_enable magic libmagic)
                $(use_enable netlink)
                $(use_enable qrcode qrencode)
@@ -47,5 +46,5 @@ src_configure() {
                $(use_enable upnp)
        )
 
-       autotools-utils_src_configure
+       econf "${myconf[@]}"
 }

Reply via email to