aboutsummaryrefslogtreecommitdiff
path: root/ruby
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2024-01-01 12:37:19 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-06 08:08:33 +0700
commit7baa1543b1d3b1256df227d9b2814cd0349b75da (patch)
tree55228f3ad39ad3e3d98a2f28af8d8487c77f191f /ruby
parent34fcc3b24aa92cabfb9ec3f36f0bc4f6585cb45d (diff)
ruby/rubygem-parallel: Updated for version 1.24.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-parallel/rubygem-parallel.SlackBuild22
-rw-r--r--ruby/rubygem-parallel/rubygem-parallel.info6
2 files changed, 6 insertions, 22 deletions
diff --git a/ruby/rubygem-parallel/rubygem-parallel.SlackBuild b/ruby/rubygem-parallel/rubygem-parallel.SlackBuild
index 63060873c1fb2..ece6a312cc3a5 100644
--- a/ruby/rubygem-parallel/rubygem-parallel.SlackBuild
+++ b/ruby/rubygem-parallel/rubygem-parallel.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for rubygem-parallel
# Copyright 2018-2021 Andrew Clemons, Wellington New Zealand
+# Copyright 2024 Andrew Clemons, Tokyo Japan
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rubygem-parallel
-VERSION=${VERSION:-1.20.1}
+VERSION=${VERSION:-1.24.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -52,20 +50,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
rm -rf $PKG
@@ -115,7 +99,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
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=- \
+ | tar -xz -C $PKG/usr/doc/$PRGNAM-$VERSION --file=- --no-same-owner \
MIT-LICENSE.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/ruby/rubygem-parallel/rubygem-parallel.info b/ruby/rubygem-parallel/rubygem-parallel.info
index 711274e3dcd52..d298d6f4304f9 100644
--- a/ruby/rubygem-parallel/rubygem-parallel.info
+++ b/ruby/rubygem-parallel/rubygem-parallel.info
@@ -1,8 +1,8 @@
PRGNAM="rubygem-parallel"
-VERSION="1.20.1"
+VERSION="1.24.0"
HOMEPAGE="https://github.com/grosser/parallel"
-DOWNLOAD="https://rubygems.org/downloads/parallel-1.20.1.gem"
-MD5SUM="2047cd5b7f6915ed3d7a106f3fb28ecd"
+DOWNLOAD="https://rubygems.org/downloads/parallel-1.24.0.gem"
+MD5SUM="92098507dc6a85dba1b7b51b753c80ca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""