diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2018-04-13 07:32:00 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-14 07:06:31 +0700 |
commit | 6b5567c558dabc98e21b7be7ab4901c085057df2 (patch) | |
tree | b6426bea7224baf014ef7b9bcadc44d1c111cdaa /libraries | |
parent | 79a4fb5389da7addb9dac389583a460381c7586f (diff) | |
download | slackbuilds-6b5567c558dabc98e21b7be7ab4901c085057df2.tar.gz |
libraries/plyr: Updated for version 1.0.6.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/plyr/README | 8 | ||||
-rw-r--r-- | libraries/plyr/plyr.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/plyr/plyr.info | 8 | ||||
-rw-r--r-- | libraries/plyr/slack-desc | 4 |
4 files changed, 25 insertions, 11 deletions
diff --git a/libraries/plyr/README b/libraries/plyr/README index 1f7e1c2f2f..3262423b30 100644 --- a/libraries/plyr/README +++ b/libraries/plyr/README @@ -1,3 +1,9 @@ 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 diff --git a/libraries/plyr/plyr.SlackBuild b/libraries/plyr/plyr.SlackBuild index 6e21b88818..1e9df655c5 100644 --- a/libraries/plyr/plyr.SlackBuild +++ b/libraries/plyr/plyr.SlackBuild @@ -2,7 +2,7 @@ # # 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. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=plyr -VERSION=${VERSION:-1.0.2} +VERSION=${VERSION:-1.0.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -54,13 +54,16 @@ else LIBDIRSUFFIX="" fi +SRCNAM=${SRCNAM:-python-glyr} + set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP 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 chown -R root:root . find -L . \ @@ -71,11 +74,16 @@ find -L . \ 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 \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true 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 mkdir -p $PKG/install diff --git a/libraries/plyr/plyr.info b/libraries/plyr/plyr.info index 5853388196..d08c2340b2 100644 --- a/libraries/plyr/plyr.info +++ b/libraries/plyr/plyr.info @@ -1,8 +1,8 @@ PRGNAM="plyr" -VERSION="1.0.2" -HOMEPAGE="https://pypi.python.org/pypi/plyr" -DOWNLOAD="https://pypi.python.org/packages/source/p/plyr/plyr-1.0.2.tar.gz" -MD5SUM="3f53b0f4af9afec06fbf059a1b6091f3" +VERSION="1.0.6" +HOMEPAGE="https://github.com/sahib/python-glyr" +DOWNLOAD="https://github.com/sahib/python-glyr/archive/1.0.6/python-glyr-1.0.6.tar.gz" +MD5SUM="fc6c1df7359055a013ca4575e10775be" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="glyr" diff --git a/libraries/plyr/slack-desc b/libraries/plyr/slack-desc index 95e29298cf..fc386fd293 100644 --- a/libraries/plyr/slack-desc +++ b/libraries/plyr/slack-desc @@ -8,9 +8,9 @@ |-----handy-ruler------------------------------------------------------| plyr: plyr (a Wrapper around libglyr) plyr: -plyr: plyr is a plyr, a Wrapper around libglyr, using Cython. +plyr: plyr is a Wrapper around libglyr, using Cython. plyr: -plyr: Homepage: https://pypi.python.org/pypi/plyr +plyr: Homepage: https://github.com/sahib/python-glyr plyr: plyr: plyr: |