* [gentoo-commits] repo/proj/guru:dev commit in: app-dicts/dictd-devils/
@ 2021-06-11 15:23 Alessandro Barbieri
0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-06-11 15:23 UTC (permalink / raw
To: gentoo-commits
commit: 455e0e38dc9899c3a4537a99e8c6d51f9aceba78
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jun 6 00:36:02 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Jun 11 15:23:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=455e0e38
app-dicts/dictd-devils: fixes
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
.../dictd-devils/dictd-devils-20150822.ebuild | 27 ++--------------------
1 file changed, 2 insertions(+), 25 deletions(-)
diff --git a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
index eb3810b3b..304a3f090 100644
--- a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
+++ b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
@@ -11,7 +11,8 @@ LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64"
-DEPEND=">=app-text/dictd-1.5.5"
+RDEPEND=">=app-text/dictd-1.5.5"
+BDEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/format.patch" )
@@ -39,27 +40,3 @@ src_install() {
insinto /var/dict
doins devils.dict.dz devils.index
}
-
-pkg_preinst() {
- HAS_OLD_VERSION="$(has_version app-dicts/${PN})"
-}
-
-pkg_postinst() {
- if "${HAS_OLD_VERSION}" ; then
- elog "You must restart your dictd server before the ${PN} dictionary is"
- elog "completely updated. If you are using OpenRC, this may be accomplished by"
- elog "running '/etc/init.d/dictd restart'."
- else
- elog "You must register ${PN} and restart your dictd server before the"
- elog "dictionary is available for use. If you are using OpenRC, both tasks may be"
- elog "accomplished by running '/etc/init.d/dictd restart'."
- fi
-}
-
-pkg_postrm() {
- if ! "${HAS_OLD_VERSION}" ; then
- elog "You must unregister ${PN} and restart your dictd server before the"
- elog "dictionary is completely removed. If you are using OpenRC, both tasks may be"
- elog "accomplished by running '/etc/init.d/dictd restart'."
- fi
-}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-dicts/dictd-devils/
@ 2021-06-11 15:23 Alessandro Barbieri
0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-06-11 15:23 UTC (permalink / raw
To: gentoo-commits
commit: e3863fd623c9f6086063c46f3727e678410c5114
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jun 6 00:56:41 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Jun 11 15:23:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3863fd6
app-dicts/dictd-devils: fixes
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
app-dicts/dictd-devils/dictd-devils-20150822.ebuild | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
index 40408b401..b6cfce5d5 100644
--- a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
+++ b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
@@ -22,11 +22,13 @@ PATCHES=( "${FILESDIR}/format.patch" )
src_prepare() {
eapply_user
- sed -e 's/\r//g' -i 972.txt
- sed -e "/^ *THE DEVIL'S DICTIONARY/,/^End of Project Gutenberg's The Devil's Dictionary/!{w COPYING.gutenberg" -e 'd}' -i 972.txt
- sed -e '/^\S/{: l;N;s/\n *\(.\)/ \1/g;t l}' -i 972.txt
- sed -e "s/^\\([A-Zor .'?-]*[^,A-Zor .'?-]\\)/ \1/" -i 972.txt
- sed -e '/^ /y/,/\a/' -i 972.txt
+ 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.txt || die
}
src_compile() {
@@ -34,12 +36,12 @@ src_compile() {
-s "The Devil's Dictionary (2015-08-22 Project Gutenberg version)" \
--headword-separator " or " \
--columns 80 \
- -h devils
- sed -e 'y/\a/,/' -i devils.dict
- dictzip devils.dict
+ -h devils || die
+ sed -e 'y/\a/,/' -i devils.dict || die
+ dictzip devils.dict || die
}
src_install() {
- insinto /var/dict
+ insinto /usr/share/dict
doins devils.dict.dz devils.index
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-dicts/dictd-devils/
@ 2021-06-11 15:23 Alessandro Barbieri
0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-06-11 15:23 UTC (permalink / raw
To: gentoo-commits
commit: 7f9167e0ca49df66e3f76647870c2fedd3e75bda
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jun 6 01:29:12 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Jun 11 15:23:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f9167e0
app-dicts/dictd-devils: default
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
app-dicts/dictd-devils/dictd-devils-20150822.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
index b6cfce5d5..381675db3 100644
--- a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
+++ b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
@@ -20,7 +20,7 @@ BDEPEND="
PATCHES=( "${FILESDIR}/format.patch" )
src_prepare() {
- eapply_user
+ default
sed \
-e 's/\r//g' \
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-dicts/dictd-devils/
@ 2021-06-11 15:23 Alessandro Barbieri
0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-06-11 15:23 UTC (permalink / raw
To: gentoo-commits
commit: ffed7a286c555aaa5b58ac9e19d0db4d848b834b
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jun 6 00:48:26 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Jun 11 15:23:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ffed7a28
app-dicts/dictd-devils: missing unzip
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
app-dicts/dictd-devils/dictd-devils-20150822.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
index 304a3f090..40408b401 100644
--- a/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
+++ b/app-dicts/dictd-devils/dictd-devils-20150822.ebuild
@@ -12,7 +12,10 @@ SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=app-text/dictd-1.5.5"
-BDEPEND="${RDEPEND}"
+BDEPEND="
+ ${RDEPEND}
+ app-arch/unzip
+"
PATCHES=( "${FILESDIR}/format.patch" )
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-06-11 15:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-11 15:23 [gentoo-commits] repo/proj/guru:dev commit in: app-dicts/dictd-devils/ Alessandro Barbieri
-- strict thread matches above, loose matches on Subject: below --
2021-06-11 15:23 Alessandro Barbieri
2021-06-11 15:23 Alessandro Barbieri
2021-06-11 15:23 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox