python/llfuse: Updated for version 1.4.1.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2021-03-25 09:59:44 +01:00 committed by Robby Workman
parent baaddad437
commit 06b223f47c
3 changed files with 14 additions and 20 deletions

View File

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

View File

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

View File

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