sys-libs/libxcrypt-4.4.12-r2: Revbump, fix python deps (bug #708594)
authorPatrick McLean <patrick.mclean@sony.com>
Fri, 7 Feb 2020 18:18:27 +0000 (10:18 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Sat, 8 Feb 2020 00:29:00 +0000 (16:29 -0800)
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 <chutzpah@gentoo.org>
sys-libs/libxcrypt/libxcrypt-4.4.12-r2.ebuild [moved from sys-libs/libxcrypt/libxcrypt-4.4.12-r1.ebuild with 96% similarity]

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 0983a476edae36fa2d899adf1f1c8cb78a8a97ff..eb95be5ae561be431eac889317ffa8b69e6bf356 100644 (file)
@@ -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' '')