Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-misc/cowsay/, games-misc/cowsay/files/
Date: Wed, 22 Sep 2021 22:26:42
Message-Id: 1632349535.795dfc603bc6929716911173d80fbc8855c1a7c7.ionen@gentoo
1 commit: 795dfc603bc6929716911173d80fbc8855c1a7c7
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 22 21:53:44 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 22 22:25:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=795dfc60
7
8 games-misc/cowsay: drop 3.04-r1
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 games-misc/cowsay/Manifest | 1 -
13 games-misc/cowsay/cowsay-3.04-r1.ebuild | 55 -----------------------
14 games-misc/cowsay/files/cowsay-3.04-mech.patch | 18 --------
15 games-misc/cowsay/files/cowsay-3.04-tongue.patch | 10 -----
16 games-misc/cowsay/files/cowsay-3.04-utf8.patch | 16 -------
17 games-misc/cowsay/files/cowsay-3.04-version.patch | 20 ---------
18 6 files changed, 120 deletions(-)
19
20 diff --git a/games-misc/cowsay/Manifest b/games-misc/cowsay/Manifest
21 index 9c36f3e1178..9e52b16097a 100644
22 --- a/games-misc/cowsay/Manifest
23 +++ b/games-misc/cowsay/Manifest
24 @@ -1,2 +1 @@
25 -DIST cowsay-3.04.tar.gz 31961 BLAKE2B 93e6e9cb31b8902ee6bccda0f997fa651fa83e0504ccab3e7fbbc5cfddc11256f6adea1ea1b4e2bcf8085746eb4194e8332bfee886d1f3d05ad2b6ac3422eea8 SHA512 99d21ef9a7c7c76056cb7acb2c771fbdabfedde4f6edb5d3035337c59f9e88944690d1b43282c32827ad79339199716366c8be73b0dea09063ec2d52220c1b51
26 DIST cowsay-3.7.0.tar.gz 34030 BLAKE2B a986ee689ca6856b99dcc148533abfbc81759da6fbabee9ab1ba86e7b288d3bff575706c1e12d6dd809e2e5091ce8d9bdcae51ffefccbfb356fc75ab199c4e8f SHA512 92c169350049d894c36ec753f0b7eb9250da7839d9f1eedcad1ff5d9f2cff188bd1509dabd3b4dd562bdd0e660e80e6a437c7f260ce5b2376b7ef624f0ee673b
27
28 diff --git a/games-misc/cowsay/cowsay-3.04-r1.ebuild b/games-misc/cowsay/cowsay-3.04-r1.ebuild
29 deleted file mode 100644
30 index 00de9a111ce..00000000000
31 --- a/games-misc/cowsay/cowsay-3.04-r1.ebuild
32 +++ /dev/null
33 @@ -1,55 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -DESCRIPTION="Configurable talking ASCII cow (and other characters)"
40 -HOMEPAGE="https://github.com/tnalpgge/rank-amateur-cowsay"
41 -SRC_URI="https://github.com/tnalpgge/rank-amateur-${PN}/archive/${P}.tar.gz"
42 -S="${WORKDIR}"/rank-amateur-${PN}-${P}
43 -
44 -LICENSE="GPL-3"
45 -SLOT="0"
46 -KEYWORDS="~alpha ~amd64 ~arm64 ~hppa ~mips ~ppc64 ~x86 ~x64-macos ~x64-solaris"
47 -
48 -RDEPEND=">=dev-lang/perl-5"
49 -BDEPEND="${RDEPEND}"
50 -
51 -PATCHES=(
52 - "${FILESDIR}"/${P}-tongue.patch
53 - "${FILESDIR}"/${P}-mech.patch
54 - "${FILESDIR}"/${P}-utf8.patch
55 - "${FILESDIR}"/${P}-version.patch
56 -)
57 -
58 -src_prepare() {
59 - sed -i \
60 - -e "1 c\#!${EPREFIX}/usr/bin/perl"\
61 - -e 's/\$version/\$VERSION/g'\
62 - -e "s:%PREFIX%/share/cows:${EPREFIX}/usr/share/${P}/cows:" \
63 - -e '/getopts/ i\$Getopt::Std::STANDARD_HELP_VERSION=1;' cowsay \
64 - || die "sed cowsay failed"
65 - sed -i \
66 - -e "s|%PREFIX%/share/cows|${EPREFIX}/usr/share/${P}/cows|" cowsay.1 \
67 - || die "sed cowsay.1 failed"
68 -
69 - default
70 -}
71 -
72 -src_compile() {
73 - :;
74 -}
75 -
76 -src_install() {
77 - ./install.sh PREFIX=/usr "${ED}" || die
78 -
79 - dobin cowsay
80 - doman cowsay.1
81 - dosym cowsay /usr/bin/cowthink
82 - dosym cowsay.1 /usr/share/man/man1/cowthink.1
83 -
84 - insinto /usr/share/${P}
85 - doins -r cows
86 -
87 - einstalldocs
88 -}
89
90 diff --git a/games-misc/cowsay/files/cowsay-3.04-mech.patch b/games-misc/cowsay/files/cowsay-3.04-mech.patch
91 deleted file mode 100644
92 index a180ef49cb3..00000000000
93 --- a/games-misc/cowsay/files/cowsay-3.04-mech.patch
94 +++ /dev/null
95 @@ -1,18 +0,0 @@
96 ---- a/cows/mech-and-cow
97 -+++ b/cows/mech-and-cow.cow
98 -@@ -1,3 +1,5 @@
99 -+$the_cow = <<EOC;
100 -+${thouts}
101 - ,-----.
102 - | |
103 - ,--| |-.
104 -@@ -14,8 +16,4 @@
105 - (__)\ )\/\ /' / | `i
106 - ||----w | ___,;`----'.___L_,-'`\__
107 - || || i_____;----\.____i""\____\
108 --
109 --
110 --
111 --
112 --
113 -+EOC
114
115 diff --git a/games-misc/cowsay/files/cowsay-3.04-tongue.patch b/games-misc/cowsay/files/cowsay-3.04-tongue.patch
116 deleted file mode 100644
117 index 7b620b3499c..00000000000
118 --- a/games-misc/cowsay/files/cowsay-3.04-tongue.patch
119 +++ /dev/null
120 @@ -1,10 +0,0 @@
121 ---- a/cows/head-in.cow
122 -+++ b/cows/head-in.cow
123 -@@ -7,6 +7,6 @@
124 - ^__^ /
125 - ($eyes)\\_______/ _________
126 - (__)\\ )=( ____|_ \\_____
127 -- $tongue ||----w | \\ \\ \\_____ |
128 -+ $tongue ||----w | \\ \\ \\_____ |
129 - || || || ||
130 - EOC
131
132 diff --git a/games-misc/cowsay/files/cowsay-3.04-utf8.patch b/games-misc/cowsay/files/cowsay-3.04-utf8.patch
133 deleted file mode 100644
134 index 6e015d36ce6..00000000000
135 --- a/games-misc/cowsay/files/cowsay-3.04-utf8.patch
136 +++ /dev/null
137 @@ -1,16 +0,0 @@
138 ---- a/cowsay
139 -+++ b/cowsay
140 -@@ -12,6 +12,13 @@
141 - use Getopt::Std;
142 - use Cwd;
143 -
144 -+if (${^UTF8LOCALE}) {
145 -+ binmode STDIN, ':utf8';
146 -+ binmode STDOUT, ':utf8';
147 -+ require Encode;
148 -+ eval { $_ = Encode::decode_utf8($_,1) } for @ARGV;
149 -+}
150 -+
151 - $VERSION = "3.03";
152 - $progname = basename($0);
153 - $eyes = "oo";
154
155 diff --git a/games-misc/cowsay/files/cowsay-3.04-version.patch b/games-misc/cowsay/files/cowsay-3.04-version.patch
156 deleted file mode 100644
157 index 8c9a1400699..00000000000
158 --- a/games-misc/cowsay/files/cowsay-3.04-version.patch
159 +++ /dev/null
160 @@ -1,20 +0,0 @@
161 ---- a/cowsay
162 -+++ b/cowsay
163 -@@ -1,7 +1,7 @@
164 - #!/usr/bin/perl
165 -
166 - ##
167 --## Cowsay 3.03
168 -+## Cowsay 3.04
169 - ##
170 - ## This file is part of cowsay. (c) 1999-2000 Tony Monroe.
171 - ##
172 -@@ -19,7 +19,7 @@
173 - eval { $_ = Encode::decode_utf8($_,1) } for @ARGV;
174 - }
175 -
176 --$VERSION = "3.03";
177 -+$VERSION = "3.04";
178 - $progname = basename($0);
179 - $eyes = "oo";
180 - $tongue = " ";