Browse Source

l/zope.proxy: Upgraded to zope.proxy-4.3.5.

current-20200608
Damien Goutte-Gattat 10 months ago
parent
commit
f6a0942c22
  1. 1
      l/zope.proxy/zope.proxy-4.3.3.tar.gz.sha256
  2. 1
      l/zope.proxy/zope.proxy-4.3.5.tar.gz.sha256
  3. 17
      l/zope.proxy/zope.proxy.SlackBuild

1
l/zope.proxy/zope.proxy-4.3.3.tar.gz.sha256

@ -1 +0,0 @@
dac4279aa05055d3897ab5e5ee5a7b39db121f91df65a530f8b1ac7f9bd93119 zope.proxy-4.3.3.tar.gz

1
l/zope.proxy/zope.proxy-4.3.5.tar.gz.sha256

@ -0,0 +1 @@
a66a0d94e5b081d5d695e66d6667e91e74d79e273eee95c1747717ba9cb70792 zope.proxy-4.3.5.tar.gz

17
l/zope.proxy/zope.proxy.SlackBuild

@ -28,9 +28,8 @@
# Source package infos
NAMESRC=${NAMESRC:-zope.proxy}
VERSION=${VERSION:-4.3.3}
VERSION=${VERSION:-4.3.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/e2/44/bea546c55488c044351e51ebf23bf440b19876e0069a418cadc1bd5736f7/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-zope.proxy}
@ -44,6 +43,7 @@ TMP=${TMP:-/tmp}
OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
PYTHONDIR=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')
set -e # Quit if a command returns non-zero
@ -59,8 +59,7 @@ fi
# 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)
@ -72,10 +71,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
@ -88,6 +83,12 @@ mkdir -p $PKG/usr/doc/$NAME
install -m 644 CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst \
$PKG/usr/doc/$NAME
# Build HTML docs if possible
export PYTHONPATH=$PKG$PYTHONDIR
if sphinx-build -b html docs $PKG/usr/doc/$NAME/html ; then
rm -rf $PKG/usr/doc/$NAME/html/.{buildinfo,doctrees}
fi
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save