Browse Source

l/omero-figure: Upgraded to omero-figure-4.2.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
dfa43b6539
  1. 1
      l/omero-figure/omero-figure-4.0.1.tar.gz.sha256
  2. 1
      l/omero-figure/omero-figure-4.2.0.tar.gz.sha256
  3. 15
      l/omero-figure/omero-figure.SlackBuild

1
l/omero-figure/omero-figure-4.0.1.tar.gz.sha256

@ -1 +0,0 @@
705806f8f3e71ab0ffce3f15ca10f09795ee04ff8eafbaa7d084548073bdf69e omero-figure-4.0.1.tar.gz

1
l/omero-figure/omero-figure-4.2.0.tar.gz.sha256

@ -0,0 +1 @@
13c1837b9f50acc9aeb269ba18e2208dfc49fca152f3f1ec68ace23be0efbfed omero-figure-4.2.0.tar.gz

15
l/omero-figure/omero-figure.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2017,2018 Damien Goutte-Gattat
# Copyright (C) 2017,2018,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,13 +25,12 @@
# Latest omero-figure sourcecode is available at:
# <https://github.com/ome/omero-figure>.
#
# Depends: n/omero-server, l/reportlab
# Depends: n/omero-web, l/reportlab
# Source package infos
NAMESRC=${NAMESRC:-omero-figure}
VERSION=${VERSION:-4.0.1}
VERSION=${VERSION:-4.2.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/ome/omero-figure/archive/v$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-omero-figure}
@ -60,7 +59,7 @@ fi
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
pip download omero-figure==4.0.1
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
@ -70,8 +69,8 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
@ -82,7 +81,7 @@ install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
omero-server
omero-web
reportlab
EOF

Loading…
Cancel
Save