summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-10-03 17:29:44 +0200
committerDavid Seifert <soap@gentoo.org>2020-10-03 17:29:44 +0200
commit623003b092d58ed2f81dd74975cb79c9d0a9c66e (patch)
treee591b961d4721a14875c22d08b11b024b806f25e /app-text/dictd
parentacct-user/dictd: Add user for app-text/dictd (diff)
downloadgentoo-623003b092d58ed2f81dd74975cb79c9d0a9c66e.tar.gz
gentoo-623003b092d58ed2f81dd74975cb79c9d0a9c66e.tar.bz2
gentoo-623003b092d58ed2f81dd74975cb79c9d0a9c66e.zip
app-text/dictd: [QA] Port to GLEP 81
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-text/dictd')
-rw-r--r--app-text/dictd/dictd-1.12.1-r3.ebuild (renamed from app-text/dictd/dictd-1.12.1-r2.ebuild)10
-rw-r--r--app-text/dictd/dictd-1.13.0-r1.ebuild (renamed from app-text/dictd/dictd-1.13.0.ebuild)9
2 files changed, 7 insertions, 12 deletions
diff --git a/app-text/dictd/dictd-1.12.1-r2.ebuild b/app-text/dictd/dictd-1.12.1-r3.ebuild
index 4feb9c4a5c76..7d308344d564 100644
--- a/app-text/dictd/dictd-1.12.1-r2.ebuild
+++ b/app-text/dictd/dictd-1.12.1-r3.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-inherit eutils readme.gentoo systemd user
+
+inherit epatch readme.gentoo systemd
DESCRIPTION="Dictionary Client/Server for the DICT protocol"
HOMEPAGE="http://www.dict.org/ https://sourceforge.net/projects/dict/"
@@ -17,6 +18,8 @@ RESTRICT="!test? ( test )"
# <gawk-3.1.6 makes tests fail.
RDEPEND="
+ acct-group/dictd
+ acct-user/dictd
sys-libs/zlib
dev-libs/libmaa
dbi? ( dev-db/libdbi )
@@ -38,11 +41,6 @@ DOC_CONTENTS="
explained in /etc/dict/dictd.conf comments.
"
-pkg_setup() {
- enewgroup dictd # used in src_test()
- enewuser dictd -1 -1 -1 dictd
-}
-
src_prepare() {
epatch "${FILESDIR}"/dictd-1.10.11-colorit-nopp-fix.patch
epatch "${FILESDIR}"/dictd-1.12.0-build.patch
diff --git a/app-text/dictd/dictd-1.13.0.ebuild b/app-text/dictd/dictd-1.13.0-r1.ebuild
index 510bb16e5845..8aba635b518b 100644
--- a/app-text/dictd/dictd-1.13.0.ebuild
+++ b/app-text/dictd/dictd-1.13.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit readme.gentoo-r1 systemd user
+inherit readme.gentoo-r1 systemd
DESCRIPTION="Dictionary Client/Server for the DICT protocol"
HOMEPAGE="http://www.dict.org/ https://sourceforge.net/projects/dict/"
@@ -18,6 +18,8 @@ RESTRICT="!test? ( test )"
# <gawk-3.1.6 makes tests fail.
RDEPEND="
+ acct-group/dictd
+ acct-user/dictd
>=sys-apps/coreutils-6.10
dev-libs/libmaa
sys-libs/zlib
@@ -45,11 +47,6 @@ PATCHES=(
"${FILESDIR}"/dictd-1.12.0-build.patch
)
-pkg_setup() {
- enewgroup dictd # used in src_test()
- enewuser dictd -1 -1 -1 dictd
-}
-
src_prepare() {
default