Browse Source

l/python-wrapt: Upgraded to python-wrapt-1.11.2.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
5fd52d45e9
  1. 14
      l/python-wrapt/python-wrapt.SlackBuild
  2. 1
      l/python-wrapt/wrapt-1.10.11.tar.gz.sha256
  3. 1
      l/python-wrapt/wrapt-1.11.2.tar.gz.sha256

14
l/python-wrapt/python-wrapt.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:
@ -27,9 +27,8 @@
# Source package infos
NAMESRC=${NAMESRC:-wrapt}
VERSION=${VERSION:-1.10.11}
VERSION=${VERSION:-1.11.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/a0/47/66897906448185fcb77fc3c2b1bc20ed0ecca81a0f2f88eda3fc5a34fc3d/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-wrapt}
@ -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,10 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION

1
l/python-wrapt/wrapt-1.10.11.tar.gz.sha256

@ -1 +0,0 @@
d4d560d479f2c21e1b5443bbd15fe7ec4b37fe7e53d335d3b9b0a7b1226fe3c6 wrapt-1.10.11.tar.gz

1
l/python-wrapt/wrapt-1.11.2.tar.gz.sha256

@ -0,0 +1 @@
565a021fd19419476b9362b05eeaa094178de64f8361e44468f9e9d7843901e1 wrapt-1.11.2.tar.gz
Loading…
Cancel
Save