Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
babeltrace2


Commits:
6e89d587 by Simon Marchi at 2024-09-24T15:00:44-04:00
Add `--enable-python-bindings` and `--enable-python-plugins` configure flags

 - Python bindings support allows to drive babeltrace2 from a Python
   script (i.e.  do `import bt2` and use it build a graph / read traces)
 - Python plugins support allows loading component classes implemented
   in Python

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -8,8 +8,8 @@ pkgdesc="Command-line trace converter (V2)"
 arch=('x86_64')
 url="https://diamon.org/babeltrace";
 license=('MIT' 'GPL2' 'LGPL2.1' 'BSD2')
-depends=('glibc' 'glib2' 'libelf')
-makedepends=('asciidoc' 'xmlto')
+depends=('glibc' 'glib2' 'libelf' 'python')
+makedepends=('asciidoc' 'xmlto' 'swig' 'python-distutils-extra')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/efficios/babeltrace/archive/v${pkgver}.tar.gz";
         '0001-tests-test_dwarf.c-initialize-tag-variable.patch')
 
sha512sums=('fc2c99d66500fd369aa353a77ddef5e1f5d06c6143c91fde5628dbaf1822897d32b60179db44f7dcf340d5e615fa8fe7246b6a23ee5ddaace69a2b462ed899b6'
@@ -23,7 +23,7 @@ prepare() {
 build() {
     cd "${srcdir}/${_pkgname}-${pkgver}"
     autoreconf --install
-    ./configure --prefix='/usr' --enable-debug-info
+    ./configure --prefix='/usr' --enable-debug-info --enable-python-bindings 
--enable-python-plugins
     make
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/babeltrace2/-/commit/6e89d5876e76fca16f9979fc6d22ccf4996159e1

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/babeltrace2/-/commit/6e89d5876e76fca16f9979fc6d22ccf4996159e1
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to