[crux-commits] ports/opt (3.6): htop: use python3 instead

crux at crux.nu crux at crux.nu
Tue Jul 21 14:32:43 UTC 2020


commit aafa10fc8d28bec550a6f21a3bbea60c4e2e3d00
Author: Fredrik Rinnestam <fredrik at crux.nu>
Date:   Tue Jul 21 16:32:31 2020 +0200

    htop: use python3 instead

diff --git a/htop/.signature b/htop/.signature
index 6d622925e..075b12d55 100644
--- a/htop/.signature
+++ b/htop/.signature
@@ -1,6 +1,6 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/dEOow2YCmQMmIIhx7pkK/zAx+pa+HCMcAIY5pqx/1YvryJSOBw/wOmwcBE+KpupSfYedkPrVg0Tp0JLI9fOKwc=
-SHA256 (Pkgfile) = d4635e87ddba1ac5db3bb25733164967b0e6100451d1d44e30bc3b66156dc7d4
+RWSE3ohX2g5d/QSRypyAfioJ8Phis/xK57xOqKxUUgcl4FwZQcuSJwn5yycl1nKaIXvSZY+0UbTBOJHIKcwqJc4916u7ANB3Zg4=
+SHA256 (Pkgfile) = cb9a47f4f7840e75dab5b35a94e847b78ae57be5d2c645fac11aaa3ecb5eac54
 SHA256 (.footprint) = f11cf3a232e1f7885985d2d8ee00b4dbfbd263941e45f11afb4c6c56829b148f
 SHA256 (htop-2.2.0.tar.gz) = d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57
 SHA256 (gcc10.patch) = 2a09f4fc7752edf4738ac17caa245ade1360f184cdbb92756b5ba5bf4647e1fd
diff --git a/htop/Pkgfile b/htop/Pkgfile
index 2e0b2dc5f..8ffd3a9cd 100644
--- a/htop/Pkgfile
+++ b/htop/Pkgfile
@@ -1,18 +1,18 @@
-# Packager:     Simone Rota, sip at crux dot nu
 # Maintainer:   Thomas Penteker, tek at serverop dot de
 # Description:  an interactive process viewer
 # URL:          http://hisham.hm/htop
-# Depends on:   python
+# Depends on:   python3
 
 name=htop
 version=2.2.0
-release=2
+release=3
 source=(https://hisham.hm/htop/releases/$version/htop-$version.tar.gz \
     gcc10.patch)
 
 build() {
     cd $name-$version
     patch -p1 -i $SRC/gcc10.patch
+    sed -i -e 's/python/python3/g' scripts/MakeHeader.py
     ./configure --prefix=/usr
     make
     make DESTDIR=$PKG install


More information about the crux-commits mailing list