Browse Source

l/pyopenssl: Upgraded to pyopenssl-19.0.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
02ff3c1b79
  1. 1
      l/pyopenssl/pyOpenSSL-17.5.0.tar.gz.sha256
  2. 1
      l/pyopenssl/pyOpenSSL-19.0.0.tar.gz.sha256
  3. 15
      l/pyopenssl/pyopenssl.SlackBuild

1
l/pyopenssl/pyOpenSSL-17.5.0.tar.gz.sha256

@ -1 +0,0 @@
2c10cfba46a52c0b0950118981d61e72c1e5b1aac451ca1bc77de1a679456773 pyOpenSSL-17.5.0.tar.gz

1
l/pyopenssl/pyOpenSSL-19.0.0.tar.gz.sha256

@ -0,0 +1 @@
aeca66338f6de19d1aa46ed634c3b9ae519a64b458f8468aec688e7e3c20f200 pyOpenSSL-19.0.0.tar.gz

15
l/pyopenssl/pyopenssl.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010,2016,2018 Damien Goutte-Gattat
# Copyright (C) 2010,2016,2018,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,13 +25,13 @@
# Latest pyopenssl sourcecode is available at:
# <https://github.com/pyca/pyopenssl>.
#
# Depends: l/python-six, l/python-cryptography
# Depends: l/python-cryptography
# Source package infos
NAMESRC=${NAMESRC:-pyOpenSSL}
VERSION=${VERSION:-17.5.0}
VERSION=${VERSION:-19.0.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/3b/15/a5d90ab1a41075e8f0fae334f13452549528f82142b3b9d0c9d86ab7178c/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/40/d0/8efd61531f338a89b4efa48fcf1972d870d2b67a7aea9dcf70783c8464dc/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-pyopenssl}
@ -70,8 +70,10 @@ 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
@ -83,7 +85,6 @@ install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF >$PKG/install/slack-required
python-six
python-cryptography
EOF

Loading…
Cancel
Save