python/dfdatetime: Updated for version 20220131.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3b81dd3cbb
commit
9c88e8bd48
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue