From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/dictd/
Date: Mon, 14 Sep 2020 23:30:25 +0000 (UTC) [thread overview]
Message-ID: <1600126198.5f4e15d766417cd8b494ae1fa948562fb0b0289f.sam@gentoo> (raw)
commit: 5f4e15d766417cd8b494ae1fa948562fb0b0289f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 14 23:29:58 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 14 23:29:58 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4e15d7
app-text/dictd: Fix MissingTestRestrict
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-text/dictd/dictd-1.12.1-r2.ebuild | 5 +++--
app-text/dictd/dictd-1.13.0.ebuild | 13 +++++++------
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/app-text/dictd/dictd-1.12.1-r2.ebuild b/app-text/dictd/dictd-1.12.1-r2.ebuild
index 4da9d8dbf3a..4feb9c4a5c7 100644
--- a/app-text/dictd/dictd-1.12.1-r2.ebuild
+++ b/app-text/dictd/dictd-1.12.1-r2.ebuild
@@ -13,6 +13,7 @@ SLOT="0"
LICENSE="GPL-2 ISOC-rfc"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE="dbi judy minimal test"
+RESTRICT="!test? ( test )"
# <gawk-3.1.6 makes tests fail.
RDEPEND="
@@ -78,9 +79,9 @@ src_test() {
src_install() {
if use minimal; then
- emake DESTDIR="${D}" install.dictzip install.dict install.dictfmt
+ emake DESTDIR="${ED}" install.dictzip install.dict install.dictfmt
else
- emake DESTDIR="${D}" install
+ emake DESTDIR="${ED}" install
dodoc doc/{dicf.ms,rfc.ms,rfc.sh,rfc2229.txt}
dodoc doc/{security.doc,toc.ms}
diff --git a/app-text/dictd/dictd-1.13.0.ebuild b/app-text/dictd/dictd-1.13.0.ebuild
index 6f994838112..79c14217587 100644
--- a/app-text/dictd/dictd-1.13.0.ebuild
+++ b/app-text/dictd/dictd-1.13.0.ebuild
@@ -2,6 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit readme.gentoo-r1 systemd user
DESCRIPTION="Dictionary Client/Server for the DICT protocol"
@@ -13,6 +14,7 @@ SLOT="0"
LICENSE="GPL-2 ISOC-rfc"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
IUSE="dbi judy minimal test"
+RESTRICT="!test? ( test )"
# <gawk-3.1.6 makes tests fail.
RDEPEND="
@@ -22,9 +24,7 @@ RDEPEND="
dbi? ( dev-db/libdbi )
judy? ( dev-libs/judy )
"
-DEPEND="
- ${RDEPEND}
-"
+DEPEND="${RDEPEND}"
BDEPEND="
>=sys-apps/gawk-3.1.6
virtual/yacc
@@ -39,6 +39,7 @@ DOC_CONTENTS="
\nIf you are running systemd, you will need to review the instructions
explained in /etc/dict/dictd.conf comments.
"
+
PATCHES=(
"${FILESDIR}"/dictd-1.10.11-colorit-nopp-fix.patch
"${FILESDIR}"/dictd-1.12.0-build.patch
@@ -78,15 +79,15 @@ src_test() {
if [[ ${EUID} -eq 0 ]]; then
# If dictd is run as root user (-userpriv) it drops its privileges to
# dictd user and group. Give dictd group write access to test directory.
- chown :dictd "${WORKDIR}" "${S}/test"
- chmod 770 "${WORKDIR}" "${S}/test"
+ chown :dictd "${WORKDIR}" "${S}/test" || die
+ chmod 770 "${WORKDIR}" "${S}/test" || die
fi
emake test
}
src_install() {
if use minimal; then
- emake DESTDIR="${D}" install.dictzip install.dict install.dictfmt
+ emake DESTDIR="${ED}" install.dictzip install.dict install.dictfmt
else
default
next reply other threads:[~2020-09-14 23:30 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-14 23:30 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-21 4:23 [gentoo-commits] repo/gentoo:master commit in: app-text/dictd/ Arthur Zamarin
2024-06-18 18:12 Arthur Zamarin
2024-06-18 18:12 Arthur Zamarin
2024-06-18 18:12 Arthur Zamarin
2024-06-18 18:12 Arthur Zamarin
2024-06-18 12:23 Florian Schmaus
2023-10-10 5:42 Joonas Niilola
2023-10-09 0:36 Sam James
2023-10-09 0:34 Sam James
2023-10-09 0:23 Sam James
2023-10-09 0:23 Sam James
2023-06-28 7:37 Sam James
2023-06-24 5:26 Sam James
2022-12-21 22:47 Sam James
2022-12-18 20:32 Arthur Zamarin
2022-12-18 11:41 Sam James
2022-12-18 11:35 Sam James
2022-06-17 23:45 Sam James
2021-09-07 10:19 Joonas Niilola
2021-06-16 5:30 Joonas Niilola
2021-05-12 9:02 Ulrich Müller
2020-11-26 20:56 Aaron Bauman
2020-11-04 15:50 Sam James
2020-11-04 15:50 Sam James
2020-10-03 15:30 David Seifert
2020-09-18 8:26 Agostino Sarubbo
2020-09-18 7:29 Agostino Sarubbo
2020-09-16 17:48 Sergei Trofimovich
2020-08-05 12:57 Jeroen Roovers
2020-08-05 12:11 Jeroen Roovers
2017-06-18 15:14 Alexis Ballier
2016-04-26 22:27 Austin English
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1600126198.5f4e15d766417cd8b494ae1fa948562fb0b0289f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox