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>
This commit is contained in:
David Spencer 2015-12-29 19:51:55 +00:00 committed by Willy Sudiarto Raharjo
parent 46db38c07e
commit 9dfb46a487
2 changed files with 10 additions and 8 deletions

View file

@ -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

View file

@ -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"