summaryrefslogtreecommitdiffstats
path: root/python/pyfltk/pyfltk.SlackBuild
diff options
context:
space:
mode:
author David Spencer2015-12-29 20:51:55 +0100
committer Willy Sudiarto Raharjo2016-01-17 03:40:16 +0100
commit9dfb46a487566786e9f3c5b50df5e601615ef638 (patch)
treeead42d635c7a956e0567fda271b370c9478d3a71 /python/pyfltk/pyfltk.SlackBuild
parent46db38c07eebc584617ee4a27256af79561e38d9 (diff)
downloadslackbuilds-9dfb46a487566786e9f3c5b50df5e601615ef638.tar.gz
python/pyfltk: Updated for version 1.3.3.1.
Fixes build with fltk-1.3.3 and swig-3.0.7. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'python/pyfltk/pyfltk.SlackBuild')
-rw-r--r--python/pyfltk/pyfltk.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/python/pyfltk/pyfltk.SlackBuild b/python/pyfltk/pyfltk.SlackBuild
index 14dc4c4771..b195a81324 100644
--- a/python/pyfltk/pyfltk.SlackBuild
+++ b/python/pyfltk/pyfltk.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pyfltk
-VERSION=${VERSION:-1.1.5}
+VERSION=${VERSION:-1.3.3.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -53,9 +53,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRC_PRGNAM-$VERSION
-tar -xvf $CWD/$SRC_PRGNAM-$VERSION.tar.gz
-cd $SRC_PRGNAM-$VERSION
+rm -rf ${SRC_PRGNAM}-${VERSION}
+tar -xvf $CWD/${SRC_PRGNAM}-${VERSION}_py2.tar.gz
+cd ${SRC_PRGNAM}-${VERSION}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -72,6 +72,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/docs
mv $HTMLDOCS $PKG/usr/doc/$PRGNAM-$VERSION/docs/
+# Elide comments unsupported by swig-3.0.7
+sed -i -e '/#/d' swig/pyFinalize.i
# build from swig interface files
cd python
python ./MakeSwig.py