mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-04 13:42:03 +00:00
newapkbuild: treat packages that start with py[0-9]- as python packages.
This commit is contained in:
parent
5cc73d98c3
commit
d0ce42112f
@ -316,7 +316,7 @@ __EOF__
|
||||
buildtype="cmake"
|
||||
elif [ -r "$sdir"/Makefile ]; then
|
||||
buildtype="make"
|
||||
elif [ -r "$sdir"/setup.py ]; then
|
||||
elif [ -r "$sdir"/setup.py ] || [ "${pn#py[0-9]-}" != "$pn" ]; then
|
||||
buildtype="python"
|
||||
elif [ -r "$sdir"/Cargo.toml ]; then
|
||||
buildtype="rust"
|
||||
|
Loading…
Reference in New Issue
Block a user