From: Alexandru Ardelean Date: Fri, 13 Mar 2026 20:46:54 +0000 (+0200) Subject: python-userpath: bump to 1.9.2 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=53581795736448cd8744f5a672908915be6f59be;p=openwrt-packages.git python-userpath: bump to 1.9.2 Full release notes: https://github.com/ofek/userpath/releases/tag/v1.9.2 Add a bit more testing. Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/python-userpath/Makefile b/lang/python/python-userpath/Makefile index d703e717f..6502d3a5d 100644 --- a/lang/python/python-userpath/Makefile +++ b/lang/python/python-userpath/Makefile @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-userpath -PKG_VERSION:=1.9.1 +PKG_VERSION:=1.9.2 PKG_RELEASE:=1 PYPI_NAME:=userpath -PKG_HASH:=ce8176728d98c914b6401781bf3b23fccd968d1647539c8788c7010375e02796 +PKG_HASH:=6c52288dab069257cc831846d15d48133522455d4677ee69a9781f11dbefd815 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE.txt diff --git a/lang/python/python-userpath/test.sh b/lang/python/python-userpath/test.sh index e87d325ba..a751b7f20 100644 --- a/lang/python/python-userpath/test.sh +++ b/lang/python/python-userpath/test.sh @@ -2,4 +2,13 @@ [ "$1" = python3-userpath ] || exit 0 +# Test version userpath --version | grep -Fx "userpath, version $PKG_VERSION" + +# Test append and prepend (changes take effect after shell restart, +# so only check that the commands succeed) +TEST_DIR="/tmp/userpath-test-$$" +userpath append "$TEST_DIR" + +TEST_DIR2="/tmp/userpath-test2-$$" +userpath prepend "$TEST_DIR2"