aboutsummaryrefslogtreecommitdiff
path: root/python/dfdatetime
diff options
context:
space:
mode:
Diffstat (limited to 'python/dfdatetime')
-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 8c878b19ee9b4..2bf6a8f387c7c 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 18d7b08e39aba..dfad2fb76b74b 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=""