Browse Source

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

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
493dfcbbf4
  1. 1
      l/python-cffi/cffi-1.11.2.tar.gz.sha256
  2. 1
      l/python-cffi/cffi-1.13.2.tar.gz.sha256
  3. 14
      l/python-cffi/python-cffi.SlackBuild

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

@ -1 +0,0 @@
ab87dd91c0c4073758d07334c1e5f712ce8fe48f007b86f8238773963ee700a6 cffi-1.11.2.tar.gz

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

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

14
l/python-cffi/python-cffi.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2016,2017 Damien Goutte-Gattat
# Copyright (C) 2016,2017,2019 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,9 @@
# Source package infos
NAMESRC=${NAMESRC:-cffi}
VERSION=${VERSION:-1.11.2}
VERSION=${VERSION:-1.13.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/c9/70/89b68b6600d479034276fed316e14b9107d50a62f5627da37fafe083fde3/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/2d/bf/960e5a422db3ac1a5e612cb35ca436c3fc985ed4b7ed13a1b4879006f450/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-cffi}
@ -85,8 +85,12 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build
python2 setup.py install --root=$PKG
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python3 setup.py build
python3 setup.py install --root=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \

Loading…
Cancel
Save