summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerban Udrea <S.Udrea@gsi.de>2022-11-07 00:10:43 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-12 22:33:20 +0700
commitb775f3e2b983b8b2edf51c454560ad2c5c8c5b13 (patch)
tree74f74dec234d15b1707c2f55faf628b1def0a658
parent6d4041e8f2c821a6ed951fa73459b8d20fe5c3c8 (diff)
downloadslackbuilds-b775f3e2b983b8b2edf51c454560ad2c5c8c5b13.tar.gz
academic/MetaPhlAn2: Fix ARCH and deps.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/MetaPhlAn2/MetaPhlAn2.SlackBuild10
-rw-r--r--academic/MetaPhlAn2/MetaPhlAn2.info2
2 files changed, 2 insertions, 10 deletions
diff --git a/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild b/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
index a64fe00125..99d17512b7 100644
--- a/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
+++ b/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
@@ -31,14 +31,8 @@ TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
COMMIT=4e4416321c75828ac8ea55d36f5a65ebd39058c5
+ARCH=noarch
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i586 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- 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.
@@ -51,8 +45,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-ARCH=noarch
-
set -e
# Construct the source tarball name.
diff --git a/academic/MetaPhlAn2/MetaPhlAn2.info b/academic/MetaPhlAn2/MetaPhlAn2.info
index af4e05652d..361177bab3 100644
--- a/academic/MetaPhlAn2/MetaPhlAn2.info
+++ b/academic/MetaPhlAn2/MetaPhlAn2.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/biobakery/MetaPhlAn2/archive/4e4416/4e4416321c75828
MD5SUM="7f07d766a84b0da247a404c05e6f9eb6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pysam biopython msgpack-python pandas scipy DendroPy bowtie2 muscle samtools-legacy bcftools ncbi-blast+ RAxML"
+REQUIRES="pysam biopython msgpack-python pandas python2-scipy DendroPy bowtie2 muscle samtools-legacy bcftools ncbi-blast+ RAxML"
MAINTAINER="Petar Petrov"
EMAIL="slackalaxy@gmail.com"