diff options
Diffstat (limited to 'python/pyfltk/pyfltk.SlackBuild')
-rw-r--r-- | python/pyfltk/pyfltk.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/python/pyfltk/pyfltk.SlackBuild b/python/pyfltk/pyfltk.SlackBuild index 14dc4c4771bd3..b195a81324fbd 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 |