Browse Source

l/omero-marshal: Upgraded to omero-marshal-0.7.0.

current-20191101
parent
commit
4caaedce60
3 changed files with 10 additions and 13 deletions
  1. +0
    -1
      l/omero-marshal/omero-marshal-0.5.4.tar.gz.sha256
  2. +9
    -12
      l/omero-marshal/omero-marshal.SlackBuild
  3. +1
    -0
      l/omero-marshal/omero_marshal-0.7.0.tar.gz.sha256

+ 0
- 1
l/omero-marshal/omero-marshal-0.5.4.tar.gz.sha256 View File

@ -1 +0,0 @@
809dbbdb8fe8460c37b793ed04d4bfb96c680918f960474efaed0dbc767e0efb omero-marshal-0.5.4.tar.gz

+ 9
- 12
l/omero-marshal/omero-marshal.SlackBuild View File

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2017,2019 Damien Goutte-Gattat
# Copyright (C) 2017,2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,10 +26,9 @@
# <https://github.com/openmicroscopy/omero-marshal>.
# Source package infos
NAMESRC=${NAMESRC:-omero-marshal}
VERSION=${VERSION:-0.5.4}
NAMESRC=${NAMESRC:-omero_marshal}
VERSION=${VERSION:-0.7.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/openmicroscopy/omero-marshal/archive/v$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-omero-marshal}
@ -58,8 +57,7 @@ fi
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
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)
@ -69,14 +67,13 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# Omero is currently not known to work with Python 3, so we only
# install for Python 2.
python2 setup.py build
python2 setup.py install --root=$PKG
# Omero now supports Python 3 only.
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 README.rst $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 README.rst $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc


+ 1
- 0
l/omero-marshal/omero_marshal-0.7.0.tar.gz.sha256 View File

@ -0,0 +1 @@
bf0dd2a6248de688f7eb1b6a078c25b3e12a4cb3c5ae0d5c66dfd6d8b4fad760 omero_marshal-0.7.0.tar.gz

Loading…
Cancel
Save