diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-03-25 09:59:44 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:42:09 -0500 |
commit | 06b223f47c40824d670bce103c64326a6a80f6bb (patch) | |
tree | fff796df614e0eba6c347a0ac671d8f6c84e5190 /python | |
parent | baaddad437c49057ddb3ca3f638e14ca31ce68a0 (diff) | |
download | slackbuilds-06b223f47c40824d670bce103c64326a6a80f6bb.tar.gz |
python/llfuse: Updated for version 1.4.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/llfuse/llfuse.SlackBuild | 22 | ||||
-rw-r--r-- | python/llfuse/llfuse.info | 10 | ||||
-rw-r--r-- | python/llfuse/slack-desc | 2 |
3 files changed, 14 insertions, 20 deletions
diff --git a/python/llfuse/llfuse.SlackBuild b/python/llfuse/llfuse.SlackBuild index c0a50fdccd..9a83fdd9df 100644 --- a/python/llfuse/llfuse.SlackBuild +++ b/python/llfuse/llfuse.SlackBuild @@ -26,13 +26,13 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=llfuse -VERSION=${VERSION:-1.1} +VERSION=${VERSION:-1.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -43,8 +43,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -63,7 +63,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -72,21 +72,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python3 setup.py build_cython +python3 setup.py build_ext --inplace +python3 setup.py install --root=$PKG --optimize=1 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html cp -a examples Changes.rst LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION -cp -a doc/html/*.html doc/html/searchindex.js doc/html/_static \ - $PKG/usr/doc/$PRGNAM-$VERSION/html cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/llfuse/llfuse.info b/python/llfuse/llfuse.info index d0966bdd64..8b7c2bda8a 100644 --- a/python/llfuse/llfuse.info +++ b/python/llfuse/llfuse.info @@ -1,10 +1,10 @@ PRGNAM="llfuse" -VERSION="1.1" -HOMEPAGE="https://bitbucket.org/nikratio/python-llfuse/" -DOWNLOAD="https://bitbucket.org/nikratio/python-llfuse/downloads/llfuse-1.1.tar.bz2" -MD5SUM="a11a1bc606511fe0933c3e3d41237f0e" +VERSION="1.4.1" +HOMEPAGE="https://github.com/python-llfuse/python-llfuse" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/llfuse-1.4.1.tar.xz" +MD5SUM="0d1668468601c1a927fa162b99c5c6e8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3" MAINTAINER="Andrzej Telszewski" EMAIL="atelszewski@gmail.com" diff --git a/python/llfuse/slack-desc b/python/llfuse/slack-desc index c34c16103c..574ab75f76 100644 --- a/python/llfuse/slack-desc +++ b/python/llfuse/slack-desc @@ -11,7 +11,7 @@ llfuse: llfuse: LLFUSE is a set of Python bindings for the low level FUSE API. llfuse: It requires at least FUSE 2.8.0 and supports both Python 2.x and 3.x. llfuse: -llfuse: Homepage: https://bitbucket.org/nikratio/python-llfuse/ +llfuse: Homepage: https://github.com/python-llfuse/python-llfuse llfuse: llfuse: llfuse: |