Commit bcb659c0 authored by prspkt's avatar prspkt Committed by Timo Teräs

main/htop: upgrade to python3, clarify license

parent bd4ba641
......@@ -3,15 +3,16 @@
pkgname=htop
pkgver=2.2.0
pkgrel=0
pkgdesc="An interactive process viewer"
url="http://hisham.hm/htop/"
pkgdesc="Interactive process viewer"
url="http://hisham.hm/htop"
arch="all"
license="GPL-2.0"
license="GPL-2.0-or-later"
depends=""
makedepends="ncurses-dev python2"
makedepends="ncurses-dev python3"
subpackages="$pkgname-doc"
options="!check" # no upstream/available test-suite
source="http://hisham.hm/htop/releases/$pkgver/$pkgname-$pkgver.tar.gz"
source="http://hisham.hm/htop/releases/$pkgver/$pkgname-$pkgver.tar.gz
fix-python-path.patch"
builddir="$srcdir"/$pkgname-$pkgver
build() {
......@@ -33,4 +34,5 @@ package() {
make DESTDIR="$pkgdir" install
}
sha512sums="ec1335bf0e3e0387e5e50acbc508d0effad19c4bc1ac312419dc97b82901f4819600d6f87a91668f39d429536d17304d4b14634426a06bec2ecd09df24adc62e htop-2.2.0.tar.gz"
sha512sums="ec1335bf0e3e0387e5e50acbc508d0effad19c4bc1ac312419dc97b82901f4819600d6f87a91668f39d429536d17304d4b14634426a06bec2ecd09df24adc62e htop-2.2.0.tar.gz
f2eeafb7207ba14dc7577aa85618adb71fb689a42476d04c99f6be01e8c6ac77cd5ed8ee056b80ddb60c821e1d2c44ebcf4da40960c3b7e8bb3a0d64aad0fd9a fix-python-path.patch"
--- a/scripts/MakeHeader.py
+++ b/scripts/MakeHeader.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
import os, sys, string, io
try:
from StringIO import StringIO
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment