mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 15:02:01 +08:00
python3: move version checks to override
Move existing version checks into override and add explicit package checks. Signed-off-by: George Sapkin <george@sapk.in>
This commit is contained in:
committed by
Alexandru Ardelean
parent
5715d92625
commit
b5d3a38e45
Executable
+40
@@ -0,0 +1,40 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user