commit:     bdd4c10402c0553e77ffca41cffc4a5af42d20e9
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Fri Feb  7 18:18:27 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Sat Feb  8 00:29:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdd4c104

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 <chutzpah <AT> gentoo.org>

 .../{libxcrypt-4.4.12-r1.ebuild => libxcrypt-4.4.12-r2.ebuild}   | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

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 0983a476eda..eb95be5ae56 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' '')

Reply via email to