Skip to content
Snippets Groups Projects
Commit 38bfaf93 authored by Naveen N. Rao's avatar Naveen N. Rao Committed by Leo
Browse files

community/bcc: use python3 as the interpreter for bcc-tools

Update tools to use /usr/bin/python3 as the interpreter.
parent 7dc6f55d
No related branches found
No related tags found
2 merge requests!11958community/rclone: upgrade to 1.52.3,!9753community/bcc: use python3 as the interpreter for bcc-tools
# Maintainer: Adam Jensen <acjensen@gmail.com> # Maintainer: Adam Jensen <acjensen@gmail.com>
pkgname=bcc pkgname=bcc
pkgver=0.15.0 pkgver=0.15.0
pkgrel=0 pkgrel=1
pkgdesc="A toolkit for creating efficient kernel tracing and manipulation programs" pkgdesc="A toolkit for creating efficient kernel tracing and manipulation programs"
url="https://github.com/iovisor/bcc/" url="https://github.com/iovisor/bcc/"
arch="all !s390x !mips !mips64" # build fails arch="all !s390x !mips !mips64" # build fails
...@@ -59,6 +59,8 @@ _tools() { ...@@ -59,6 +59,8 @@ _tools() {
mkdir -p "$subpkgdir"/usr/share/bcc mkdir -p "$subpkgdir"/usr/share/bcc
mv "$pkgdir"/usr/share/bcc/tools "$subpkgdir"/usr/share/bcc mv "$pkgdir"/usr/share/bcc/tools "$subpkgdir"/usr/share/bcc
mv "$pkgdir"/usr/share/bcc/introspection "$subpkgdir"/usr/share/bcc mv "$pkgdir"/usr/share/bcc/introspection "$subpkgdir"/usr/share/bcc
find "$subpkgdir"/usr/share/bcc/tools -type f -exec \
sed -ie "s/^#!\/usr\/bin\/python$/#!\/usr\/bin\/python3/" \{\} \;
} }
_py() { _py() {
......
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