Browse Source

l/dabest: Upgraded to dabest-0.2.7.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
ab1cee556f
  1. 1
      l/dabest/dabest-0.1.2.tar.gz.sha256
  2. 1
      l/dabest/dabest-0.2.7.tar.gz.sha256
  3. 12
      l/dabest/dabest.SlackBuild

1
l/dabest/dabest-0.1.2.tar.gz.sha256

@ -1 +0,0 @@
12df2715a4fc76ca4abd1fd6a5f2673d8a0e9fa66a8e4797846e1c97c3e904da dabest-0.1.2.tar.gz

1
l/dabest/dabest-0.2.7.tar.gz.sha256

@ -0,0 +1 @@
547319c1886e7dd6e4584d55492f029f8853a195b4e63aca5e0faefab2e126c3 dabest-0.2.7.tar.gz

12
l/dabest/dabest.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2018 Damien Goutte-Gattat
# Copyright (C) 2018,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,9 +29,8 @@
# Source package infos
NAMESRC=${NAMESRC:-dabest}
VERSION=${VERSION:-0.1.2}
VERSION=${VERSION:-0.2.7}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/69/5b/7a89f0d0d73e082d1b5bf29b3954a40e341a335ee39dfc0fcb440a8d4204/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-dabest}
@ -60,8 +59,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)
@ -71,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

Loading…
Cancel
Save