Full release notes:
https://github.com/ofek/userpath/releases/tag/v1.9.2
Add a bit more testing.
Signed-off-by: Alexandru Ardelean <redacted>
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
[ "$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"