mirror of
https://github.com/openwrt/packages.git
synced 2026-06-17 12:40:06 +04:00
python-rsa: add test-version.sh generic version-check override
The pyrsa-* command line tools use argparse and do not print the package version with any of the flags probed by the CI generic version check, so it reports "No executables in the package provided version" and fails. Add a test-version.sh override; functionality remains covered by test.sh. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
This commit is contained in:
committed by
Alexandru Ardelean
parent
e7aff35e97
commit
cb99eecb43
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
# shellcheck shell=busybox
|
||||
|
||||
# The pyrsa-* command-line tools use argparse and do not print the package
|
||||
# version with any of the flags probed by the generic version check, so it
|
||||
# cannot be detected from the executables. Functionality is covered by test.sh.
|
||||
case "$PKG_NAME" in
|
||||
python3-rsa | python3-rsa-src)
|
||||
exit 0
|
||||
;;
|
||||
*)
|
||||
echo "Untested package: $PKG_NAME" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user