academic/MetaPhlAn2: Fix ARCH and deps.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Serban Udrea 2022-11-07 00:10:43 +00:00 committed by Willy Sudiarto Raharjo
parent 6d4041e8f2
commit b775f3e2b9
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 2 additions and 10 deletions

View file

@ -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.

View file

@ -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"