From 63d2a13e13f68574bfff80f855eddd0aec80f418 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 29 Dec 2019 09:18:46 +0100 Subject: [PATCH] libcap-ng: switch to python3 only. Make python2 a dummy meta-pkg. --- srcpkgs/libcap-ng/template | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/srcpkgs/libcap-ng/template b/srcpkgs/libcap-ng/template index c6ec4f0a216..d2bbea8cb94 100644 --- a/srcpkgs/libcap-ng/template +++ b/srcpkgs/libcap-ng/template @@ -1,7 +1,7 @@ # Template file for 'libcap-ng' pkgname=libcap-ng version=0.7.10 -revision=2 +revision=3 build_style=gnu-configure configure_args="--without-python --without-python3" short_desc="Alternate POSIX capabilities library" @@ -15,8 +15,8 @@ subpackages="libcap-ng-devel libcap-ng-progs" if [ -z "$CROSS_BUILD" ]; then subpackages+=" libcap-ng-python libcap-ng-python3" - hostmakedepends="python-devel python3-devel swig" - configure_args+=" --with-python --with-python3" + hostmakedepends="python3-devel swig" + configure_args+=" --without-python --with-python3" fi libcap-ng-devel_package() { @@ -48,11 +48,8 @@ libcap-ng-python3_package() { } } libcap-ng-python_package() { - lib32disabled=yes - short_desc+=" - Python2 bindings" - depends="python" - pycompile_module="capng.py" - pkg_install() { - vmove ${py2_sitelib} - } + build_style=meta + archs=noarch + short_desc+=" - transitional dummy pkg" + depends="libcap-ng-python3-${version}_${revision}" }