python/python-dateutil: Updated for version 2.6.1
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
This commit is contained in:
parent
913c251e0e
commit
8c1ea986ac
|
@ -1,7 +1,2 @@
|
|||
The dateutil module provides powerful extensions to the
|
||||
standard datetime module.
|
||||
|
||||
Note: To install python3 bindings install six with python3
|
||||
bindings and pass PYTHON3=yes to the slackbuild.
|
||||
|
||||
# PYTHON3=yes ./python-dateutil.SlackBuild
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=python-dateutil
|
||||
VERSION=${VERSION:-2.6.0}
|
||||
VERSION=${VERSION:-2.6.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -64,16 +64,11 @@ done
|
|||
|
||||
python setup.py install --root=$PKG
|
||||
|
||||
# Install python3 bindings. Default is no.
|
||||
if [ "${PYTHON3:-no}" == "yes" ]; then
|
||||
python3 setup.py install --root=$PKG
|
||||
fi
|
||||
|
||||
find $PKG -print0 | xargs -0 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 LICENSE NEWS README.rst RELEASING $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE NEWS README.rst $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="python-dateutil"
|
||||
VERSION="2.6.0"
|
||||
VERSION="2.6.1"
|
||||
HOMEPAGE="http://labix.org/python-dateutil"
|
||||
DOWNLOAD="https://pypi.python.org/packages/51/fc/39a3fbde6864942e8bb24c93663734b74e281b984d1b8c4f95d64b0c21f6/python-dateutil-2.6.0.tar.gz"
|
||||
MD5SUM="6e38f91e8c94c15a79ce22768dfeca87"
|
||||
DOWNLOAD="https://pypi.python.org/packages/54/bb/f1db86504f7a49e1d9b9301531181b00a1c7325dc85a29160ee3eaa73a54/python-dateutil-2.6.1.tar.gz"
|
||||
MD5SUM="db38f6b4511cefd76014745bb0cc45a4"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="six"
|
||||
|
|
Loading…
Reference in New Issue