Browse Source

l/pyzmq: Upgraded to pyzmq-18.1.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
442d115fec
  1. 1
      l/pyzmq/pyzmq-16.0.4.tar.gz.sha256
  2. 1
      l/pyzmq/pyzmq-18.1.0.tar.gz.sha256
  3. 18
      l/pyzmq/pyzmq.SlackBuild

1
l/pyzmq/pyzmq-16.0.4.tar.gz.sha256

@ -1 +0,0 @@
bc23fad15d6da82081e89ea0b254a7b6efe6d1c4c58edb16f28e4b4d880086b2 pyzmq-16.0.4.tar.gz

1
l/pyzmq/pyzmq-18.1.0.tar.gz.sha256

@ -0,0 +1 @@
93f44739db69234c013a16990e43db1aa0af3cf5a4b8b377d028ff24515fbeb3 pyzmq-18.1.0.tar.gz

18
l/pyzmq/pyzmq.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012,2013,2018 Damien Goutte-Gattat
# Copyright (C) 2012,2013,2018,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,9 +29,8 @@
# Source package infos
NAMESRC=${NAMESRC:-pyzmq}
VERSION=${VERSION:-16.0.4}
VERSION=${VERSION:-18.1.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/52/ab/aad6fda6fb247893613629920472770da19bf94af5617852fd49d3047c4b/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-pyzmq}
@ -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,8 +83,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 | \
@ -94,7 +96,7 @@ find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS.md CONTRIBUTING.md COPYING.{BSD,LESSER} PKG-INFO \
install -m 644 AUTHORS.md CONTRIBUTING.md COPYING.{BSD,LESSER} \
README.md $PKG/usr/doc/$NAME
# Copy slack-desc file

Loading…
Cancel
Save