diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2022-06-17 21:23:18 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-06-18 09:09:59 +0700 |
commit | 88b5b009b0a8fcd0bc382fba00c3a26b00234e8b (patch) | |
tree | b44a193a67a92f2e1fa4b575adc4157f5501580c /python/python-neovim/python-neovim.SlackBuild | |
parent | 3f8fd74eb9871c0f9a5603fddc9ec4bd1f4165b9 (diff) |
python/python-neovim: New maintainer.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-neovim/python-neovim.SlackBuild')
-rw-r--r-- | python/python-neovim/python-neovim.SlackBuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/python/python-neovim/python-neovim.SlackBuild b/python/python-neovim/python-neovim.SlackBuild index 4de1152e4b..df981b4518 100644 --- a/python/python-neovim/python-neovim.SlackBuild +++ b/python/python-neovim/python-neovim.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for python-neovim # Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> +# Copyright 2022, Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python-neovim SRCNAM=pynvim VERSION=${VERSION:-0.4.3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +40,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -80,18 +78,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG + +python3 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - LICENSE README.md \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |