Browse Source

python/python3-xapp: Update for 2.4.2 (+new maintainer)

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/334/head
Isaac Yu 2 weeks ago
committed by Willy Sudiarto Raharjo
parent
commit
b2ff6e4ecb
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 2
      python/python3-xapp/README
  2. 21
      python/python3-xapp/python3-xapp.SlackBuild
  3. 10
      python/python3-xapp/python3-xapp.info
  4. 4
      python/python3-xapp/slack-desc

2
python/python3-xapp/README

@ -1 +1 @@
This package provides Python 3 Xapp Library
This package provides the Python3 Xapp Library.

21
python/python3-xapp/python3-xapp.SlackBuild

@ -2,8 +2,9 @@
# Slackware build script for python3-xapp
# Copyright 2025 Olivier Brouckaert <olivier.b@i-services.be>
# Copyright 2021 Willy Sudiarto Raharjo <willysr@slackware-id.org>
# Copyright 2025 Olivier Brouckaert <olivier.b@i-services.be>
# Copyright 2025 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-xapp
VERSION=${VERSION:-2.2.2}
VERSION=${VERSION:-2.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -49,16 +50,24 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $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 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
python3 setup.py install --root=$PKG
mkdir -p build
cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson .. \
--prefix=/usr \
--mandir=/usr/man \
--libdir=/usr/lib${LIBDIRSUFFIX}
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
cd ..
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
@ -66,8 +75,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION/ -type f -exec chmod 644 {} \;
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

10
python/python3-xapp/python3-xapp.info

@ -1,10 +1,10 @@
PRGNAM="python3-xapp"
VERSION="2.2.2"
VERSION="2.4.2"
HOMEPAGE="https://github.com/linuxmint/python3-xapp"
DOWNLOAD="https://github.com/linuxmint/python3-xapp/archive/2.2.2/python3-xapp-2.2.2.tar.gz"
MD5SUM="1456017fc8030a5e2e66d3fc0f18f605"
DOWNLOAD="https://github.com/linuxmint/python3-xapp/archive/2.4.2/python3-xapp-2.4.2.tar.gz"
MD5SUM="d6a533d8c0efaa487cf80cbd3c585af8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Olivier Brouckaert"
EMAIL="olivier.b@i-services.be"
MAINTAINER="Isaac Yu"
EMAIL="isaacyu@protonmail.com"

4
python/python3-xapp/slack-desc

@ -6,9 +6,9 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
python3-xapp: python3-xapp (Python 3 Xapp Library)
python3-xapp: python3-xapp (Python3 Xapp Library)
python3-xapp:
python3-xapp: This package provides Python 3 Xapp Library
python3-xapp: This package provides the Python3 Xapp Library.
python3-xapp:
python3-xapp: Homepage: https://github.com/linuxmint/python3-xapp
python3-xapp:

Loading…
Cancel
Save