summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Dimitris Zlatanidis <d.zlatanidis@gmail.com>2020-02-05 15:17:38 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-08 15:03:30 +0700
commit4a5ab3a2a2f9e734146cd92d970ed1f6af720ae3 (patch)
tree81a9e83354ebd0a888b78491a265d9d5c85f3c3d
parentc84f8befb81013cc35dd13daaf8b9f00fbafc6ee (diff)
downloadslackbuilds-4a5ab3a2a2f9e734146cd92d970ed1f6af720ae3.tar.gz
slackbuilds-4a5ab3a2a2f9e734146cd92d970ed1f6af720ae3.tar.xz
python/selenium: Updated for version 3.141.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--python/selenium/selenium.SlackBuild11
-rw-r--r--python/selenium/selenium.info8
2 files changed, 12 insertions, 7 deletions
diff --git a/python/selenium/selenium.SlackBuild b/python/selenium/selenium.SlackBuild
index 9eeb6bc287..8746025eba 100644
--- a/python/selenium/selenium.SlackBuild
+++ b/python/selenium/selenium.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for selenium
-# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2020 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=selenium
-VERSION=${VERSION:-3.14.0}
+VERSION=${VERSION:-3.141.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,11 +71,16 @@ find -L . \
python setup.py install --root=$PKG
+# Python 3 support.
+if $(python3 -c 'import sys' 2>/dev/null); then
+ python3 setup.py install --root=$PKG
+fi
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst LICENSE CHANGES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/selenium/selenium.info b/python/selenium/selenium.info
index 37b21c3c93..b5a50e954b 100644
--- a/python/selenium/selenium.info
+++ b/python/selenium/selenium.info
@@ -1,10 +1,10 @@
PRGNAM="selenium"
-VERSION="3.14.0"
+VERSION="3.141.0"
HOMEPAGE="http://www.seleniumhq.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/af/7c/3f76140976b1c8f8a6b437ccd1f04efaed37bdc2600530e76ba981c677b9/selenium-3.14.0.tar.gz"
-MD5SUM="95833d0da441e44d3d756564bb4ebbe7"
+DOWNLOAD="https://files.pythonhosted.org/packages/ed/9c/9030520bf6ff0b4c98988448a93c04fcbd5b13cd9520074d8ed53569ccfe/selenium-3.141.0.tar.gz"
+MD5SUM="274693e383ff507df7ee190359828c84"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python-urllib3"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"