vim-python: update for python 3.8

This commit is contained in:
Leonid Pliushch 2019-11-18 02:24:55 +02:00
parent 0f42f6591e
commit 27ae84b8b4

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.1.2200
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_SHA256=75a60a72402b3dd3780d680764ce3cd2283df178bd82bf8448f4900375f55c5a
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
@ -39,15 +40,15 @@ TERMUX_PKG_CONFFILES="share/vim/vimrc"
TERMUX_PKG_CONFLICTS="vim"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+="
vi_cv_path_python3_pfx=$TERMUX_PREFIX
vi_cv_var_python3_version=3.7
vi_cv_var_python3_version=3.8
--enable-python3interp
--with-python3-config-dir=$TERMUX_PREFIX/lib/python3.7/config-3.7m/
--with-python3-config-dir=$TERMUX_PREFIX/lib/python3.8/config-3.8/
"
TERMUX_PKG_DESCRIPTION+=" - with python support"
# Remove share/vim/vim81 which is in vim-runtime built as a subpackage of vim:
TERMUX_PKG_RM_AFTER_INSTALL+=" share/vim/vim81"
termux_step_pre_configure() {
CPPFLAGS+=" -I${TERMUX_PREFIX}/include/python3.7m"
CPPFLAGS+=" -I${TERMUX_PREFIX}/include/python3.8"
}
termux_step_pre_configure() {