summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2022-10-14 19:25:28 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-15 10:47:37 +0700
commitbbfed49df021040a5480fbd35a9ff69bc4fc32ac (patch)
treec42a66ba02a404b2a329a7dd62b731cada6edfbe /libraries
parentdc3cbdfcb458e6e64ea716c46a881c0bf68a1dd3 (diff)
downloadslackbuilds-bbfed49df021040a5480fbd35a9ff69bc4fc32ac.tar.gz
libraries/zfec: Updated for version 1.5.7.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/zfec/zfec.SlackBuild24
-rw-r--r--libraries/zfec/zfec.info6
2 files changed, 12 insertions, 18 deletions
diff --git a/libraries/zfec/zfec.SlackBuild b/libraries/zfec/zfec.SlackBuild
index 66f732e9dd..3a652a6435 100644
--- a/libraries/zfec/zfec.SlackBuild
+++ b/libraries/zfec/zfec.SlackBuild
@@ -2,8 +2,8 @@
# Slackware build script for zfec.
+# Copyright 2012-2022 Markus Reichelt, Aachen, DE
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
-# Copyright 2012 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# Originally written by Marco Bonetti - Thanks!
-# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
+# Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zfec
-VERSION=${VERSION:-1.4.24}
+VERSION=${VERSION:-1.5.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -78,27 +77,22 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -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
+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 \
- COPYING.GPL COPYING.TGPPL.html README.rst \
+ COPYING.GPL COPYING.TGPPL.rst README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-#cleanup
-rm $PKG/usr/share/doc/zfec/*
-cd $PKG/usr
-rmdir -p share/doc/zfec
-
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/zfec/zfec.info b/libraries/zfec/zfec.info
index e85032c4e9..ec9f6f2523 100644
--- a/libraries/zfec/zfec.info
+++ b/libraries/zfec/zfec.info
@@ -1,8 +1,8 @@
PRGNAM="zfec"
-VERSION="1.4.24"
+VERSION="1.5.7.2"
HOMEPAGE="https://pypi.python.org/pypi/zfec"
-DOWNLOAD="https://pypi.python.org/packages/source/z/zfec/zfec-1.4.24.tar.gz"
-MD5SUM="e1bca3a1f18374f72bdf8cd42ea9c919"
+DOWNLOAD="https://files.pythonhosted.org/packages/06/93/1afdfb33e5515845a62d946ca9d53b18477f77cd7608ab7563c4ebbd2dba/zfec-1.5.7.2.tar.gz"
+MD5SUM="19f73a73d24ff221b870ba4a98931b02"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="darcsver pyutil"