Browse Source

n/certbot: Default to Python 3.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
d477cd1872
  1. 6
      n/certbot/certbot.SlackBuild

6
n/certbot/certbot.SlackBuild

@ -36,7 +36,7 @@ WGET=${WGET:-https://files.pythonhosted.org/packages/aa/dd/348260e569f3ce7d79963
# Build infos
NAMEPKG=${NAMEPKG:-certbot}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -79,10 +79,6 @@ 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

Loading…
Cancel
Save