commit:     86552848e1c05f1425186402bf8c51fd560b2492
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 19 21:59:40 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 19 22:01:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86552848

app-shells/posh: Bugfix bump to 0.12.6

Update to 0.12.6 where upstream included our test patch and regenerated
autotools files.

 app-shells/posh/Manifest                           |  2 +-
 .../posh/files/posh-0.12.5-test-perl-fix.patch     | 37 ----------------------
 .../{posh-0.12.5.ebuild => posh-0.12.6.ebuild}     | 11 +------
 3 files changed, 2 insertions(+), 48 deletions(-)

diff --git a/app-shells/posh/Manifest b/app-shells/posh/Manifest
index 3545e98..1cd9f2f 100644
--- a/app-shells/posh/Manifest
+++ b/app-shells/posh/Manifest
@@ -1,2 +1,2 @@
-DIST posh_0.12.5.tar.xz 267356 SHA256 
adf1b5670b9978c3b6d5ae64356be72d8c31db1750a7600ff981fec3ff920a0a SHA512 
03fabb32eb2cd38b90cf4bef641a9ce35e3e79a65b22bf6c8654b0da9d05385efe1fb5c0274deba9c616c7aba443f9a408194a066983edf051be1098be11f21e
 WHIRLPOOL 
7a6275c14818cc24085e9383e9fce51dbb71ebdb001af2a7f5bc061a807e4681f83f57a6a2aa5bac4655d8f24466e9a7f0e573c584d04e660a668995d0144b8f
+DIST posh_0.12.6.tar.xz 268872 SHA256 
32d00153b448df535fd095d768db2771794bfc54002efd711abc48a40481170d SHA512 
2b862264dd13c840facb158f1e2731dd1f11c7a567308feb6bd80fd5a7ea4d8e383cc13a0819f90da5fdad70d0adcc81e5adf2bd69a7a171e2e874f82509123c
 WHIRLPOOL 
201e99e5ba990fa800c3c141872b3a332ff67051abd2f64e8b693b894050780d9cb196804678dd73896585f170b28147092a2bbd85a2028a6a6044ef9a140130
 DIST posh_0.12.tar.gz 469680 SHA256 
9206b67005cf357404b3f3021c2d7c7bbd50756050512dececb9ed836435b048 SHA512 
bb98d2fa009b5ccd666103378dd30da5649baf830d4e3124575f813b98b13275bde46e03bb737c75b37c82f655b3f17e9a5decd29b75d20678e78a4d7e3abf00
 WHIRLPOOL 
ffd03e1537aa8e68545c532fb8c27fc9702ab16157efce7ef5c83b6f70fbe1a807e4759b85525036ae0c26f56b595ccf95d9cffb8a96b4ef8e5a8ec4b50c60e6

diff --git a/app-shells/posh/files/posh-0.12.5-test-perl-fix.patch 
b/app-shells/posh/files/posh-0.12.5-test-perl-fix.patch
deleted file mode 100644
index 4959afe..0000000
--- a/app-shells/posh/files/posh-0.12.5-test-perl-fix.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 893b644fc8c840d0a29974c90e0a80f7ce8146ba Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]>
-Date: Sun, 14 Feb 2016 10:21:02 +0100
-Subject: [PATCH] tests/th: Update to work with perl-5.16+
-
-The 'getopts.pl' module (dating back to perl4) was finally nuked in
-perl-5.16+, therefore making it impossible to run tests in posh. Use
-the perl5 Getopt::Std module instead.
----
- tests/th | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/th b/tests/th
-index 72eb812..920d54c 100755
---- a/tests/th
-+++ b/tests/th
-@@ -130,7 +130,7 @@
- 
- $os = defined $^O ? $^O : 'unknown';
- 
--require 'getopts.pl';
-+use Getopt::Std;
- 
- ($prog = $0) =~ s#.*/##;
- 
-@@ -200,7 +200,7 @@ $nxpassed = 0;
- 
- %known_tests = ();
- 
--if (!&Getopts('C:p:Ps:t:ve:')) {
-+if (!&getopts('C:p:Ps:t:ve:')) {
-     print STDERR $Usage;
-     exit 1;
- }
--- 
-2.7.1
-

diff --git a/app-shells/posh/posh-0.12.5.ebuild 
b/app-shells/posh/posh-0.12.6.ebuild
similarity index 75%
rename from app-shells/posh/posh-0.12.5.ebuild
rename to app-shells/posh/posh-0.12.6.ebuild
index 925876f..511eff5 100644
--- a/app-shells/posh/posh-0.12.5.ebuild
+++ b/app-shells/posh/posh-0.12.6.ebuild
@@ -4,8 +4,6 @@
 
 EAPI=6
 
-inherit autotools
-
 DESCRIPTION="Reimplementation of Bourne shell based on pdksh"
 HOMEPAGE="http://packages.debian.org/posh";
 SRC_URI="mirror://debian/pool/main/p/posh/${P/-/_}.tar.xz"
@@ -17,14 +15,7 @@ IUSE=""
 
 DEPEND="app-arch/xz-utils"
 
-src_prepare() {
-       eapply "${FILESDIR}/${P}-test-perl-fix.patch"
-
-       default
-
-       # tarball bundles outdated generated files
-       eautoreconf
-}
+S=${WORKDIR}/posh
 
 src_configure() {
        local myconf=(

Reply via email to