Browse Source

l/python-humanize: Upgraded to python-humanize-2.4.0.

current-20200608
parent
commit
f172f7d64c
  1. 1
      l/python-humanize/humanize-0.5.1.tar.gz.sha256
  2. 1
      l/python-humanize/humanize-2.4.0.tar.gz.sha256
  3. 8
      l/python-humanize/python-humanize.SlackBuild

1
l/python-humanize/humanize-0.5.1.tar.gz.sha256

@ -1 +0,0 @@
a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19 humanize-0.5.1.tar.gz

1
l/python-humanize/humanize-2.4.0.tar.gz.sha256

@ -0,0 +1 @@
42ae7d54b398c01bd100847f6cb0fc9e381c21be8ad3f8e2929135e48dbff026 humanize-2.4.0.tar.gz

8
l/python-humanize/python-humanize.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2019 Damien Goutte-Gattat
# Copyright (C) 2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,7 +27,7 @@
# Source package infos
NAMESRC=${NAMESRC:-humanize}
VERSION=${VERSION:-0.5.1}
VERSION=${VERSION:-2.4.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
# Build infos
@ -67,14 +67,12 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 LICENCE README.rst $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 LICENCE README.md $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save