summaryrefslogtreecommitdiffstats
path: root/perl/perl-Test-Most
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Test-Most')
-rw-r--r--perl/perl-Test-Most/perl-Test-Most.SlackBuild40
-rw-r--r--perl/perl-Test-Most/perl-Test-Most.info8
2 files changed, 29 insertions, 19 deletions
diff --git a/perl/perl-Test-Most/perl-Test-Most.SlackBuild b/perl/perl-Test-Most/perl-Test-Most.SlackBuild
index db71380e99..7e8957e72e 100644
--- a/perl/perl-Test-Most/perl-Test-Most.SlackBuild
+++ b/perl/perl-Test-Most/perl-Test-Most.SlackBuild
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for perl-Test-Most
-# Copyright 2013-2017 Heinz Wiesinger, Amsterdam, The Netherlands
+# Copyright 2013-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,26 +11,36 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
-# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
-# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
-# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
-# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=perl-Test-Most
SRCNAM=Test-Most
-VERSION=${VERSION:-0.34}
+VERSION=${VERSION:-0.37}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-CWD=$(pwd)
+# 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
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -75,4 +85,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/perl/perl-Test-Most/perl-Test-Most.info b/perl/perl-Test-Most/perl-Test-Most.info
index e1bb045132..8c3e762cad 100644
--- a/perl/perl-Test-Most/perl-Test-Most.info
+++ b/perl/perl-Test-Most/perl-Test-Most.info
@@ -1,10 +1,10 @@
PRGNAM="perl-Test-Most"
-VERSION="0.34"
+VERSION="0.37"
HOMEPAGE="https://metacpan.org/pod/Test::Most"
-DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OV/OVID/Test-Most-0.34.tar.gz"
-MD5SUM="6fa1f097bedbc18f46b08ac9eb79bba9"
+DOWNLOAD="https://cpan.metacpan.org/authors/id/O/OV/OVID/Test-Most-0.37.tar.gz"
+MD5SUM="53d658737f2c07d3fb05167bf62687ed"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-Exception-Class perl-Test-Deep perl-Test-Differences perl-Test-Exception perl-test-warn"
MAINTAINER="Heinz Wiesinger"
-EMAIL="pprkut@liwjatan.at"
+EMAIL="pprkut@slackbuilds.org"