1 |
commit: 11459ba052d199e0f5d5136aaedca5c45a05567e |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jul 1 11:15:52 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Thu Jul 1 11:24:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11459ba0 |
7 |
|
8 |
app-dicts/dictd-devils: new version (?) |
9 |
|
10 |
Closes: https://bugs.gentoo.org/799464 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
13 |
|
14 |
app-dicts/dictd-devils/Manifest | 2 +- |
15 |
...0150822.ebuild => dictd-devils-20210627.ebuild} | 12 +- |
16 |
app-dicts/dictd-devils/files/format.patch | 196 ++++++++++----------- |
17 |
3 files changed, 106 insertions(+), 104 deletions(-) |
18 |
|
19 |
diff --git a/app-dicts/dictd-devils/Manifest b/app-dicts/dictd-devils/Manifest |
20 |
index 299d382c8..efb3c669b 100644 |
21 |
--- a/app-dicts/dictd-devils/Manifest |
22 |
+++ b/app-dicts/dictd-devils/Manifest |
23 |
@@ -1 +1 @@ |
24 |
-DIST dictd-devils-20150822.zip 164703 BLAKE2B cb8ac80e02617c4ced72b81de6e82d9b590953599444cc304647a50c78f080172fc0d15158de8f9a1d42abff37f68732f9076636c8102a2ebd85592c0bb0be10 SHA512 d2264626a8a34df7d9cabb671838b717a40385511d13b58bb60bf78481ad4e7ae6c9ab02a58847dddda7d3957efb3d0f67465fb9eabcbc515e2383fb202684a2 |
25 |
+DIST dictd-devils-20210627.zip 164627 BLAKE2B 519efb77dac5d5ba3bc8280e6c544345eb44f92c681c20664f2e414897735b0deb261ec19e06813ebf681aa058596d52d53bc159c3f21bbf135ae97f6f6465c8 SHA512 b0e04c13864df1e90d8393b0b2eab87ef8848f9243c061777b83289e3c52d773dffb182c7e570b71ecf2a17fae4d359f65eb250f2c50aec442b31e92c94d3680 |
26 |
|
27 |
diff --git a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild b/app-dicts/dictd-devils/dictd-devils-20210627.ebuild |
28 |
similarity index 74% |
29 |
rename from app-dicts/dictd-devils/dictd-devils-20150822.ebuild |
30 |
rename to app-dicts/dictd-devils/dictd-devils-20210627.ebuild |
31 |
index 9d7771f21..cfc120265 100644 |
32 |
--- a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild |
33 |
+++ b/app-dicts/dictd-devils/dictd-devils-20210627.ebuild |
34 |
@@ -4,8 +4,8 @@ |
35 |
EAPI=8 |
36 |
|
37 |
DESCRIPTION="The Devil's Dictionary for dict" |
38 |
-HOMEPAGE="https://www.dict.org/" |
39 |
-SRC_URI="https://www.gutenberg.org/files/972/972.zip -> ${P}.zip" |
40 |
+HOMEPAGE="https://www.gutenberg.org/ebooks/972" |
41 |
+SRC_URI="https://www.gutenberg.org/files/972/972-0.zip -> ${P}.zip" |
42 |
S="$WORKDIR" |
43 |
LICENSE="public-domain" |
44 |
SLOT="0" |
45 |
@@ -15,11 +15,13 @@ RDEPEND=">=app-text/dictd-1.13.0-r3" |
46 |
BDEPEND=" |
47 |
${RDEPEND} |
48 |
app-arch/unzip |
49 |
+ app-text/dos2unix |
50 |
" |
51 |
|
52 |
PATCHES=( "${FILESDIR}/format.patch" ) |
53 |
|
54 |
src_prepare() { |
55 |
+ dos2unix 972-0.txt || die |
56 |
default |
57 |
|
58 |
sed \ |
59 |
@@ -28,12 +30,12 @@ src_prepare() { |
60 |
-e '/^\S/{: l;N;s/\n *\(.\)/ \1/g;t l}' \ |
61 |
-e "s/^\\([A-Zor .'?-]*[^,A-Zor .'?-]\\)/ \1/" \ |
62 |
-e '/^ /y/,/\a/' \ |
63 |
- -i 972.txt || die |
64 |
+ -i 972-0.txt || die |
65 |
} |
66 |
|
67 |
src_compile() { |
68 |
- head -n -6 972.txt | dictfmt -u "${SRC_URI% ->*}" \ |
69 |
- -s "The Devil's Dictionary (2015-08-22 Project Gutenberg version)" \ |
70 |
+ head -n -6 972-0.txt | dictfmt -u "${SRC_URI% ->*}" \ |
71 |
+ -s "The Devil's Dictionary (2021-06-27 Project Gutenberg version)" \ |
72 |
--headword-separator " or " \ |
73 |
--columns 80 \ |
74 |
-h devils || die |
75 |
|
76 |
diff --git a/app-dicts/dictd-devils/files/format.patch b/app-dicts/dictd-devils/files/format.patch |
77 |
index fc21301ce..3f85733e1 100644 |
78 |
--- a/app-dicts/dictd-devils/files/format.patch |
79 |
+++ b/app-dicts/dictd-devils/files/format.patch |
80 |
@@ -1,110 +1,110 @@ |
81 |
---- a/972.txt |
82 |
-+++ b/972.txt |
83 |
+--- a/972-0.txt |
84 |
++++ b/972-0.txt |
85 |
@@ -124,7 +124,7 @@ |
86 |
- ABORIGINIES, n. Persons of little worth found cumbering the soil of a |
87 |
- newly discovered country. They soon cease to cumber; they fertilize. |
88 |
- |
89 |
--ABRACADABRA. |
90 |
-+ABRACADABRA, |
91 |
- |
92 |
- By _Abracadabra_ we signify |
93 |
- An infinite number of things. |
94 |
+ ABORIGINIES, n. Persons of little worth found cumbering the soil of a |
95 |
+ newly discovered country. They soon cease to cumber; they fertilize. |
96 |
+ |
97 |
+-ABRACADABRA. |
98 |
++ABRACADABRA, |
99 |
+ |
100 |
+ By _Abracadabra_ we signify |
101 |
+ An infinite number of things. |
102 |
@@ -1405,7 +1405,7 @@ |
103 |
- Ignores the Law as 't were a straw, |
104 |
- And wants to sin--don't let him. |
105 |
- |
106 |
--CUI BONO? [Latin] What good would that do _me_? |
107 |
-+CUI BONO?, [Latin] What good would that do _me_? |
108 |
- |
109 |
- CUNNING, n. The faculty that distinguishes a weak animal or person |
110 |
- from a strong one. It brings its possessor much mental satisfaction |
111 |
+ Ignores the Law as 't were a straw, |
112 |
+ And wants to sin--don't let him. |
113 |
+ |
114 |
+-CUI BONO? [Latin] What good would that do _me_? |
115 |
++CUI BONO?, [Latin] What good would that do _me_? |
116 |
+ |
117 |
+ CUNNING, n. The faculty that distinguishes a weak animal or person |
118 |
+ from a strong one. It brings its possessor much mental satisfaction |
119 |
@@ -2571,7 +2571,7 @@ |
120 |
- these persons from swift and awful death is one of the most striking |
121 |
- proofs of God's mercy to those that hate Him. |
122 |
- |
123 |
--FORMA PAUPERIS. [Latin] In the character of a poor person--a |
124 |
-+FORMA PAUPERIS, [Latin] In the character of a poor person--a |
125 |
- method by which a litigant without money for lawyers is considerately |
126 |
- permitted to lose his case. |
127 |
- |
128 |
+ these persons from swift and awful death is one of the most striking |
129 |
+ proofs of God's mercy to those that hate Him. |
130 |
+ |
131 |
+-FORMA PAUPERIS. [Latin] In the character of a poor person--a |
132 |
++FORMA PAUPERIS, [Latin] In the character of a poor person--a |
133 |
+ method by which a litigant without money for lawyers is considerately |
134 |
+ permitted to lose his case. |
135 |
+ |
136 |
@@ -3074,7 +3074,7 @@ |
137 |
- |
138 |
- |
139 |
- |
140 |
--HABEAS CORPUS. A writ by which a man may be taken out of jail when |
141 |
-+HABEAS CORPUS, A writ by which a man may be taken out of jail when |
142 |
- confined for the wrong crime. |
143 |
- |
144 |
- HABIT, n. A shackle for the free. |
145 |
+ |
146 |
+ |
147 |
+ |
148 |
+-HABEAS CORPUS. A writ by which a man may be taken out of jail when |
149 |
++HABEAS CORPUS, A writ by which a man may be taken out of jail when |
150 |
+ confined for the wrong crime. |
151 |
+ |
152 |
+ HABIT, n. A shackle for the free. |
153 |
@@ -3539,7 +3539,7 @@ |
154 |
- |
155 |
- |
156 |
- |
157 |
--I is the first letter of the alphabet, the first word of the language, |
158 |
-+I, is the first letter of the alphabet, the first word of the language, |
159 |
- the first thought of the mind, the first object of affection. In |
160 |
- grammar it is a pronoun of the first person and singular number. Its |
161 |
- plural is said to be _We_, but how there can be more than one myself |
162 |
+ |
163 |
+ |
164 |
+ |
165 |
+-I is the first letter of the alphabet, the first word of the language, |
166 |
++I, is the first letter of the alphabet, the first word of the language, |
167 |
+ the first thought of the mind, the first object of affection. In |
168 |
+ grammar it is a pronoun of the first person and singular number. Its |
169 |
+ plural is said to be _We_, but how there can be more than one myself |
170 |
@@ -3718,7 +3718,7 @@ |
171 |
- Pollo Doncas |
172 |
- |
173 |
- |
174 |
--IMPOSTOR n. A rival aspirant to public honors. |
175 |
-+IMPOSTOR, n. A rival aspirant to public honors. |
176 |
- |
177 |
- IMPROBABILITY, n. |
178 |
- |
179 |
+ Pollo Doncas |
180 |
+ |
181 |
+ |
182 |
+-IMPOSTOR n. A rival aspirant to public honors. |
183 |
++IMPOSTOR, n. A rival aspirant to public honors. |
184 |
+ |
185 |
+ IMPROBABILITY, n. |
186 |
+ |
187 |
@@ -4252,7 +4252,7 @@ |
188 |
- |
189 |
- |
190 |
- |
191 |
--J is a consonant in English, but some nations use it as a vowel-- |
192 |
-+J, is a consonant in English, but some nations use it as a vowel-- |
193 |
- than which nothing could be more absurd. Its original form, which has |
194 |
- been but slightly modified, was that of the tail of a subdued dog, and |
195 |
- it was not a letter but a character, standing for a Latin verb, |
196 |
+ |
197 |
+ |
198 |
+ |
199 |
+-J is a consonant in English, but some nations use it as a vowel-- |
200 |
++J, is a consonant in English, but some nations use it as a vowel-- |
201 |
+ than which nothing could be more absurd. Its original form, which has |
202 |
+ been but slightly modified, was that of the tail of a subdued dog, and |
203 |
+ it was not a letter but a character, standing for a Latin verb, |
204 |
@@ -4323,7 +4323,7 @@ |
205 |
- |
206 |
- |
207 |
- |
208 |
--K is a consonant that we get from the Greeks, but it can be traced |
209 |
-+K, is a consonant that we get from the Greeks, but it can be traced |
210 |
- away back beyond them to the Cerathians, a small commercial nation |
211 |
- inhabiting the peninsula of Smero. In their tongue it was called |
212 |
- _Klatch_, which means "destroyed." The form of the letter was |
213 |
+ |
214 |
+ |
215 |
+ |
216 |
+-K is a consonant that we get from the Greeks, but it can be traced |
217 |
++K, is a consonant that we get from the Greeks, but it can be traced |
218 |
+ away back beyond them to the Cerathians, a small commercial nation |
219 |
+ inhabiting the peninsula of Smero. In their tongue it was called |
220 |
+ _Klatch_, which means "destroyed." The form of the letter was |
221 |
@@ -4767,7 +4767,7 @@ |
222 |
- live with. The liver is heaven's best gift to the goose; without it |
223 |
- that bird would be unable to supply us with the Strasbourg _pate_. |
224 |
- |
225 |
--LL.D. Letters indicating the degree _Legumptionorum Doctor_, one |
226 |
-+LL.D., Letters indicating the degree _Legumptionorum Doctor_, one |
227 |
- learned in laws, gifted with legal gumption. Some suspicion is cast |
228 |
- upon this derivation by the fact that the title was formerly _LL.d._, |
229 |
- and conferred only upon gentlemen distinguished for their wealth. At |
230 |
+ live with. The liver is heaven's best gift to the goose; without it |
231 |
+ that bird would be unable to supply us with the Strasbourg _pate_. |
232 |
+ |
233 |
+-LL.D. Letters indicating the degree _Legumptionorum Doctor_, one |
234 |
++LL.D., Letters indicating the degree _Legumptionorum Doctor_, one |
235 |
+ learned in laws, gifted with legal gumption. Some suspicion is cast |
236 |
+ upon this derivation by the fact that the title was formerly _LL.d._, |
237 |
+ and conferred only upon gentlemen distinguished for their wealth. At |
238 |
@@ -8612,7 +8612,7 @@ |
239 |
- civilization and enlightenment, despite their obvious agency in this |
240 |
- incomparable dictionary. |
241 |
- |
242 |
--TZETZE (or TSETSE) FLY, n. An African insect (_Glossina morsitans_) |
243 |
-+TZETZE FLY or TSETSE FLY, n. An African insect (_Glossina morsitans_) |
244 |
- whose bite is commonly regarded as nature's most efficacious remedy |
245 |
- for insomnia, though some patients prefer that of the American |
246 |
- novelist (_Mendax interminabilis_). |
247 |
+ civilization and enlightenment, despite their obvious agency in this |
248 |
+ incomparable dictionary. |
249 |
+ |
250 |
+-TZETZE (or TSETSE) FLY, n. An African insect (_Glossina morsitans_) |
251 |
++TZETZE FLY or TSETSE FLY, n. An African insect (_Glossina morsitans_) |
252 |
+ whose bite is commonly regarded as nature's most efficacious remedy |
253 |
+ for insomnia, though some patients prefer that of the American |
254 |
+ novelist (_Mendax interminabilis_). |
255 |
@@ -8781,7 +8781,7 @@ |
256 |
- |
257 |
- |
258 |
- |
259 |
--W (double U) has, of all the letters in our alphabet, the only |
260 |
-+W, (double U) has, of all the letters in our alphabet, the only |
261 |
- cumbrous name, the names of the others being monosyllabic. This |
262 |
- advantage of the Roman alphabet over the Grecian is the more valued |
263 |
- after audibly spelling out some simple Greek word, like |
264 |
+ |
265 |
+ |
266 |
+ |
267 |
+-W (double U) has, of all the letters in our alphabet, the only |
268 |
++W, (double U) has, of all the letters in our alphabet, the only |
269 |
+ cumbrous name, the names of the others being monosyllabic. This |
270 |
+ advantage of the Roman alphabet over the Grecian is the more valued |
271 |
+ after audibly spelling out some simple Greek word, like |
272 |
@@ -9040,7 +9040,7 @@ |
273 |
- |
274 |
- |
275 |
- |
276 |
--X in our alphabet being a needless letter has an added invincibility |
277 |
-+X, in our alphabet being a needless letter has an added invincibility |
278 |
- to the attacks of the spelling reformers, and like them, will |
279 |
- doubtless last as long as the language. X is the sacred symbol of ten |
280 |
- dollars, and in such words as Xmas, Xn, etc., stands for Christ, not, |
281 |
+ |
282 |
+ |
283 |
+ |
284 |
+-X in our alphabet being a needless letter has an added invincibility |
285 |
++X, in our alphabet being a needless letter has an added invincibility |
286 |
+ to the attacks of the spelling reformers, and like them, will |
287 |
+ doubtless last as long as the language. X is the sacred symbol of ten |
288 |
+ dollars, and in such words as Xmas, Xn, etc., stands for Christ, not, |