diff options
author | Barry J. Grundy <bgrundyat> | 2022-05-20 00:40:53 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-05-21 08:25:16 +0700 |
commit | 9c88e8bd48479854caed8dc0ebd5a568c8eb3b02 (patch) | |
tree | f6e795902c056254dcd41abb30aac89e89c85e9c /python/dfdatetime/dfdatetime.SlackBuild | |
parent | 3b81dd3cbb986779971562b6c776ba0e1b06546c (diff) |
python/dfdatetime: Updated for version 20220131.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/dfdatetime/dfdatetime.SlackBuild')
-rw-r--r-- | python/dfdatetime/dfdatetime.SlackBuild | 11 |
1 files changed, 6 insertions, 5 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 |