From 3beefe207f366b097f434d627603637ab58ee096 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 29 Aug 2021 15:29:38 +1200 Subject: ruby/rubygem-parser: Updated for version 3.0.2.0. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- ruby/rubygem-parser/rubygem-parser.SlackBuild | 7 +++++-- ruby/rubygem-parser/rubygem-parser.info | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) (limited to 'ruby/rubygem-parser') diff --git a/ruby/rubygem-parser/rubygem-parser.SlackBuild b/ruby/rubygem-parser/rubygem-parser.SlackBuild index 8f6293ab19..1092c48284 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 e7249ffccc..aee0477f8c 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" -- cgit v1.2.3