Browse Source

l/zope.interface: Upgraded to zope.interface-4.7.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
aed48f3619
  1. 1
      l/zope.interface/zope.interface-4.4.3.tar.gz.sha256
  2. 1
      l/zope.interface/zope.interface-4.7.1.tar.gz.sha256
  3. 16
      l/zope.interface/zope.interface.SlackBuild

1
l/zope.interface/zope.interface-4.4.3.tar.gz.sha256

@ -1 +0,0 @@
d6d26d5dfbfd60c65152938fcb82f949e8dada37c041f72916fef6621ba5c5ce zope.interface-4.4.3.tar.gz

1
l/zope.interface/zope.interface-4.7.1.tar.gz.sha256

@ -0,0 +1 @@
4bb937e998be9d5e345f486693e477ba79e4344674484001a0b646be1d530487 zope.interface-4.7.1.tar.gz

16
l/zope.interface/zope.interface.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2015,2018 Damien Goutte-Gattat
# Copyright (C) 2015,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,9 @@
# Source package infos
NAMESRC=${NAMESRC:-zope.interface}
VERSION=${VERSION:-4.4.3}
VERSION=${VERSION:-4.7.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/bd/d2/25349ed41f9dcff7b3baf87bd88a4c82396cf6e02f1f42bb68657a3132af/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/c3/05/bf3130eb799548882ce61b7c3d2dbc5d4d5cc6e821efa8786c5273d56844/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-zope.interface}
@ -69,8 +69,14 @@ 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
# 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/$NAME

Loading…
Cancel
Save