From 79bcf5e545626a6e969d9c14188ec069973255e5 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Mon, 18 Nov 2019 02:24:55 +0200 Subject: [PATCH] vim-python: update for python 3.8 --- packages/vim-python/build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/vim-python/build.sh b/packages/vim-python/build.sh index 6aa335621..4eb20d1ee 100644 --- a/packages/vim-python/build.sh +++ b/packages/vim-python/build.sh @@ -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() {