vim-python: rebuild with python 3.9

This commit is contained in:
Leonid Pliushch 2020-10-08 18:59:45 +03:00
parent e1d0142378
commit 77cb9f36c1

View File

@ -6,6 +6,7 @@ TERMUX_PKG_RECOMMENDS="diffutils"
# vim should only be updated every 50 releases on multiples of 50.
# Update both vim and vim-python to the same version in one PR.
TERMUX_PKG_VERSION=8.2.1650
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=7fb841fa99d7d929d228d5e55c83148c7ff0590726d12260d55dbcffc4015d76
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
@ -40,15 +41,15 @@ TERMUX_PKG_CONFLICTS="vim"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+="
vi_cv_path_python3_pfx=$TERMUX_PREFIX
vi_cv_var_python3_abiflags=
vi_cv_var_python3_version=3.8
vi_cv_var_python3_version=3.9
--enable-python3interp
--with-python3-config-dir=$TERMUX_PREFIX/lib/python3.8/config-3.8/
--with-python3-config-dir=$TERMUX_PREFIX/lib/python3.9/config-3.9/
"
TERMUX_PKG_DESCRIPTION+=" - with python support"
# Remove share/vim/vim82 which is in vim-runtime built as a subpackage of vim:
TERMUX_PKG_RM_AFTER_INSTALL+=" share/vim/vim82"
termux_step_pre_configure() {
CPPFLAGS+=" -I${TERMUX_PREFIX}/include/python3.8"
CPPFLAGS+=" -I${TERMUX_PREFIX}/include/python3.9"
}
termux_step_pre_configure() {