aboutsummaryrefslogtreecommitdiff
path: root/python/pyOpenSSL/pyOpenSSL.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-15 09:21:06 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-15 09:21:06 +0700
commitc5342ee1242efeca39d8470cc502cf8734471803 (patch)
tree54722615538d105ba48fee621ab7d30add7587a1 /python/pyOpenSSL/pyOpenSSL.SlackBuild
parent39e863a531d04900b26a8cd7f5fc2ee165c48eba (diff)
python/pyOpenSSL: Updated for version 22.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pyOpenSSL/pyOpenSSL.SlackBuild')
-rw-r--r--python/pyOpenSSL/pyOpenSSL.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/python/pyOpenSSL/pyOpenSSL.SlackBuild b/python/pyOpenSSL/pyOpenSSL.SlackBuild
index 22e160ec69a40..1b411b0962304 100644
--- a/python/pyOpenSSL/pyOpenSSL.SlackBuild
+++ b/python/pyOpenSSL/pyOpenSSL.SlackBuild
@@ -4,6 +4,7 @@
#
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
# Copyright 2012-2018 Markus Reichelt, Aachen, DE
+# Copyright 2022 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,12 +25,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Originally written by Marco Bonetti - Thanks!
-# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
+# Maintained by Markus Reichelt <slackbuilds@mareichelt.de> until 2022
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pyOpenSSL
-VERSION=${VERSION:-17.5.0}
+VERSION=${VERSION:-22.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -42,9 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -91,7 +89,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -ar *.rst LICENSE doc/ examples/ $PKG/usr/doc/$PRGNAM-$VERSION
+cp -ar *.rst LICENSE doc/ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install