aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBarry J. Grundy <bgrundyat>2022-05-20 00:40:53 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-21 08:25:16 +0700
commit9c88e8bd48479854caed8dc0ebd5a568c8eb3b02 (patch)
treef6e795902c056254dcd41abb30aac89e89c85e9c
parent3b81dd3cbb986779971562b6c776ba0e1b06546c (diff)
python/dfdatetime: Updated for version 20220131.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/dfdatetime/dfdatetime.SlackBuild11
-rw-r--r--python/dfdatetime/dfdatetime.info6
2 files changed, 9 insertions, 8 deletions
diff --git a/python/dfdatetime/dfdatetime.SlackBuild b/python/dfdatetime/dfdatetime.SlackBuild
index 8c878b19ee9b..2bf6a8f387c7 100644
--- a/python/dfdatetime/dfdatetime.SlackBuild
+++ b/python/dfdatetime/dfdatetime.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Slackware build script for dfdatetime
-# Copyright 2016-2019 Barry Grundy <bgrundy[at]linuxleo.com>
+# Copyright 2016-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.
#
-# Updated to v20190116 March 2019
+# Updated to v20220131 May 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dfdatetime
-VERSION=${VERSION:-20190116}
+VERSION=${VERSION:-20220131}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,13 +80,14 @@ 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 {} \;
-python 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/dfdatetime/dfdatetime.info b/python/dfdatetime/dfdatetime.info
index 18d7b08e39ab..dfad2fb76b74 100644
--- a/python/dfdatetime/dfdatetime.info
+++ b/python/dfdatetime/dfdatetime.info
@@ -1,8 +1,8 @@
PRGNAM="dfdatetime"
-VERSION="20190116"
+VERSION="20220131"
HOMEPAGE="https://github.com/log2timeline/dfdatetime"
-DOWNLOAD="https://slackware.uk/sbosrcarch/by-md5/d/e/de386af2bb2136b0a7ff89fea84f0395/dfdatetime-20190116.tar.gz"
-MD5SUM="de386af2bb2136b0a7ff89fea84f0395"
+DOWNLOAD="https://linuxleo.com/Source/dfdatetime-20220131.tar.gz"
+MD5SUM="113a7ac09746fde0bdcb7db2664d7e81"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""