[arch-commits] Commit in libcap-ng/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Thu Jul 22 09:44:40 UTC 2021


    Date: Thursday, July 22, 2021 @ 09:44:40
  Author: dvzrv
Revision: 420282

upgpkg: libcap-ng 0.8.2-2: Rebuild to add python bindings.

Add python and swig to makedepends to also build python(3) bindings:
https://bugs.archlinux.org/task/71565
Add python to optdepends.

Modified:
  libcap-ng/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-22 09:22:41 UTC (rev 420281)
+++ PKGBUILD	2021-07-22 09:44:40 UTC (rev 420282)
@@ -5,12 +5,14 @@
 
 pkgname=libcap-ng
 pkgver=0.8.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Library making programming with POSIX capabilities easier than traditional libcap'
 url='https://people.redhat.com/sgrubb/libcap-ng/'
 arch=('x86_64')
 license=('LGPL2.1')
 depends=('glibc')
+makedepends=('python' 'swig')
+optdepends=('python: for python bindings')
 provides=('libcap-ng.so' 'libdrop_ambient.so')
 source=(https://github.com/stevegrubb/libcap-ng/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
 sha512sums=('33832ee16972050a7c5cb20de21d766d5e88f5357db28166b83b05369f7ceea0b1aded39bae2d746d582ad4ee7703c131876fc4bcbc5d4b4eadd7dd429e8cf10')
@@ -26,7 +28,8 @@
   ./configure \
     --prefix=/usr \
     --enable-static=no \
-    --without-python
+    --without-python \
+    --with-python3
   make
 }
 




More information about the arch-commits mailing list