newt: Update to 0.52.24, add test.sh script for packages feed CI
authorJeffery To <[email protected]>
Tue, 31 Oct 2023 05:25:50 +0000 (13:25 +0800)
committerTianling Shen <[email protected]>
Wed, 1 Nov 2023 16:41:14 +0000 (00:41 +0800)
Signed-off-by: Jeffery To <[email protected]>
libs/newt/Makefile
libs/newt/test.sh [new file with mode: 0644]

index c0bc799df2e0bb620e703060db78087d94dfd43f..30b9b5b27c7720c1140699df473b1fee1558b4c9 100644 (file)
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=newt
-PKG_VERSION:=0.52.23
+PKG_VERSION:=0.52.24
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://releases.pagure.org/newt
-PKG_HASH:=caa372907b14ececfe298f0d512a62f41d33b290610244a58aed07bbc5ada12a
+PKG_HASH:=5ded7e221f85f642521c49b1826c8de19845aa372baf5d630a51774b544fbdbb
 
 PKG_MAINTAINER:=Jeffery To <[email protected]>
 PKG_LICENSE:=LGPL-2.0-only
diff --git a/libs/newt/test.sh b/libs/newt/test.sh
new file mode 100644 (file)
index 0000000..ae90067
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+case "$1" in
+
+python3-newt)
+       python3 -c 'import snack'
+       ;;
+
+whiptail)
+       whiptail --version | grep -Fx "whiptail (newt): $PKG_VERSION"
+       ;;
+
+esac