aboutsummaryrefslogtreecommitdiff
path: root/development/robotframework
diff options
context:
space:
mode:
authorMarkus Rinne <markus.ka.rinne@gmail.com>2021-03-12 17:42:04 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-03-13 08:37:40 +0700
commitef5aed19c4e7fe784de9fc5260e3c1722d759546 (patch)
tree166fa47ed9e383da41566b893e4a974602da7c32 /development/robotframework
parentf97206f39090e06904b9a0a1d6434928e9bfb8eb (diff)
development/robotframework: Updated for version 4.0.
This commit also: * Adds Python 3 support. * Adds README.rst installation. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/robotframework')
-rw-r--r--development/robotframework/README2
-rw-r--r--development/robotframework/robotframework.SlackBuild8
-rw-r--r--development/robotframework/robotframework.info6
3 files changed, 11 insertions, 5 deletions
diff --git a/development/robotframework/README b/development/robotframework/README
index 12829510081f..82582b87c664 100644
--- a/development/robotframework/README
+++ b/development/robotframework/README
@@ -5,3 +5,5 @@ testing approach. Its testing capabilities can be extended by test
libraries implemented either with Python or Java, and users can create
new higher-level keywords from existing ones using the same syntax that
is used for creating test cases.
+
+python3 is an optional dependency. It is needed for Python 3 support.
diff --git a/development/robotframework/robotframework.SlackBuild b/development/robotframework/robotframework.SlackBuild
index 6f26c266e338..8b7c519f0b86 100644
--- a/development/robotframework/robotframework.SlackBuild
+++ b/development/robotframework/robotframework.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=robotframework
-VERSION=${VERSION:-3.2.2}
+VERSION=${VERSION:-4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,12 +71,16 @@ find -L . \
python setup.py install --root=$PKG
+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 \
- COPYRIGHT.txt AUTHORS.rst LICENSE.txt \
+ COPYRIGHT.txt AUTHORS.rst LICENSE.txt README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/robotframework/robotframework.info b/development/robotframework/robotframework.info
index 57920ca33df0..e5cf2577e2bf 100644
--- a/development/robotframework/robotframework.info
+++ b/development/robotframework/robotframework.info
@@ -1,8 +1,8 @@
PRGNAM="robotframework"
-VERSION="3.2.2"
+VERSION="4.0"
HOMEPAGE="https://robotframework.org/"
-DOWNLOAD="https://github.com/robotframework/robotframework/archive/v3.2.2/robotframework-3.2.2.tar.gz"
-MD5SUM="4a151bbf0e6438cf4e12ce3caad2b96c"
+DOWNLOAD="https://github.com/robotframework/robotframework/archive/v4.0/robotframework-4.0.tar.gz"
+MD5SUM="85391b47521d04b4201d6bf6573afa9d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""