Signed-off-by: Gavin-John Noonan <mail@gjnoonan.co.uk>
---
testing/hatop/APKBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 testing/hatop/APKBUILD
diff --git a/testing/hatop/APKBUILD b/testing/hatop/APKBUILD
new file mode 100644
index 000000000000..372f34b28892
--- /dev/null
+++ b/testing/hatop/APKBUILD
@@ -0,0 +1,24 @@
+# Contributor: Gavin-John Noonan <mail@gjnoonan.co.uk>
+# Maintainer: Gavin-John Noonan <mail@gjnoonan.co.uk>
+pkgname="hatop"
+pkgver="0.7.7"
+pkgrel=0
+pkgdesc="Interactive ncurses client for the HAProxy unix socket"
+url="https://github.com/jhunt/hatop"
+arch="noarch"
+license="GPLv3"
+depends="python2 haproxy"
I don't think we should introduce new packages that uses python2. Can
this use python3? if not, can you please report it upstream?
Unfortunately the software hasn't had an official release in around 10
years. The original author has abandoned the project and someone has
forked (the fork is who I point to in the URL). Whilst he has added
support for Python3 there has not been a new release as yet.
My plan was to keep it as it is whilst in testing, an then once it has
been updated, update the package to use python3 and move into community.
No getting in until it is python3, please ask the new upstream to tag a
python3 release
Thanks!
-nc
+options="!check" # No test suite
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/jhunt/hatop/archive/v$pkgver.tar.gz"
+builddir="$srcdir/"
+
+package() {
+ install -Dm755 "$pkgname-$pkgver/bin/hatop" \
+ "$pkgdir/usr/bin/hatop"
+ install -Dm644 "$pkgname-$pkgver/man/hatop.1" \
+ "$pkgdir/usr/share/man/man1/hatop.1"
+
+}
+
+sha512sums="d678caf9f98ff4a800af120c0f06ffb842f55747486050070b2096526fda16e6e009d47e4cd6237ad3de2cf69732ebf5f29eba0dd84098e27ddc90f3a51212d6 hatop-0.7.7.tar.gz"
Please make a merge request in gitlab.alpinelinux.org/alpine/aports
--
2.26.0.rc1.11.g30e9940356dc