aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/MetaPhlAn2/MetaPhlAn2.SlackBuild19
-rw-r--r--academic/MetaPhlAn2/MetaPhlAn2.info6
2 files changed, 13 insertions, 12 deletions
diff --git a/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild b/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
index 48492049c446..c5577fd4b9eb 100644
--- a/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
+++ b/academic/MetaPhlAn2/MetaPhlAn2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for MetaPhlAn2
-# Copyright 2019-2020 Petar Petrov slackalaxy@gmail.com
+# Copyright 2019-2021 Petar Petrov slackalaxy@gmail.com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,13 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=MetaPhlAn2
-VERSION=${VERSION:-2.9.5.3}
+VERSION=${VERSION:-20201202_git4e4416}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCNAM=metaphlan2
-AUTHOR=biobakery
-COMMIT=3a075f914593
+COMMIT=4e4416321c75828ac8ea55d36f5a65ebd39058c5
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -51,15 +49,15 @@ set -e
if [ -e $CWD/$COMMIT.tar.gz ]; then
TARBALL=${COMMIT}
else
- TARBALL=${AUTHOR}-${SRCNAM}-${COMMIT}
+ TARBALL=${PRGNAM}-${COMMIT}
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf ${AUTHOR}-${SRCNAM}-${COMMIT}
+rm -rf ${PRGNAM}-${COMMIT}
tar xvf $CWD/$TARBALL.tar.gz
-cd ${AUTHOR}-${SRCNAM}-${COMMIT}
+cd ${PRGNAM}-${COMMIT}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -78,9 +76,12 @@ cd $PKG/usr/bin
ln -s ../share/$PRGNAM/strainphlan.py
cd -
+mkdir -p $PKG/usr/share/$PRGNAM
+cp -a strainphlan_tutorial $PKG/usr/share/$PRGNAM
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- README.md changeset.txt license.txt strainphlan_tutorial \
+ README.md changeset.txt license.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/References > $PKG/usr/doc/$PRGNAM-$VERSION/References
diff --git a/academic/MetaPhlAn2/MetaPhlAn2.info b/academic/MetaPhlAn2/MetaPhlAn2.info
index f01033053b97..af4e05652dbe 100644
--- a/academic/MetaPhlAn2/MetaPhlAn2.info
+++ b/academic/MetaPhlAn2/MetaPhlAn2.info
@@ -1,8 +1,8 @@
PRGNAM="MetaPhlAn2"
-VERSION="2.9.5.3"
+VERSION="20201202_git4e4416"
HOMEPAGE="http://huttenhower.sph.harvard.edu/metaphlan2"
-DOWNLOAD="https://bitbucket.org/biobakery/metaphlan2/get/3a075f914593.tar.gz"
-MD5SUM="956f8f6897a40e15cec38eb26cdcf97c"
+DOWNLOAD="https://github.com/biobakery/MetaPhlAn2/archive/4e4416/4e4416321c75828ac8ea55d36f5a65ebd39058c5.tar.gz"
+MD5SUM="7f07d766a84b0da247a404c05e6f9eb6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysam biopython msgpack-python pandas scipy DendroPy bowtie2 muscle samtools-legacy bcftools ncbi-blast+ RAxML"