public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/nuspell/
Date: Thu,  6 Feb 2020 17:58:14 +0000 (UTC)	[thread overview]
Message-ID: <1581011802.a87af8d202297948dc1f6a0e27abc8c33eca7363.sping@gentoo> (raw)

commit:     a87af8d202297948dc1f6a0e27abc8c33eca7363
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  6 17:55:26 2020 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Thu Feb  6 17:56:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87af8d2

app-text/nuspell: Improve integration of tests

Upstream: https://github.com/nuspell/nuspell/issues/51#issuecomment-583019563
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20

 app-text/nuspell/nuspell-3.0.0.ebuild | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/app-text/nuspell/nuspell-3.0.0.ebuild b/app-text/nuspell/nuspell-3.0.0.ebuild
index b5874aeda40..911f390e6d2 100644
--- a/app-text/nuspell/nuspell-3.0.0.ebuild
+++ b/app-text/nuspell/nuspell-3.0.0.ebuild
@@ -9,10 +9,10 @@ DESCRIPTION="Spell checker library and CLI for complex natural languages"
 HOMEPAGE="https://nuspell.github.io/ https://github.com/nuspell/nuspell"
 SRC_URI="https://github.com/nuspell/nuspell/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
-LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ ) LGPL-3+"
+LICENSE="test? ( || ( MPL-1.1 GPL-2+ LGPL-2.1+ ) ) LGPL-3+"
 SLOT="0/3"  # due to libnuspell.so.3
 KEYWORDS="~amd64 ~x86"
-IUSE="doc"
+IUSE="doc test"
 
 RDEPEND="dev-libs/icu"
 DEPEND="${RDEPEND}
@@ -21,6 +21,16 @@ DEPEND="${RDEPEND}
 
 DOCS=( CHANGELOG.md )
 
+RESTRICT="!test? ( test )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTING=$(usex test)
+	)
+
+	cmake_src_configure
+}
+
 pkg_postinst() {
 	einfo
 	einfo 'Nuspell needs language packs and/or dictionaries to be of use'


             reply	other threads:[~2020-02-06 17:58 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-06 17:58 Sebastian Pipping [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-09 13:12 [gentoo-commits] repo/gentoo:master commit in: app-text/nuspell/ Sebastian Pipping
2024-10-09  2:53 Jakov Smolić
2024-10-09  2:53 Jakov Smolić
2024-07-06 23:59 Sebastian Pipping
2023-11-08 15:40 Sebastian Pipping
2023-09-06 13:22 Sebastian Pipping
2023-09-06  6:47 Sam James
2023-09-06  6:47 Sam James
2023-08-27 16:59 Sebastian Pipping
2023-06-08 22:35 Sam James
2023-02-18 13:55 Andreas Sturmlechner
2023-01-26 21:49 Sam James
2023-01-26 21:49 Sam James
2022-12-02 18:44 WANG Xuerui
2022-11-28 21:30 Sebastian Pipping
2022-09-29 14:49 Sebastian Pipping
2022-09-09 18:22 Sebastian Pipping
2022-06-05  2:32 Matt Turner
2022-05-16  8:32 Yixun Lan
2022-05-13 14:15 Jakov Smolić
2022-05-13  7:26 Jakov Smolić
2022-02-15 20:15 Sebastian Pipping
2022-01-28  7:24 Sam James
2021-11-13 15:24 Sebastian Pipping
2021-06-12 14:08 Sebastian Pipping
2020-12-13  1:30 Sebastian Pipping
2020-11-19 11:38 Sebastian Pipping
2020-11-02 17:49 Sebastian Pipping
2020-11-02 12:53 Sebastian Pipping
2020-10-20 16:50 Sebastian Pipping
2020-10-20 16:50 Sebastian Pipping
2020-07-01 12:20 Sebastian Pipping
2020-05-06 14:34 Sebastian Pipping
2020-04-07 19:34 Sebastian Pipping
2020-02-06 18:20 Sebastian Pipping
2020-02-06 17:28 Sebastian Pipping
2020-02-06  0:41 Sebastian Pipping

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=1581011802.a87af8d202297948dc1f6a0e27abc8c33eca7363.sping@gentoo \
    --to=sping@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