aboutsummaryrefslogtreecommitdiff
path: root/python/dtfabric
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundyat>2022-05-20 00:42:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-21 08:25:16 +0700
commit4459e3c27b41f4b49c8b635493359f4402651d24 (patch)
tree4c732fd1a66c0044e3777699c95dd5adbf693816 /python/dtfabric
parent9c88e8bd48479854caed8dc0ebd5a568c8eb3b02 (diff)
python/dtfabric: Updated for version 20220219.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/dtfabric')
-rw-r--r--python/dtfabric/README2
-rw-r--r--python/dtfabric/dtfabric.SlackBuild10
-rw-r--r--python/dtfabric/dtfabric.info8
-rw-r--r--python/dtfabric/slack-desc2
4 files changed, 11 insertions, 11 deletions
diff --git a/python/dtfabric/README b/python/dtfabric/README
index 7ea3cdf7fae9b..52a8f4166d345 100644
--- a/python/dtfabric/README
+++ b/python/dtfabric/README
@@ -1,4 +1,4 @@
dtfabric (Python library for data types and structures)
dtfabric is a project to manage data types and structures, as used in
-the libyal projects.
+the libyal digital forensic projects.
diff --git a/python/dtfabric/dtfabric.SlackBuild b/python/dtfabric/dtfabric.SlackBuild
index ab26746e3b81e..9c2b9a833c2b9 100644
--- a/python/dtfabric/dtfabric.SlackBuild
+++ b/python/dtfabric/dtfabric.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Slackware build script for dfdatetime
-# Copyright 2019 Barry Grundy <bgrundy[at]linuxleo.com>
+# Copyright 2019-2022 Barry Grundy <bgrundy[at]linuxleo.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,12 +21,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# Initial version, 20190120 March 2019
+# Updated for version 20220219 May 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dtfabric
-VERSION=${VERSION:-20190120}
+VERSION=${VERSION:-20220219}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,13 +80,13 @@ 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 {} \;
-python2 setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG | xargs 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 LICENSE AUTHORS PKG-INFO ACKNOWLEDGEMENTS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README LICENSE AUTHORS PKG-INFO ACKNOWLEDGEMENTS docs/ $PKG/usr/doc/$PRGNAM-$VERSION
# Remove duplicated docs in /usr/share/doc
rm -rf $PKG/usr/share
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/python/dtfabric/dtfabric.info b/python/dtfabric/dtfabric.info
index 5d22f22ff32bf..5900daa39c4f5 100644
--- a/python/dtfabric/dtfabric.info
+++ b/python/dtfabric/dtfabric.info
@@ -1,10 +1,10 @@
PRGNAM="dtfabric"
-VERSION="20190120"
+VERSION="20220219"
HOMEPAGE="https://github.com/libyal/dtfabric"
-DOWNLOAD="https://slackware.uk/sbosrcarch/by-md5/1/d/1de92f58a99c2a86dcd46f5d1c53bd4d/dtfabric-20190120.tar.gz"
-MD5SUM="1de92f58a99c2a86dcd46f5d1c53bd4d"
+DOWNLOAD="https://linuxleo.com/Source/dtfabric-20220219.tar.gz"
+MD5SUM="cbf7cbab1cc7221c0c0fce877f8778a1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python2-PyYAML"
+REQUIRES=""
MAINTAINER="Barry J. Grundy"
EMAIL="bgrundy<at>linuxleo.com"
diff --git a/python/dtfabric/slack-desc b/python/dtfabric/slack-desc
index 98807acd950d2..755eb79d0222a 100644
--- a/python/dtfabric/slack-desc
+++ b/python/dtfabric/slack-desc
@@ -9,7 +9,7 @@
dtfabric: dtfabric (Python library for data types and structures)
dtfabric:
dtfabric: dtfabric is a project to manage data types and structures as used in
-dtfabric: the libyal project.
+dtfabric: the libyal digital forensic projects.
dtfabric:
dtfabric: Homepage: https://github.com/libyal/dtfabric
dtfabric: