libraries/plyr: Updated for version 1.0.6.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2018-04-13 07:32:00 +01:00 committed by Willy Sudiarto Raharjo
parent 79a4fb5389
commit 6b5567c558
4 changed files with 25 additions and 11 deletions

View file

@ -1,3 +1,9 @@
plyr (plyr, a Wrapper around libglyr) plyr (plyr, a Wrapper around libglyr)
plyr is a plyr, a Wrapper around libglyr, using Cython. plyr is a Wrapper around libglyr, using Cython.
To install python3 bindings run the slackbuild with PYTHON3=yes.
# PYTHON3=yes ./plyr.SlackBuild
NOTE: in this case please install: python3-Cython

View file

@ -2,7 +2,7 @@
# #
# Slackware build script for plyr. # Slackware build script for plyr.
# #
# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. # Copyright 2015-2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # Redistribution and use of this script, with or without modification, is
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=plyr PRGNAM=plyr
VERSION=${VERSION:-1.0.2} VERSION=${VERSION:-1.0.6}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -54,13 +54,16 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
SRCNAM=${SRCNAM:-python-glyr}
set -e set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
mv $SRCNAM-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
@ -71,11 +74,16 @@ find -L . \
python setup.py install --root=$PKG --optimize=1 python setup.py install --root=$PKG --optimize=1
# Install python3 bindings for plyr. Default is no.
if [ "${PYTHON3:-no}" == "yes" ]; then
python3 setup.py install --root=$PKG
fi
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ 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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.txt $PKG/usr/doc/$PRGNAM-$VERSION cp README.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="plyr" PRGNAM="plyr"
VERSION="1.0.2" VERSION="1.0.6"
HOMEPAGE="https://pypi.python.org/pypi/plyr" HOMEPAGE="https://github.com/sahib/python-glyr"
DOWNLOAD="https://pypi.python.org/packages/source/p/plyr/plyr-1.0.2.tar.gz" DOWNLOAD="https://github.com/sahib/python-glyr/archive/1.0.6/python-glyr-1.0.6.tar.gz"
MD5SUM="3f53b0f4af9afec06fbf059a1b6091f3" MD5SUM="fc6c1df7359055a013ca4575e10775be"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="glyr" REQUIRES="glyr"

View file

@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
plyr: plyr (a Wrapper around libglyr) plyr: plyr (a Wrapper around libglyr)
plyr: plyr:
plyr: plyr is a plyr, a Wrapper around libglyr, using Cython. plyr: plyr is a Wrapper around libglyr, using Cython.
plyr: plyr:
plyr: Homepage: https://pypi.python.org/pypi/plyr plyr: Homepage: https://github.com/sahib/python-glyr
plyr: plyr:
plyr: plyr:
plyr: plyr: