From f0b73c0d5638a02cac8fd3fcb3923f277fc64340 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 23 Apr 2021 13:11:46 +0700 Subject: misc/protobuf3: Updated for version 3.15.8. Signed-off-by: Willy Sudiarto Raharjo --- misc/protobuf3/protobuf3.SlackBuild | 14 ++++++-------- misc/protobuf3/protobuf3.info | 6 +++--- 2 files changed, 9 insertions(+), 11 deletions(-) (limited to 'misc/protobuf3') diff --git a/misc/protobuf3/protobuf3.SlackBuild b/misc/protobuf3/protobuf3.SlackBuild index 40c0c6270d..d853990eed 100644 --- a/misc/protobuf3/protobuf3.SlackBuild +++ b/misc/protobuf3/protobuf3.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for protobuf3 -# Copyright 2017-2020 Willy Sudiarto Raharjo +# Copyright 2017-2021 Willy Sudiarto Raharjo # 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=protobuf3 -VERSION=${VERSION:-3.14.0} +VERSION=${VERSION:-3.15.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -93,12 +93,10 @@ make make install DESTDIR=$PKG # Install the python bindings -cd python ; python setup.py install --root=$PKG ; cd .. - -# Add Python3 support -if $(python3 -c 'import sys' 2>/dev/null); then - cd python ; python3 setup.py install --root=$PKG ; cd .. -fi +cd python +python setup.py install --root=$PKG +python3 setup.py install --root=$PKG +cd .. 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 diff --git a/misc/protobuf3/protobuf3.info b/misc/protobuf3/protobuf3.info index f6b32b675c..8d0c013a71 100644 --- a/misc/protobuf3/protobuf3.info +++ b/misc/protobuf3/protobuf3.info @@ -1,8 +1,8 @@ PRGNAM="protobuf3" -VERSION="3.14.0" +VERSION="3.15.8" HOMEPAGE="https://github.com/google/protobuf" -DOWNLOAD="https://github.com/google/protobuf/archive/v3.14.0/protobuf-3.14.0.tar.gz" -MD5SUM="0c9d2a96f3656ba7ef3b23b533fb6170" +DOWNLOAD="https://github.com/google/protobuf/archive/v3.15.8/protobuf-3.15.8.tar.gz" +MD5SUM="cd4665ea38556638ade6739df861ebe8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3