From 6cb007e8f76c29e2a677ce33198e08917708d006 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Thu, 18 Oct 2018 17:48:48 +0200 Subject: [PATCH] python*-audit: lib32disabled=yes, fix pycompile_module Also, they don't follow our naming convention for language bindings. See https://github.com/void-linux/void-packages/blob/master/Manual.md#language_bindings. --- srcpkgs/audit/template | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template index 9f0dc744431..1f3ff32f1fd 100644 --- a/srcpkgs/audit/template +++ b/srcpkgs/audit/template @@ -1,12 +1,11 @@ # Template file for 'audit' pkgname=audit version=2.8.4 -revision=1 +revision=2 build_style=gnu-configure configure_args="--libdir=/usr/lib --enable-shared=audit --enable-gssapi-krb5 --with-apparmor --with-libcap-ng --with-python --with-python3" -hostmakedepends="automake libtool pkg-config intltool - swig python-setuptools python3-setuptools" +hostmakedepends="automake libtool pkg-config intltool python python3 swig" makedepends="mit-krb5-devel libldap-devel libapparmor-devel libcap-ng-devel python-devel python3-devel" make_dirs="/var/log/audit 0700 root root" @@ -86,16 +85,18 @@ libauparse-devel_package() { } python-audit_package() { - short_desc+=" - Python bindings" - pycompile_module="audit" + lib32disabled=yes + short_desc+=" - Python2 bindings" + pycompile_module="audit.py" pkg_install() { vmove "usr/lib/python2*" } } python3-audit_package() { + lib32disabled=yes short_desc+=" - Python3 bindings" - pycompile_module="audit" + pycompile_module="audit.py" pkg_install() { vmove "usr/lib/python3*" }