Browse Source

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

slackware-14.2
Damien Goutte-Gattat 4 years ago
parent
commit
187d857b27
  1. 1
      l/python-cffi/cffi-1.10.0.tar.gz.sha256
  2. 1
      l/python-cffi/cffi-1.11.2.tar.gz.sha256
  3. 18
      l/python-cffi/python-cffi.SlackBuild

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

@ -1 +0,0 @@
b3b02911eb1f6ada203b0763ba924234629b51586f72a21faacc638269f4ced5 cffi-1.10.0.tar.gz

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

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

18
l/python-cffi/python-cffi.SlackBuild

@ -22,14 +22,15 @@
#
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest cffi sourcecode is available at:
# <https://pypi.python.org/pypi/cffi>.
# Latest cffi sourcecode is available at: <https://cffi.readthedocs.org/>.
#
# Depends: l/pycparser
# Source package infos
NAMESRC=${NAMESRC:-cffi}
VERSION=${VERSION:-1.10.0}
VERSION=${VERSION:-1.11.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/5b/b9/790f8eafcdab455bcd3bd908161f802c9ce5adbf702a83aa7712fcc345b7/$ARCHIVE}
WGET=${WGET:-https://pypi.python.org/packages/c9/70/89b68b6600d479034276fed316e14b9107d50a62f5627da37fafe083fde3/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-cffi}
@ -87,6 +88,10 @@ CXXFLAGS=$CPUOPT \
python setup.py build
python setup.py install --root=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 AUTHORS LICENSE PKG-INFO $PKG/usr/doc/$NAMEPKG-$VERSION
@ -94,6 +99,11 @@ install -m 644 AUTHORS LICENSE PKG-INFO $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
pycparser
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save