python/python-neovim: New maintainer.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Alexander Verbovetsky 2022-06-17 21:23:18 +01:00 committed by Willy Sudiarto Raharjo
parent 3f8fd74eb9
commit 88b5b009b0
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 10 additions and 15 deletions

View file

@ -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

View file

@ -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"