Browse Source

l/python-cffi: Upgraded to python-cffi-1.14.0.

slackware-15.0
parent
commit
20589c1fc9
  1. 1
      l/python-cffi/cffi-1.13.2.tar.gz.sha256
  2. 1
      l/python-cffi/cffi-1.14.0.tar.gz.sha256
  3. 12
      l/python-cffi/python-cffi.SlackBuild

1
l/python-cffi/cffi-1.13.2.tar.gz.sha256

@ -1 +0,0 @@
599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346 cffi-1.13.2.tar.gz

1
l/python-cffi/cffi-1.14.0.tar.gz.sha256

@ -0,0 +1 @@
2d384f4a127a15ba701207f7639d94106693b6cd64173d6c8988e2c25f3ac2b6 cffi-1.14.0.tar.gz

12
l/python-cffi/python-cffi.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2016,2017,2019 Damien Goutte-Gattat
# Copyright (C) 2016,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:
@ -28,9 +28,8 @@
# Source package infos
NAMESRC=${NAMESRC:-cffi}
VERSION=${VERSION:-1.13.2}
VERSION=${VERSION:-1.14.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/2d/bf/960e5a422db3ac1a5e612cb35ca436c3fc985ed4b7ed13a1b4879006f450/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-cffi}
@ -72,8 +71,7 @@ esac
# 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)
@ -85,10 +83,6 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python2 setup.py build
python2 setup.py install --root=$PKG
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python3 setup.py build
python3 setup.py install --root=$PKG

Loading…
Cancel
Save