mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 19:02:09 +00:00
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 <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
ccd3edfabf
commit
5358179573
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user