summaryrefslogtreecommitdiff
path: root/python/pyfltk
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-12-29 19:51:55 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit9dfb46a487566786e9f3c5b50df5e601615ef638 (patch)
treeead42d635c7a956e0567fda271b370c9478d3a71 /python/pyfltk
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')
-rw-r--r--python/pyfltk/pyfltk.SlackBuild10
-rw-r--r--python/pyfltk/pyfltk.info8
2 files changed, 10 insertions, 8 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
diff --git a/python/pyfltk/pyfltk.info b/python/pyfltk/pyfltk.info
index 5df1bbab68..597c54ee4b 100644
--- a/python/pyfltk/pyfltk.info
+++ b/python/pyfltk/pyfltk.info
@@ -1,10 +1,10 @@
PRGNAM="pyfltk"
-VERSION="1.1.5"
+VERSION="1.3.3.1"
HOMEPAGE="http://pyfltk.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/pyfltk/pyFltk-1.1.5.tar.gz"
-MD5SUM="3250ea44a184d28178aad845de11c6bb"
+DOWNLOAD="http://downloads.sourceforge.net/pyfltk/pyFltk-1.3.3.1_py2.tar.gz"
+MD5SUM="1f2474327fd868ddbe398f37b931cd00"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fltk"
+REQUIRES="fltk13"
MAINTAINER="LukenShiro"
EMAIL="lukenshiro@ngi.it"