Browse Source

l/zope.event: Upgraded to zope.event-4.4.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
664f6b366f
  1. 1
      l/zope.event/zope.event-4.3.0.tar.gz.sha256
  2. 1
      l/zope.event/zope.event-4.4.tar.gz.sha256
  3. 18
      l/zope.event/zope.event.SlackBuild

1
l/zope.event/zope.event-4.3.0.tar.gz.sha256

@ -1 +0,0 @@
e0ecea24247a837c71c106b0341a7a997e3653da820d21ef6c08b32548f733e7 zope.event-4.3.0.tar.gz

1
l/zope.event/zope.event-4.4.tar.gz.sha256

@ -0,0 +1 @@
69c27debad9bdacd9ce9b735dad382142281ac770c4a432b533d6d65c4614bcf zope.event-4.4.tar.gz

18
l/zope.event/zope.event.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2018 Damien Goutte-Gattat
# Copyright (C) 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.event}
VERSION=${VERSION:-4.3.0}
VERSION=${VERSION:-4.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/9e/d0/54ba59f19a0635f6591b74be259cf6fbf67e73f4edda27b5cd0cf4d26efa/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/4c/b2/51c0369adcf5be2334280eed230192ab3b03f81f8efda9ddea6f65cc7b32/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-zope.event}
@ -69,14 +69,22 @@ 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
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 CHANGES.rst COPYRIGHT.txt LICENSE.txt PKG-INFO README.rst \
$PKG/usr/doc/$NAME
# Build API docs if Sphinx is available
if type -p sphinx-build ; then
PYTHONPATH=$(ls -d $PKG/usr/lib*/python2.7/site-packages) make -C docs html
cp -r docs/_build/html $PKG/usr/doc/$NAME/html
fi
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save