Browse Source

l/python-dateutil: Upgraded to python-dateutil-2.8.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
f79b911379
  1. 1
      l/python-dateutil/python-dateutil-2.7.2.tar.gz.sha256
  2. 1
      l/python-dateutil/python-dateutil-2.8.1.tar.gz.sha256
  3. 25
      l/python-dateutil/python-dateutil.SlackBuild

1
l/python-dateutil/python-dateutil-2.7.2.tar.gz.sha256

@ -1 +0,0 @@
9d8074be4c993fbe4947878ce593052f71dac82932a677d49194d8ce9778002e python-dateutil-2.7.2.tar.gz

1
l/python-dateutil/python-dateutil-2.8.1.tar.gz.sha256

@ -0,0 +1 @@
73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c python-dateutil-2.8.1.tar.gz

25
l/python-dateutil/python-dateutil.SlackBuild

@ -24,14 +24,12 @@
#
# Latest python-dateutil sourcecode is available at:
# <https://dateutil.readthedocs.io/>.
#
# Depends: l/python-six
# Source package infos
NAMESRC=${NAMESRC:-python-dateutil}
VERSION=${VERSION:-2.7.2}
VERSION=${VERSION:-2.8.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/c5/39/4da7c2dbc4f023fba5fb2325febcadf0d0ce0efdc8bd12083a0f65d20653/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/be/ed/5bbc91f03fa4c839c4c7360375da77f9659af5f7086b7a7bdda65771c8e0/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-dateutil}
@ -71,21 +69,24 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
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/$NAME
install -m 644 LICENSE NEWS README.rst $PKG/usr/doc/$NAME
install -m 644 AUTHORS.md CONTRIBUTING.md LICENSE NEWS README.rst $PKG/usr/doc/$NAME
# Build API docs if Sphinx and the readthedocs.org theme are available
if type -p sphinx-build %% python -c "import shinx_rtd_theme" ; then
make -C docs html
cp -r docs/_build/html $PKG/usr/doc/$NAME/html
fi
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
python-six
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save