aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2021-08-29 15:29:38 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-09-06 08:50:35 +0700
commit3beefe207f366b097f434d627603637ab58ee096 (patch)
treeb5e730b6036011fcf6bc7dbb6201db38a9274ac6 /ruby
parent946c1561662c476ddf28918af7e195c506207dcc (diff)
ruby/rubygem-parser: Updated for version 3.0.2.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ruby')
-rw-r--r--ruby/rubygem-parser/rubygem-parser.SlackBuild7
-rw-r--r--ruby/rubygem-parser/rubygem-parser.info6
2 files changed, 8 insertions, 5 deletions
diff --git a/ruby/rubygem-parser/rubygem-parser.SlackBuild b/ruby/rubygem-parser/rubygem-parser.SlackBuild
index 8f6293ab19978..1092c4828491b 100644
--- a/ruby/rubygem-parser/rubygem-parser.SlackBuild
+++ b/ruby/rubygem-parser/rubygem-parser.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for rubygem-parser
-# Copyright 2018-2020 Andrew Clemons, Wellington New Zealand
+# Copyright 2018-2021 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rubygem-parser
-VERSION=${VERSION:-2.7.2.0}
+VERSION=${VERSION:-3.0.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -114,6 +114,9 @@ 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
+tar -x -O --file=$CWD/$SRCNAM-$VERSION.gem data.tar.gz \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- \
+ LICENSE.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/ruby/rubygem-parser/rubygem-parser.info b/ruby/rubygem-parser/rubygem-parser.info
index e7249ffccc97b..aee0477f8c6b6 100644
--- a/ruby/rubygem-parser/rubygem-parser.info
+++ b/ruby/rubygem-parser/rubygem-parser.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-parser"
-VERSION="2.7.2.0"
+VERSION="3.0.2.0"
HOMEPAGE="https://github.com/whitequark/parser"
-DOWNLOAD="https://rubygems.org/downloads/parser-2.7.2.0.gem"
-MD5SUM="fbf1640132d6b96166eddcf70e36b722"
+DOWNLOAD="https://rubygems.org/downloads/parser-3.0.2.0.gem"
+MD5SUM="a63cf411d1bea736d1959d2ede7fbc4e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="rubygem-ast"