app-shells/posh: Bugfix bump to 0.12.6
authorMichał Górny <mgorny@gentoo.org>
Fri, 19 Feb 2016 21:59:40 +0000 (22:59 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 19 Feb 2016 22:01:54 +0000 (23:01 +0100)
Update to 0.12.6 where upstream included our test patch and regenerated
autotools files.

app-shells/posh/Manifest
app-shells/posh/files/posh-0.12.5-test-perl-fix.patch [deleted file]
app-shells/posh/posh-0.12.6.ebuild [moved from app-shells/posh/posh-0.12.5.ebuild with 75% similarity]

index 3545e980245265ae332edb94d77079d62fdd17eb..1cd9f2f3ccf521a5d104aab677c59c7f54b95bf9 100644 (file)
@@ -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 (file)
index 4959afe..0000000
+++ /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?= <mgorny@gentoo.org>
-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
-
similarity index 75%
rename from app-shells/posh/posh-0.12.5.ebuild
rename to app-shells/posh/posh-0.12.6.ebuild
index 925876fe970faf429da902d2faeec708ee4ea490..511eff566c91dd8665250e3233187d150b60024a 100644 (file)
@@ -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=(