mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 23:12:02 +08:00
b5d3a38e45
Move existing version checks into override and add explicit package checks. Signed-off-by: George Sapkin <george@sapk.in>
41 lines
593 B
Bash
Executable File
41 lines
593 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# shellckeck shell=busybox
|
|
|
|
case "$PKG_NAME" in
|
|
python3|\
|
|
python3-base|\
|
|
python3-light)
|
|
python3 --version | grep -Fx "Python $PKG_VERSION"
|
|
;;
|
|
|
|
python3-asyncio|\
|
|
python3-base-src|\
|
|
python3-codecs|\
|
|
python3-ctypes|\
|
|
python3-dbm|\
|
|
python3-decimal|\
|
|
python3-dev|\
|
|
python3-light-src|\
|
|
python3-logging|\
|
|
python3-lzma|\
|
|
python3-multiprocessing|\
|
|
python3-ncurses|\
|
|
python3-openssl|\
|
|
python3-pydoc|\
|
|
python3-readline|\
|
|
python3-sqlite3|\
|
|
python3-unittest|\
|
|
python3-urllib|\
|
|
python3-uuid|\
|
|
python3-venv|\
|
|
python3-xml)
|
|
exit 0
|
|
;;
|
|
|
|
*)
|
|
echo "Untested package: $PKG_NAME" >&2
|
|
exit 1
|
|
;;
|
|
esac
|