Skip to content
Snippets Groups Projects
Commit 3150b271 authored by Russ's avatar Russ
Browse files

testing/babeltrace: update to 2.0.3

* added python3 bindings
parent 55e76990
No related branches found
No related tags found
3 merge requests!11958community/rclone: upgrade to 1.52.3,!9763[3.12] community/znc: upgrade to 1.8.1,!8946testing/babeltrace: update to 2.0.3
# Contributor: Michael Jeanson <mjeanson@efficios.com>
# Maintainer: Michael Jeanson <mjeanson@efficios.com>
pkgname=babeltrace
pkgver=1.5.8
pkgver=2.0.3
pkgrel=0
pkgdesc="Trace converter and read/write library"
url="https://www.efficios.com/babeltrace"
arch="all"
license="MIT"
options="!check" # waiting on https://bugs.lttng.org/issues/1272
depends_dev="glib-dev"
makedepends="$depends_dev popt-dev util-linux-dev bash perl"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.efficios.com/files/babeltrace/babeltrace-$pkgver.tar.bz2"
makedepends="$depends_dev python3-dev swig"
checkdepends="bash grep" # test cases use both Bash and grep tools
subpackages="$pkgname-dev $pkgname-doc py3-babeltrace:py3bindings"
source="https://www.efficios.com/files/babeltrace/babeltrace2-$pkgver.tar.bz2"
builddir="$srcdir/babeltrace2-$pkgver"
case "$CARCH" in
mips*) options="!check";;
esac
# case "$CARCH" in
# mips*) options="!check";;
# esac
build() {
# This package uses _init functions to initialise extensions. With
......@@ -25,8 +28,9 @@ build() {
--host=$CHOST \
--prefix=/usr \
--disable-static \
--disable-debug-info
make V=1
--disable-debug-info \
--enable-python-bindings
make
}
check() {
......@@ -37,4 +41,9 @@ package() {
make DESTDIR="$pkgdir" install
}
sha512sums="827749ae8507efd433bb97ef668628837a3ff15b5be5097af5621d46055c6f10401da0be1f9d9f843a96c8c307b33745e04284d166e275e03b7ddb0a7dd57e96 babeltrace-1.5.8.tar.bz2"
py3bindings() {
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib
}
sha512sums="5e7b3df35d894d67a327bbdafc4e599872b9bb63f1857819b84f4ac46872d06d19172f880a736ec1b05b21d3a0c5e7ac347a20e1a1afacefc9f5484cf619ac39 babeltrace2-2.0.3.tar.bz2"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment