packages/lang/python/python-jsonpath-ng/test-version.sh

17 lines
407 B
Bash

#!/bin/sh
# shellcheck shell=busybox
# The jsonpath_ng command-line tool takes a required expression argument and
# has no version flag, so the generic version check cannot detect the version
# from it. The version is covered by the import check in test.sh instead.
case "$PKG_NAME" in
python3-jsonpath-ng | python3-jsonpath-ng-src)
exit 0
;;
*)
echo "Untested package: $PKG_NAME" >&2
exit 1
;;
esac