diff options
author | Ben Kohler <bkohler@gentoo.org> | 2020-03-29 06:55:29 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2020-03-29 06:59:06 -0500 |
commit | b63daad1108b0a5e11a544fdf33fe9fc39e9d72a (patch) | |
tree | da1d23d6776dd3fe08148f72c002126f40b5c937 /dev-libs/ell/ell-9999.ebuild | |
parent | dev-python/warlock: Remove redundant longdesc (diff) | |
download | gentoo-b63daad1108b0a5e11a544fdf33fe9fc39e9d72a.tar.gz gentoo-b63daad1108b0a5e11a544fdf33fe9fc39e9d72a.tar.bz2 gentoo-b63daad1108b0a5e11a544fdf33fe9fc39e9d72a.zip |
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 <bkohler@gentoo.org>
Diffstat (limited to 'dev-libs/ell/ell-9999.ebuild')
-rw-r--r-- | dev-libs/ell/ell-9999.ebuild | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/dev-libs/ell/ell-9999.ebuild b/dev-libs/ell/ell-9999.ebuild index a16ad16548b3..6c1b04339772 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 |