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 1C6451381F3 for ; Sun, 29 Mar 2020 11:59:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 65D11E09D8; Sun, 29 Mar 2020 11:59:17 +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 4A4AFE09D8 for ; Sun, 29 Mar 2020 11:59:17 +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 58B9534F1DF for ; Sun, 29 Mar 2020 11:59:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0933217 for ; Sun, 29 Mar 2020 11:59:15 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1585483146.b63daad1108b0a5e11a544fdf33fe9fc39e9d72a.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ell/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/ell/ell-0.30-r1.ebuild dev-libs/ell/ell-9999.ebuild X-VCS-Directories: dev-libs/ell/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: b63daad1108b0a5e11a544fdf33fe9fc39e9d72a X-VCS-Branch: master Date: Sun, 29 Mar 2020 11:59:15 +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: 54588ee8-5668-4091-9d48-511a31cd7950 X-Archives-Hash: f6e53adee713d26d239fd3c01d89e93e commit: b63daad1108b0a5e11a544fdf33fe9fc39e9d72a Author: Ben Kohler gentoo org> AuthorDate: Sun Mar 29 11:55:29 2020 +0000 Commit: Ben Kohler gentoo org> CommitDate: Sun Mar 29 11:59:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b63daad1 dev-libs/ell: move config check to pkg_setup & require dbus for tests Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Ben Kohler gentoo.org> .../ell/{ell-9999.ebuild => ell-0.30-r1.ebuild} | 31 +++++++++++----------- dev-libs/ell/ell-9999.ebuild | 31 +++++++++++----------- 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/dev-libs/ell/ell-9999.ebuild b/dev-libs/ell/ell-0.30-r1.ebuild similarity index 82% copy from dev-libs/ell/ell-9999.ebuild copy to dev-libs/ell/ell-0.30-r1.ebuild index a16ad16548b..6c1b0433977 100644 --- a/dev-libs/ell/ell-9999.ebuild +++ b/dev-libs/ell/ell-0.30-r1.ebuild @@ -17,25 +17,26 @@ fi LICENSE="LGPL-2.1" SLOT="0" -IUSE="glib pie" +IUSE="glib pie test" +RESTRICT="!test? ( test )" RDEPEND=" glib? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) " -DEPEND="${RDEPEND}" - -pkg_pretend() { - CONFIG_CHECK=" - ~TIMERFD - ~EVENTFD - ~CRYPTO_USER_API - ~CRYPTO_USER_API_HASH - ~CRYPTO_MD5 - ~CRYPTO_SHA1 - ~KEY_DH_OPERATIONS - " - check_extra_config -} +DEPEND=" + ${RDEPEND} + test? ( sys-apps/dbus ) +" + +CONFIG_CHECK=" + ~TIMERFD + ~EVENTFD + ~CRYPTO_USER_API + ~CRYPTO_USER_API_HASH + ~CRYPTO_MD5 + ~CRYPTO_SHA1 + ~KEY_DH_OPERATIONS +" src_prepare() { default diff --git a/dev-libs/ell/ell-9999.ebuild b/dev-libs/ell/ell-9999.ebuild index a16ad16548b..6c1b0433977 100644 --- a/dev-libs/ell/ell-9999.ebuild +++ b/dev-libs/ell/ell-9999.ebuild @@ -17,25 +17,26 @@ fi LICENSE="LGPL-2.1" SLOT="0" -IUSE="glib pie" +IUSE="glib pie test" +RESTRICT="!test? ( test )" RDEPEND=" glib? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) " -DEPEND="${RDEPEND}" - -pkg_pretend() { - CONFIG_CHECK=" - ~TIMERFD - ~EVENTFD - ~CRYPTO_USER_API - ~CRYPTO_USER_API_HASH - ~CRYPTO_MD5 - ~CRYPTO_SHA1 - ~KEY_DH_OPERATIONS - " - check_extra_config -} +DEPEND=" + ${RDEPEND} + test? ( sys-apps/dbus ) +" + +CONFIG_CHECK=" + ~TIMERFD + ~EVENTFD + ~CRYPTO_USER_API + ~CRYPTO_USER_API_HASH + ~CRYPTO_MD5 + ~CRYPTO_SHA1 + ~KEY_DH_OPERATIONS +" src_prepare() { default