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

Anatol Pomozov anatolik at archlinux.org
Mon Dec 9 20:53:06 UTC 2019


    Date: Monday, December 9, 2019 @ 20:53:06
  Author: anatolik
Revision: 536434

FS#64782: use /usr/bin/python for scripts that can be run with python3

Modified:
  fio/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-09 19:30:37 UTC (rev 536433)
+++ PKGBUILD	2019-12-09 20:53:06 UTC (rev 536434)
@@ -10,7 +10,7 @@
 url='https://github.com/axboe/fio'
 license=(GPL2)
 # TODO: enable rdma, need to move the libraries from AUR
-depends=(bash libaio python2 numactl glusterfs)
+depends=(bash libaio python numactl glusterfs)
 makedepends=(gtk2)
 optdepends=(
   'gtk2: for gfio - fio GUI frontend' 
@@ -23,7 +23,7 @@
 
 prepare() {
   cd fio-fio-$pkgver
-  sed -e 's|#!/usr/bin/env python|#!/usr/bin/env python2|' -i tools/plot/fio2gnuplot
+  sed -e 's|#!/usr/bin/python2.7$|#!/usr/bin/python|' -i tools/{fio_jsonplus_clat2csv,fiologparser.py,hist/fiologparser_hist.py,hist/half-bins.py,plot/fio2gnuplot}
 
   patch -p1 < ../fix_gfio.patch
 }



More information about the arch-commits mailing list