summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-08-13 10:34:08 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-08-20 18:53:45 +0300
commit4b9b7803f0f1b8ad989b803698a183cbc21a2f10 (patch)
tree2889b2845b35cdbe6ea68523971cf5f2d7f74e3e /www-apache/mod_gnutls
parentwww-client/chromium: use python_has_version (diff)
downloadgentoo-4b9b7803f0f1b8ad989b803698a183cbc21a2f10.tar.gz
gentoo-4b9b7803f0f1b8ad989b803698a183cbc21a2f10.tar.bz2
gentoo-4b9b7803f0f1b8ad989b803698a183cbc21a2f10.zip
www-apache/mod_gnutls: use python_has_version
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'www-apache/mod_gnutls')
-rw-r--r--www-apache/mod_gnutls/mod_gnutls-0.12.0-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/www-apache/mod_gnutls/mod_gnutls-0.12.0-r1.ebuild b/www-apache/mod_gnutls/mod_gnutls-0.12.0-r1.ebuild
index 677b06b80b28..5412b35d4064 100644
--- a/www-apache/mod_gnutls/mod_gnutls-0.12.0-r1.ebuild
+++ b/www-apache/mod_gnutls/mod_gnutls-0.12.0-r1.ebuild
@@ -21,9 +21,6 @@ TEST_REQUIRED_APACHE_MODULES="apache2_modules_proxy,apache2_modules_proxy_http"
COMMON_DEPEND=">=net-libs/gnutls-3.3.0:=[pkcs11]"
DEPEND="${COMMON_DEPEND}
- $(python_gen_any_dep '
- dev-python/pyyaml[${PYTHON_USEDEP}]
- ')
test? (
app-crypt/monkeysphere
>=net-libs/gnutls-3.3.0:=[tools]
@@ -38,6 +35,9 @@ DEPEND="${COMMON_DEPEND}
RDEPEND="${COMMON_DEPEND}"
BDEPEND="
virtual/pkgconfig
+ $(python_gen_any_dep '
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ ')
"
RESTRICT="!test? ( test )"
@@ -50,7 +50,7 @@ DOCFILES="CHANGELOG NOTICE README"
need_apache2_4
python_check_deps() {
- has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
+ python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]"
}
pkg_setup() {