Browse Source

n/certbot: Upgraded to certbot-0.40.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
a014534ea9
  1. 1
      n/certbot/certbot-0.34.2.tar.gz.sha256
  2. 1
      n/certbot/certbot-0.40.1.tar.gz.sha256
  3. 21
      n/certbot/certbot.SlackBuild

1
n/certbot/certbot-0.34.2.tar.gz.sha256

@ -1 +0,0 @@
30732ddcb10ccd8b8410c515a76ae0429ad907130b8bf8caa58b73826d0ec9bb certbot-0.34.2.tar.gz

1
n/certbot/certbot-0.40.1.tar.gz.sha256

@ -0,0 +1 @@
8dc81b3044cf401c55fa36c30893887fcb92657df1d76a8848059683df3b10d1 certbot-0.40.1.tar.gz

21
n/certbot/certbot.SlackBuild

@ -26,13 +26,13 @@
# <https://github.com/certbot/certbot>.
#
# Depends: l/python-acme, l/python-configargparse, l/python-configobj
# Depends: l/python-parsedatetime, l/zope.component, l/zope.interface
# Depends: l/python-distro, l/python-parsedatetime, l/zope.component
# Source package infos
NAMESRC=${NAMESRC:-certbot}
VERSION=${VERSION:-0.34.2}
VERSION=${VERSION:-0.40.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/c8/3f/5155b553853635cc1078fb75779f578302f774d98c213720cdd602ee22de/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/aa/dd/348260e569f3ce7d7996365fa0efceec926be482702f9b0947929d3d4285/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-certbot}
@ -72,8 +72,17 @@ 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
mv $PKG/usr/bin/certbot $PKG/usr/bin/certbot-2.7
# And now for Python 3
python3 setup.py build
python3 setup.py install --root=$PKG
mv $PKG/usr/bin/certbot $PKG/usr/bin/certbot-3.7
# Add default symlink to the -2.7 executable
ln -s certbot-2.7 $PKG/usr/bin/certbot
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
@ -88,9 +97,9 @@ cat <<EOF > $PKG/install/slack-required
python-acme
python-configargparse
python-configobj
python-distro
python-parsedatetime
zope.component
zope.interface
EOF
# Package the tree

Loading…
Cancel
Save