From 88b5b009b0a8fcd0bc382fba00c3a26b00234e8b Mon Sep 17 00:00:00 2001 From: Alexander Verbovetsky Date: Fri, 17 Jun 2022 21:23:18 +0100 Subject: python/python-neovim: New maintainer. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- python/python-neovim/python-neovim.SlackBuild | 17 ++++++----------- python/python-neovim/python-neovim.info | 8 ++++---- 2 files changed, 10 insertions(+), 15 deletions(-) (limited to 'python/python-neovim') 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 +# 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" -- cgit v1.2.3