summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-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"