Browse Source

l/python-acme: Upgraded to python-acme-0.40.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
6b72285959
  1. 1
      l/python-acme/acme-0.34.2.tar.gz.sha256
  2. 1
      l/python-acme/acme-0.40.1.tar.gz.sha256
  3. 16
      l/python-acme/python-acme.SlackBuild

1
l/python-acme/acme-0.34.2.tar.gz.sha256

@ -1 +0,0 @@
bd5b0dfcbca82a2be6fe12e7c7939721d6b3dacb7d8529ba519b56274060dc2a acme-0.34.2.tar.gz

1
l/python-acme/acme-0.40.1.tar.gz.sha256

@ -0,0 +1 @@
33bf8686408d5b6b79886a9a43aee691ca754408deaec4fb2bb17b9af48a5ffc acme-0.40.1.tar.gz

16
l/python-acme/python-acme.SlackBuild

@ -30,9 +30,9 @@
# Source package infos
NAMESRC=${NAMESRC:-acme}
VERSION=${VERSION:-0.34.2}
VERSION=${VERSION:-0.40.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/02/fc/e0f7fb55d710eaa26e1b1260b2e8c77f571c7e7fcc4626a7dda8a0d7c0f8/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/ec/64/e1e609c6041a3d934a8878f3061b2c97cb9dbab681c043e6e7d90410928a/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-acme}
@ -72,13 +72,21 @@ 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/$NAMEPKG-$VERSION
install -m 644 LICENSE.txt PKG-INFO $PKG/usr/doc/$NAMEPKG-$VERSION
# Build API docs if Sphinx and the readthedocs.org theme are available
if type -p sphinx-build && python -c "import sphinx_rtd_theme" 2>/dev/null ; then
make -C docs html
cp -r docs/_build/html $PKG/usr/doc/$NAMEPKG-$VERSION/html
fi
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save