Browse Source

l/pyhon-imagesize: Upgraded to python-imagesize-1.2.0.

current-20200608
Damien Goutte-Gattat 10 months ago
parent
commit
51cd2d19d5
  1. 1
      l/python-imagesize/imagesize-1.1.0.tar.gz.sha256
  2. 1
      l/python-imagesize/imagesize-1.2.0.tar.gz.sha256
  3. 10
      l/python-imagesize/python-imagesize.SlackBuild

1
l/python-imagesize/imagesize-1.1.0.tar.gz.sha256

@ -1 +0,0 @@
f3832918bc3c66617f92e35f5d70729187676313caa60c187eb0f28b8fe5e3b5 imagesize-1.1.0.tar.gz

1
l/python-imagesize/imagesize-1.2.0.tar.gz.sha256

@ -0,0 +1 @@
b1f6b5a4eab1f73479a50fb79fcf729514a900c341d8503d62a62dbc4127a2b1 imagesize-1.2.0.tar.gz

10
l/python-imagesize/python-imagesize.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2016,2019 Damien Goutte-Gattat
# Copyright (C) 2016,2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,9 +27,8 @@
# Source package infos
NAMESRC=${NAMESRC:-imagesize}
VERSION=${VERSION:-1.1.0}
VERSION=${VERSION:-1.2.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/41/f5/3cf63735d54aa9974e544aa25858d8f9670ac5b4da51020bbfc6aaade741/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-imagesize}
@ -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,8 +67,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG

Loading…
Cancel
Save