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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E9454139368 for ; Wed, 11 Aug 2021 02:05:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D4E8E0871; Wed, 11 Aug 2021 02:05:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7A79E0871 for ; Wed, 11 Aug 2021 02:05:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B1AA342F09 for ; Wed, 11 Aug 2021 02:05:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6515B887 for ; Wed, 11 Aug 2021 02:05:33 +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: <1628647514.995e865328fc3e9682061f2e37cb7f6879a2a9b7.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/dino/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/dino/dino-0.2.1.ebuild net-im/dino/dino-9999.ebuild X-VCS-Directories: net-im/dino/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 995e865328fc3e9682061f2e37cb7f6879a2a9b7 X-VCS-Branch: master Date: Wed, 11 Aug 2021 02:05:33 +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: 7f689c1e-cffd-4258-830d-eaec0efdce02 X-Archives-Hash: eba79cfe54b594b491199cbcf48a9972 commit: 995e865328fc3e9682061f2e37cb7f6879a2a9b7 Author: Sam James gentoo org> AuthorDate: Wed Aug 11 01:28:41 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Aug 11 02:05:14 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995e8653 net-im/dino: [QA] use test USE flag to control building, not FEATURES FEATURES isn't defined by PMS, so conditional building of tests (or conditional dependencie) should be done with a USE flag + RESTRICT. Signed-off-by: Sam James gentoo.org> net-im/dino/dino-0.2.1.ebuild | 9 ++++----- net-im/dino/dino-9999.ebuild | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/net-im/dino/dino-0.2.1.ebuild b/net-im/dino/dino-0.2.1.ebuild index bdb86b5b322..b9cbc662d43 100644 --- a/net-im/dino/dino-0.2.1.ebuild +++ b/net-im/dino/dino-0.2.1.ebuild @@ -9,9 +9,11 @@ inherit cmake vala xdg DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala" HOMEPAGE="https://dino.im" + LICENSE="GPL-3" SLOT="0" -IUSE="+gpg +http +omemo +notification-sound" +IUSE="+gpg +http +omemo +notification-sound test" +RESTRICT="!test? ( test )" MY_REPO_URI="https://github.com/dino/dino" if [[ ${PV} == "9999" ]]; then @@ -66,12 +68,9 @@ src_configure() { "-DENABLED_PLUGINS=$(local IFS=";"; echo "${enabled_plugins[*]}")" "-DDISABLED_PLUGINS=$(local IFS=";"; echo "${disabled_plugins[*]}")" "-DVALA_EXECUTABLE=${VALAC}" + "-DBUILD_TESTS=$(usex test)" ) - if has test ${FEATURES}; then - mycmakeargs+=("-DBUILD_TESTS=yes") - fi - cmake_src_configure } diff --git a/net-im/dino/dino-9999.ebuild b/net-im/dino/dino-9999.ebuild index 0decbb057e1..408e90c2968 100644 --- a/net-im/dino/dino-9999.ebuild +++ b/net-im/dino/dino-9999.ebuild @@ -9,9 +9,11 @@ inherit cmake vala xdg DESCRIPTION="Modern Jabber/XMPP Client using GTK+/Vala" HOMEPAGE="https://dino.im" + LICENSE="GPL-3" SLOT="0" -IUSE="+gpg +http +omemo +notification-sound" +IUSE="+gpg +http +omemo +notification-sound test" +RESTRICT="!test? ( test )" MY_REPO_URI="https://github.com/dino/dino" if [[ ${PV} == "9999" ]]; then @@ -68,12 +70,9 @@ src_configure() { "-DENABLED_PLUGINS=$(local IFS=";"; echo "${enabled_plugins[*]}")" "-DDISABLED_PLUGINS=$(local IFS=";"; echo "${disabled_plugins[*]}")" "-DVALA_EXECUTABLE=${VALAC}" + "-DBUILD_TESTS=$(usex test)" ) - if has test ${FEATURES}; then - mycmakeargs+=("-DBUILD_TESTS=yes") - fi - cmake_src_configure }