Orhun Parmaksız pushed to branch main at Arch Linux / Packaging / Packages / 
hyperfine


Commits:
dbd116e2 by Sch Foo at 2024-01-26T15:29:18+00:00
Install data analysis scripts

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -1,16 +1,20 @@
 # Maintainer: Sven-Hendrik Haase <[email protected]>
 # Maintainer: Orhun Parmaksız <[email protected]>
 # Contributor: cauebs <[email protected]>
+# Contributor: cyqsimon <[email protected]>
 
 pkgname=hyperfine
 pkgver=1.18.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A command-line benchmarking tool"
 url="https://github.com/sharkdp/hyperfine";
 arch=("x86_64")
 license=("APACHE" "MIT")
 depends=(gcc-libs)
 makedepends=(cargo)
+optdepends=('python-numpy: run data analysis scripts'
+            'python-matplotlib: run data analysis scripts'
+            'python-scipy: run data analysis scripts')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/sharkdp/$pkgname/archive/v$pkgver.tar.gz";)
 options=(zipman)
 sha256sums=('fea7b92922117ed04b9c84bb9998026264346768804f66baa40743c5528bed6b')
@@ -41,4 +45,6 @@ package() {
   install -Dm644 target/release/build/hyperfine-*/out/_hyperfine 
"$pkgdir/usr/share/zsh/site-functions/_hyperfine"
 
   install -Dm644 doc/hyperfine.1 "$pkgdir/usr/share/man/man1/hyperfine.1"
+
+  install -Dm755 -t "$pkgdir/usr/lib/$pkgname/scripts" scripts/*.py
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hyperfine/-/commit/dbd116e20f49372e59dff978cedad6a709666b3e

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


Reply via email to