libduktape: always install pyyaml

This commit is contained in:
Lucy Phipps 2021-10-05 15:57:49 +01:00 committed by Henrik Grimler
parent bbdaa639f7
commit c125591bb6
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 3 additions and 5 deletions

View File

@ -10,11 +10,9 @@ TERMUX_PKG_BREAKS="duktape (<< 2.3.0-1), libduktape-dev"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
if $TERMUX_ON_DEVICE_BUILD; then
# configure.py requires 'yaml' python2 module.
if ! pip2 show pyyaml > /dev/null 2>&1; then
pip2 install pyyaml
fi
# configure.py requires 'yaml' python2 module.
if ! pip2 show pyyaml > /dev/null 2>&1; then
pip2 install pyyaml
fi
}