From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A94A815800D for ; Sun, 9 Jul 2023 04:47:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 900E3E0972; Sun, 9 Jul 2023 04:47:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6AC9BE0971 for ; Sun, 9 Jul 2023 04:47:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5EBDA340E2F for ; Sun, 9 Jul 2023 04:47:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB141AD1 for ; Sun, 9 Jul 2023 04:47:55 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1688878012.ee4823852ddac938004852416e907069beb8cdc3.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/mandoc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/mandoc/mandoc-1.14.6.ebuild X-VCS-Directories: app-text/mandoc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: ee4823852ddac938004852416e907069beb8cdc3 X-VCS-Branch: master Date: Sun, 9 Jul 2023 04:47:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6e47a346-32d2-4f50-a14c-3e4ebf8ecf2c X-Archives-Hash: 1f233410ab789ab2fb9ea739db624f0d commit: ee4823852ddac938004852416e907069beb8cdc3 Author: Matoro Mahri users noreply github com> AuthorDate: Thu Jun 29 16:11:41 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jul 9 04:46:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee482385 app-text/mandoc: wire up tests Bug: https://bugs.gentoo.org/908743 Signed-off-by: Matoro Mahri users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/31668 Signed-off-by: Sam James gentoo.org> app-text/mandoc/mandoc-1.14.6.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app-text/mandoc/mandoc-1.14.6.ebuild b/app-text/mandoc/mandoc-1.14.6.ebuild index 9af875d1eed0..a4127ae75473 100644 --- a/app-text/mandoc/mandoc-1.14.6.ebuild +++ b/app-text/mandoc/mandoc-1.14.6.ebuild @@ -12,7 +12,8 @@ SRC_URI="https://mdocml.bsd.lv/snapshots/${P}.tar.gz" LICENSE="ISC" SLOT="0" KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="cgi selinux system-man" +IUSE="cgi selinux system-man test" +RESTRICT="!test? ( test )" RDEPEND="sys-libs/zlib system-man? ( !sys-apps/man-db ) @@ -22,6 +23,7 @@ DEPEND="${RDEPEND} " BDEPEND=" cgi? ( app-text/highlight ) + test? ( dev-lang/perl ) " RDEPEND+=" selinux? ( sec-policy/selinux-makewhatis )" @@ -107,6 +109,10 @@ src_compile() { use cgi && emake man.cgi } +src_test() { + emake regress +} + src_install() { emake DESTDIR="${D}" install use cgi && emake DESTDIR="${D}" cgi-install www-install