newt: Update to 0.52.24, add test.sh script for packages feed CI

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To 2023-10-31 13:25:50 +08:00 committed by Tianling Shen
parent 3085608448
commit 47c8bf1a09
2 changed files with 15 additions and 2 deletions

View File

@ -10,12 +10,12 @@
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 <jeffery.to@gmail.com>
PKG_LICENSE:=LGPL-2.0-only

13
libs/newt/test.sh Normal file
View File

@ -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