Browse Source

l/josepy: Upgraded to josepy-1.2.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
02ff0791f8
  1. 1
      l/josepy/josepy-1.1.0.tar.gz.sha256
  2. 1
      l/josepy/josepy-1.2.0.tar.gz.sha256
  3. 18
      l/josepy/josepy.SlackBuild

1
l/josepy/josepy-1.1.0.tar.gz.sha256

@ -1 +0,0 @@
fb5c62c77d26e04df29cb5ecd01b9ce69b6fcc9e521eb1ca193b7faa2afa7086 josepy-1.1.0.tar.gz

1
l/josepy/josepy-1.2.0.tar.gz.sha256

@ -0,0 +1 @@
9cec9a839fe9520f0420e4f38e7219525daccce4813296627436fe444cd002d3 josepy-1.2.0.tar.gz

18
l/josepy/josepy.SlackBuild

@ -23,15 +23,15 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest josepy sourcecode is available at:
# <https://github.com/jezdez/josepy>.
# <https://github.com/certbot/josepy>.
#
# Depends: l/pyopenssl
# Source package infos
NAMESRC=${NAMESRC:-josepy}
VERSION=${VERSION:-1.1.0}
VERSION=${VERSION:-1.2.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/b6/19/d6bee2676ce84d7ea2ea2ee1fb16cf63024afcc1e3c9455ea3e044f77318/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/a4/78/297f71aafb7d4d825af43087ccf7b4a790283329b246e66d8a31b0cac093/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-josepy}
@ -71,12 +71,18 @@ 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/jws $PKG/usr/bin/jws-2.7
python3 setup.py build
python3 setup.py install --root=$PKG
mv $PKG/usr/bin/jws $PKG/usr/bin/jws-3.7
ln -s jws-2.7 $PKG/usr/bin/jws
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 LICENSE.txt PKG-INFO README.rst $PKG/usr/doc/$NAME
install -m 644 CHANGELOG.rst CONTRIBUTING.md LICENSE.txt PKG-INFO README.rst \
$PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save