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: app-shells/posh/, app-shells/posh/files/
Date: Fri, 19 Feb 2016 22:02:07
Message-Id: 1455919314.86552848e1c05f1425186402bf8c51fd560b2492.mgorny@gentoo
1 commit: 86552848e1c05f1425186402bf8c51fd560b2492
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 19 21:59:40 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 19 22:01:54 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86552848
7
8 app-shells/posh: Bugfix bump to 0.12.6
9
10 Update to 0.12.6 where upstream included our test patch and regenerated
11 autotools files.
12
13 app-shells/posh/Manifest | 2 +-
14 .../posh/files/posh-0.12.5-test-perl-fix.patch | 37 ----------------------
15 .../{posh-0.12.5.ebuild => posh-0.12.6.ebuild} | 11 +------
16 3 files changed, 2 insertions(+), 48 deletions(-)
17
18 diff --git a/app-shells/posh/Manifest b/app-shells/posh/Manifest
19 index 3545e98..1cd9f2f 100644
20 --- a/app-shells/posh/Manifest
21 +++ b/app-shells/posh/Manifest
22 @@ -1,2 +1,2 @@
23 -DIST posh_0.12.5.tar.xz 267356 SHA256 adf1b5670b9978c3b6d5ae64356be72d8c31db1750a7600ff981fec3ff920a0a SHA512 03fabb32eb2cd38b90cf4bef641a9ce35e3e79a65b22bf6c8654b0da9d05385efe1fb5c0274deba9c616c7aba443f9a408194a066983edf051be1098be11f21e WHIRLPOOL 7a6275c14818cc24085e9383e9fce51dbb71ebdb001af2a7f5bc061a807e4681f83f57a6a2aa5bac4655d8f24466e9a7f0e573c584d04e660a668995d0144b8f
24 +DIST posh_0.12.6.tar.xz 268872 SHA256 32d00153b448df535fd095d768db2771794bfc54002efd711abc48a40481170d SHA512 2b862264dd13c840facb158f1e2731dd1f11c7a567308feb6bd80fd5a7ea4d8e383cc13a0819f90da5fdad70d0adcc81e5adf2bd69a7a171e2e874f82509123c WHIRLPOOL 201e99e5ba990fa800c3c141872b3a332ff67051abd2f64e8b693b894050780d9cb196804678dd73896585f170b28147092a2bbd85a2028a6a6044ef9a140130
25 DIST posh_0.12.tar.gz 469680 SHA256 9206b67005cf357404b3f3021c2d7c7bbd50756050512dececb9ed836435b048 SHA512 bb98d2fa009b5ccd666103378dd30da5649baf830d4e3124575f813b98b13275bde46e03bb737c75b37c82f655b3f17e9a5decd29b75d20678e78a4d7e3abf00 WHIRLPOOL ffd03e1537aa8e68545c532fb8c27fc9702ab16157efce7ef5c83b6f70fbe1a807e4759b85525036ae0c26f56b595ccf95d9cffb8a96b4ef8e5a8ec4b50c60e6
26
27 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
28 deleted file mode 100644
29 index 4959afe..0000000
30 --- a/app-shells/posh/files/posh-0.12.5-test-perl-fix.patch
31 +++ /dev/null
32 @@ -1,37 +0,0 @@
33 -From 893b644fc8c840d0a29974c90e0a80f7ce8146ba Mon Sep 17 00:00:00 2001
34 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o>
35 -Date: Sun, 14 Feb 2016 10:21:02 +0100
36 -Subject: [PATCH] tests/th: Update to work with perl-5.16+
37 -
38 -The 'getopts.pl' module (dating back to perl4) was finally nuked in
39 -perl-5.16+, therefore making it impossible to run tests in posh. Use
40 -the perl5 Getopt::Std module instead.
41 ----
42 - tests/th | 4 ++--
43 - 1 file changed, 2 insertions(+), 2 deletions(-)
44 -
45 -diff --git a/tests/th b/tests/th
46 -index 72eb812..920d54c 100755
47 ---- a/tests/th
48 -+++ b/tests/th
49 -@@ -130,7 +130,7 @@
50 -
51 - $os = defined $^O ? $^O : 'unknown';
52 -
53 --require 'getopts.pl';
54 -+use Getopt::Std;
55 -
56 - ($prog = $0) =~ s#.*/##;
57 -
58 -@@ -200,7 +200,7 @@ $nxpassed = 0;
59 -
60 - %known_tests = ();
61 -
62 --if (!&Getopts('C:p:Ps:t:ve:')) {
63 -+if (!&getopts('C:p:Ps:t:ve:')) {
64 - print STDERR $Usage;
65 - exit 1;
66 - }
67 ---
68 -2.7.1
69 -
70
71 diff --git a/app-shells/posh/posh-0.12.5.ebuild b/app-shells/posh/posh-0.12.6.ebuild
72 similarity index 75%
73 rename from app-shells/posh/posh-0.12.5.ebuild
74 rename to app-shells/posh/posh-0.12.6.ebuild
75 index 925876f..511eff5 100644
76 --- a/app-shells/posh/posh-0.12.5.ebuild
77 +++ b/app-shells/posh/posh-0.12.6.ebuild
78 @@ -4,8 +4,6 @@
79
80 EAPI=6
81
82 -inherit autotools
83 -
84 DESCRIPTION="Reimplementation of Bourne shell based on pdksh"
85 HOMEPAGE="http://packages.debian.org/posh"
86 SRC_URI="mirror://debian/pool/main/p/posh/${P/-/_}.tar.xz"
87 @@ -17,14 +15,7 @@ IUSE=""
88
89 DEPEND="app-arch/xz-utils"
90
91 -src_prepare() {
92 - eapply "${FILESDIR}/${P}-test-perl-fix.patch"
93 -
94 - default
95 -
96 - # tarball bundles outdated generated files
97 - eautoreconf
98 -}
99 +S=${WORKDIR}/posh
100
101 src_configure() {
102 local myconf=(