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 | |
parent | 3f8fd74eb9871c0f9a5603fddc9ec4bd1f4165b9 (diff) | |
download | slackbuilds-88b5b009b0a8fcd0bc382fba00c3a26b00234e8b.tar.gz |
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')
-rw-r--r-- | python/python-neovim/python-neovim.SlackBuild | 17 | ||||
-rw-r--r-- | python/python-neovim/python-neovim.info | 8 |
2 files changed, 10 insertions, 15 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 diff --git a/python/python-neovim/python-neovim.info b/python/python-neovim/python-neovim.info index f1988f3725..7ae7e2c7d7 100644 --- a/python/python-neovim/python-neovim.info +++ b/python/python-neovim/python-neovim.info @@ -1,10 +1,10 @@ PRGNAM="python-neovim" VERSION="0.4.3" -HOMEPAGE="https://neovim.io" +HOMEPAGE="https://github.com/neovim/pynvim" DOWNLOAD="https://github.com/neovim/pynvim/archive/0.4.3/pynvim-0.4.3.tar.gz" MD5SUM="b7370a5b3d2177d2b97ca48695ba1ae3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="greenlet msgpack-python trollius pytest-runner" -MAINTAINER="Benjamin Trigona-Harany" -EMAIL="slackbuilds@jaxartes.net" +REQUIRES="greenlet msgpack-python" +MAINTAINER="Alexander Verbovetsky" +EMAIL="alik@ejik.org" |