From d402c6d68dcac0a6b84df7e2b923588184e30e70 Mon Sep 17 00:00:00 2001 From: "Barry J. Grundy" Date: Sat, 19 Jan 2019 04:10:39 +0700 Subject: python/construct: Updated for version 2.9.45. Signed-off-by: Willy Sudiarto Raharjo --- python/construct/README | 3 +++ python/construct/construct.SlackBuild | 8 ++++---- python/construct/construct.info | 8 ++++---- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/python/construct/README b/python/construct/README index 45b709b6c1..6578aa8e2a 100644 --- a/python/construct/README +++ b/python/construct/README @@ -16,3 +16,6 @@ and lots of primitive constructs to make your work easier: -If/Switch: branch the computational path based on the context -On-demand (lazy) parsing: read only what you require -Pointers: jump from here to there in the data stream + -Tunneling: prefix data with a byte count or compress it + +Optional dependancies include Enum34, Numpy, and Arrow. diff --git a/python/construct/construct.SlackBuild b/python/construct/construct.SlackBuild index 3812de8ffd..dc0c7a11f9 100644 --- a/python/construct/construct.SlackBuild +++ b/python/construct/construct.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for construct -# Copyright 2014-2017 Barry Grundy +# Copyright 2014-2019 Barry Grundy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,10 +21,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# Downgraded to 2.5.3 February 2017 (plaso compat), Barry J. Grundy +# Upgraded to 2.9.45 Jan 2019, Barry J. Grundy PRGNAM=construct -VERSION=${VERSION:-2.5.3} +VERSION=${VERSION:-2.9.45} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -76,7 +76,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README.rst CHANGELOG.rst LICENSE $PKG/usr/doc/$PRGNAM-$VERSION +cp -a README.rst LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/construct/construct.info b/python/construct/construct.info index 58ac1dc07c..b19fd5c0fa 100644 --- a/python/construct/construct.info +++ b/python/construct/construct.info @@ -1,10 +1,10 @@ PRGNAM="construct" -VERSION="2.5.3" +VERSION="2.9.45" HOMEPAGE="http://construct.readthedocs.org/" -DOWNLOAD="https://github.com/construct/construct/archive/v2.5.3/construct-2.5.3.tar.gz" -MD5SUM="b36319c85d49e4b68ab72a12fd30ef4f" +DOWNLOAD="https://files.pythonhosted.org/packages/19/c0/f054941fa33d14378de66d2c0477d31f7ad97aa2e298a5771a7b20bc2039/construct-2.9.45.tar.gz" +MD5SUM="2498a8fd0782c56df915be4948402db5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="six" +REQUIRES="" MAINTAINER="Barry J. Grundy" EMAIL="bgrundylinuxleo.com" -- cgit v1.2.3