From: Patrick McLean Date: Fri, 7 Feb 2020 18:18:27 +0000 (-0800) Subject: sys-libs/libxcrypt-4.4.12-r2: Revbump, fix python deps (bug #708594) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bdd4c10402c0553e77ffca41cffc4a5af42d20e9;p=gentoo.git sys-libs/libxcrypt-4.4.12-r2: Revbump, fix python deps (bug #708594) Closes: https://bugs.gentoo.org/708594 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Patrick McLean --- diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.12-r1.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.12-r2.ebuild similarity index 96% rename from sys-libs/libxcrypt/libxcrypt-4.4.12-r1.ebuild rename to sys-libs/libxcrypt/libxcrypt-4.4.12-r2.ebuild index 0983a476edae..eb95be5ae561 100644 --- a/sys-libs/libxcrypt/libxcrypt-4.4.12-r1.ebuild +++ b/sys-libs/libxcrypt/libxcrypt-4.4.12-r2.ebuild @@ -20,10 +20,7 @@ DEPEND="system? ( )" RDEPEND="${DEPEND}" BDEPEND="sys-apps/findutils - test? ( - ${PYTHON_DEPS} - $(python_gen_any_dep 'dev-python/passlib[${PYTHON_USEDEP}]') - )" + test? ( $(python_gen_any_dep 'dev-python/passlib[${PYTHON_USEDEP}]') )" RESTRICT="!test? ( test )" @@ -34,6 +31,10 @@ PATCHES=( "${FILESDIR}/libxcrypt-4.4.12-multibuild.patch" ) +python_check_deps() { + has_version -b "dev-python/passlib[${PYTHON_USEDEP}]" +} + pkg_setup() { MULTIBUILD_VARIANTS=( $(usex compat 'xcrypt_compat' '')