diff options
Diffstat (limited to 'app-dicts/dictd-devils')
-rw-r--r-- | app-dicts/dictd-devils/Manifest | 1 | ||||
-rw-r--r-- | app-dicts/dictd-devils/dictd-devils-20210627.ebuild | 50 | ||||
-rw-r--r-- | app-dicts/dictd-devils/files/format.patch | 110 | ||||
-rw-r--r-- | app-dicts/dictd-devils/metadata.xml | 12 |
4 files changed, 0 insertions, 173 deletions
diff --git a/app-dicts/dictd-devils/Manifest b/app-dicts/dictd-devils/Manifest deleted file mode 100644 index efb3c669b..000000000 --- a/app-dicts/dictd-devils/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST dictd-devils-20210627.zip 164627 BLAKE2B 519efb77dac5d5ba3bc8280e6c544345eb44f92c681c20664f2e414897735b0deb261ec19e06813ebf681aa058596d52d53bc159c3f21bbf135ae97f6f6465c8 SHA512 b0e04c13864df1e90d8393b0b2eab87ef8848f9243c061777b83289e3c52d773dffb182c7e570b71ecf2a17fae4d359f65eb250f2c50aec442b31e92c94d3680 diff --git a/app-dicts/dictd-devils/dictd-devils-20210627.ebuild b/app-dicts/dictd-devils/dictd-devils-20210627.ebuild deleted file mode 100644 index 46f822f99..000000000 --- a/app-dicts/dictd-devils/dictd-devils-20210627.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit edos2unix - -DESCRIPTION="The Devil's Dictionary for dict" -HOMEPAGE="https://www.gutenberg.org/ebooks/972" -SRC_URI="https://www.gutenberg.org/files/972/972-0.zip -> ${P}.zip" -S="$WORKDIR" -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=">=app-text/dictd-1.13.0-r3" -BDEPEND=" - ${RDEPEND} - app-arch/unzip -" - -PATCHES=( "${FILESDIR}/format.patch" ) - -src_prepare() { - edos2unix 972-0.txt - default - - sed \ - -e 's/\r//g' \ - -e "/^ *THE DEVIL'S DICTIONARY/,/^End of Project Gutenberg's The Devil's Dictionary/!{w COPYING.gutenberg" -e 'd}' \ - -e '/^\S/{: l;N;s/\n *\(.\)/ \1/g;t l}' \ - -e "s/^\\([A-Zor .'?-]*[^,A-Zor .'?-]\\)/ \1/" \ - -e '/^ /y/,/\a/' \ - -i 972-0.txt || die -} - -src_compile() { - head -n -6 972-0.txt | dictfmt -u "${SRC_URI% ->*}" \ - -s "The Devil's Dictionary (2021-06-27 Project Gutenberg version)" \ - --headword-separator " or " \ - --columns 80 \ - -h devils || die - sed -e 'y/\a/,/' -i devils.dict || die - dictzip devils.dict || die -} - -src_install() { - insinto /usr/share/dict - doins devils.dict.dz devils.index -} diff --git a/app-dicts/dictd-devils/files/format.patch b/app-dicts/dictd-devils/files/format.patch deleted file mode 100644 index 3f85733e1..000000000 --- a/app-dicts/dictd-devils/files/format.patch +++ /dev/null @@ -1,110 +0,0 @@ ---- a/972-0.txt -+++ b/972-0.txt -@@ -124,7 +124,7 @@ - ABORIGINIES, n. Persons of little worth found cumbering the soil of a - newly discovered country. They soon cease to cumber; they fertilize. - --ABRACADABRA. -+ABRACADABRA, - - By _Abracadabra_ we signify - An infinite number of things. -@@ -1405,7 +1405,7 @@ - Ignores the Law as 't were a straw, - And wants to sin--don't let him. - --CUI BONO? [Latin] What good would that do _me_? -+CUI BONO?, [Latin] What good would that do _me_? - - CUNNING, n. The faculty that distinguishes a weak animal or person - from a strong one. It brings its possessor much mental satisfaction -@@ -2571,7 +2571,7 @@ - these persons from swift and awful death is one of the most striking - proofs of God's mercy to those that hate Him. - --FORMA PAUPERIS. [Latin] In the character of a poor person--a -+FORMA PAUPERIS, [Latin] In the character of a poor person--a - method by which a litigant without money for lawyers is considerately - permitted to lose his case. - -@@ -3074,7 +3074,7 @@ - - - --HABEAS CORPUS. A writ by which a man may be taken out of jail when -+HABEAS CORPUS, A writ by which a man may be taken out of jail when - confined for the wrong crime. - - HABIT, n. A shackle for the free. -@@ -3539,7 +3539,7 @@ - - - --I is the first letter of the alphabet, the first word of the language, -+I, is the first letter of the alphabet, the first word of the language, - the first thought of the mind, the first object of affection. In - grammar it is a pronoun of the first person and singular number. Its - plural is said to be _We_, but how there can be more than one myself -@@ -3718,7 +3718,7 @@ - Pollo Doncas - - --IMPOSTOR n. A rival aspirant to public honors. -+IMPOSTOR, n. A rival aspirant to public honors. - - IMPROBABILITY, n. - -@@ -4252,7 +4252,7 @@ - - - --J is a consonant in English, but some nations use it as a vowel-- -+J, is a consonant in English, but some nations use it as a vowel-- - than which nothing could be more absurd. Its original form, which has - been but slightly modified, was that of the tail of a subdued dog, and - it was not a letter but a character, standing for a Latin verb, -@@ -4323,7 +4323,7 @@ - - - --K is a consonant that we get from the Greeks, but it can be traced -+K, is a consonant that we get from the Greeks, but it can be traced - away back beyond them to the Cerathians, a small commercial nation - inhabiting the peninsula of Smero. In their tongue it was called - _Klatch_, which means "destroyed." The form of the letter was -@@ -4767,7 +4767,7 @@ - live with. The liver is heaven's best gift to the goose; without it - that bird would be unable to supply us with the Strasbourg _pate_. - --LL.D. Letters indicating the degree _Legumptionorum Doctor_, one -+LL.D., Letters indicating the degree _Legumptionorum Doctor_, one - learned in laws, gifted with legal gumption. Some suspicion is cast - upon this derivation by the fact that the title was formerly _LL.d._, - and conferred only upon gentlemen distinguished for their wealth. At -@@ -8612,7 +8612,7 @@ - civilization and enlightenment, despite their obvious agency in this - incomparable dictionary. - --TZETZE (or TSETSE) FLY, n. An African insect (_Glossina morsitans_) -+TZETZE FLY or TSETSE FLY, n. An African insect (_Glossina morsitans_) - whose bite is commonly regarded as nature's most efficacious remedy - for insomnia, though some patients prefer that of the American - novelist (_Mendax interminabilis_). -@@ -8781,7 +8781,7 @@ - - - --W (double U) has, of all the letters in our alphabet, the only -+W, (double U) has, of all the letters in our alphabet, the only - cumbrous name, the names of the others being monosyllabic. This - advantage of the Roman alphabet over the Grecian is the more valued - after audibly spelling out some simple Greek word, like -@@ -9040,7 +9040,7 @@ - - - --X in our alphabet being a needless letter has an added invincibility -+X, in our alphabet being a needless letter has an added invincibility - to the attacks of the spelling reformers, and like them, will - doubtless last as long as the language. X is the sacred symbol of ten - dollars, and in such words as Xmas, Xn, etc., stands for Christ, not, diff --git a/app-dicts/dictd-devils/metadata.xml b/app-dicts/dictd-devils/metadata.xml deleted file mode 100644 index 9bfaf6fea..000000000 --- a/app-dicts/dictd-devils/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <description>co-maintainers welcome</description> - <email>lssndrbarbieri@gmail.com</email> - <name>Alessandro Barbieri</name> - </maintainer> - <longdescription lang="en"> - A database for 'dict'-compatible dictionary software, based on Ambrose Bierce's satirical The Devil's Dictionary. - </longdescription> -</pkgmetadata> |