mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 13:03:31 -04:00
app-dicts/dictd-devils: new version (?)
Closes: https://bugs.gentoo.org/799464 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1 +1 @@
|
|||||||
DIST dictd-devils-20150822.zip 164703 BLAKE2B cb8ac80e02617c4ced72b81de6e82d9b590953599444cc304647a50c78f080172fc0d15158de8f9a1d42abff37f68732f9076636c8102a2ebd85592c0bb0be10 SHA512 d2264626a8a34df7d9cabb671838b717a40385511d13b58bb60bf78481ad4e7ae6c9ab02a58847dddda7d3957efb3d0f67465fb9eabcbc515e2383fb202684a2
|
DIST dictd-devils-20210627.zip 164627 BLAKE2B 519efb77dac5d5ba3bc8280e6c544345eb44f92c681c20664f2e414897735b0deb261ec19e06813ebf681aa058596d52d53bc159c3f21bbf135ae97f6f6465c8 SHA512 b0e04c13864df1e90d8393b0b2eab87ef8848f9243c061777b83289e3c52d773dffb182c7e570b71ecf2a17fae4d359f65eb250f2c50aec442b31e92c94d3680
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
DESCRIPTION="The Devil's Dictionary for dict"
|
DESCRIPTION="The Devil's Dictionary for dict"
|
||||||
HOMEPAGE="https://www.dict.org/"
|
HOMEPAGE="https://www.gutenberg.org/ebooks/972"
|
||||||
SRC_URI="https://www.gutenberg.org/files/972/972.zip -> ${P}.zip"
|
SRC_URI="https://www.gutenberg.org/files/972/972-0.zip -> ${P}.zip"
|
||||||
S="$WORKDIR"
|
S="$WORKDIR"
|
||||||
LICENSE="public-domain"
|
LICENSE="public-domain"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@@ -15,11 +15,13 @@ RDEPEND=">=app-text/dictd-1.13.0-r3"
|
|||||||
BDEPEND="
|
BDEPEND="
|
||||||
${RDEPEND}
|
${RDEPEND}
|
||||||
app-arch/unzip
|
app-arch/unzip
|
||||||
|
app-text/dos2unix
|
||||||
"
|
"
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/format.patch" )
|
PATCHES=( "${FILESDIR}/format.patch" )
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
|
dos2unix 972-0.txt || die
|
||||||
default
|
default
|
||||||
|
|
||||||
sed \
|
sed \
|
||||||
@@ -28,12 +30,12 @@ src_prepare() {
|
|||||||
-e '/^\S/{: l;N;s/\n *\(.\)/ \1/g;t l}' \
|
-e '/^\S/{: l;N;s/\n *\(.\)/ \1/g;t l}' \
|
||||||
-e "s/^\\([A-Zor .'?-]*[^,A-Zor .'?-]\\)/ \1/" \
|
-e "s/^\\([A-Zor .'?-]*[^,A-Zor .'?-]\\)/ \1/" \
|
||||||
-e '/^ /y/,/\a/' \
|
-e '/^ /y/,/\a/' \
|
||||||
-i 972.txt || die
|
-i 972-0.txt || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
head -n -6 972.txt | dictfmt -u "${SRC_URI% ->*}" \
|
head -n -6 972-0.txt | dictfmt -u "${SRC_URI% ->*}" \
|
||||||
-s "The Devil's Dictionary (2015-08-22 Project Gutenberg version)" \
|
-s "The Devil's Dictionary (2021-06-27 Project Gutenberg version)" \
|
||||||
--headword-separator " or " \
|
--headword-separator " or " \
|
||||||
--columns 80 \
|
--columns 80 \
|
||||||
-h devils || die
|
-h devils || die
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
--- a/972.txt
|
--- a/972-0.txt
|
||||||
+++ b/972.txt
|
+++ b/972-0.txt
|
||||||
@@ -124,7 +124,7 @@
|
@@ -124,7 +124,7 @@
|
||||||
ABORIGINIES, n. Persons of little worth found cumbering the soil of a
|
ABORIGINIES, n. Persons of little worth found cumbering the soil of a
|
||||||
newly discovered country. They soon cease to cumber; they fertilize.
|
newly discovered country. They soon cease to cumber; they fertilize.
|
||||||
|
|||||||
Reference in New Issue
Block a user