aboutsummaryrefslogtreecommitdiff
path: root/python/python3-xapp
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu@protonmail.com>2025-09-24 12:54:35 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-09-26 21:55:26 +0700
commitb2ff6e4ecb4ea809a7a044a880f642c4b98e3ebc (patch)
treef64e88f9f171110d1a9998714e29a671774091e6 /python/python3-xapp
parent660db1d8abdc2c4c955316f8923f2685832dfb4e (diff)
python/python3-xapp: Update for 2.4.2 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-xapp')
-rw-r--r--python/python3-xapp/README2
-rw-r--r--python/python3-xapp/python3-xapp.SlackBuild21
-rw-r--r--python/python3-xapp/python3-xapp.info10
-rw-r--r--python/python3-xapp/slack-desc4
4 files changed, 22 insertions, 15 deletions
diff --git a/python/python3-xapp/README b/python/python3-xapp/README
index dddf6108cb..6fca82b893 100644
--- a/python/python3-xapp/README
+++ b/python/python3-xapp/README
@@ -1 +1 @@
-This package provides Python 3 Xapp Library
+This package provides the Python3 Xapp Library.
diff --git a/python/python3-xapp/python3-xapp.SlackBuild b/python/python3-xapp/python3-xapp.SlackBuild
index 97036a7f44..9113745e03 100644
--- a/python/python3-xapp/python3-xapp.SlackBuild
+++ b/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
diff --git a/python/python3-xapp/python3-xapp.info b/python/python3-xapp/python3-xapp.info
index 394bc38a84..09d2006d72 100644
--- a/python/python3-xapp/python3-xapp.info
+++ b/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"
diff --git a/python/python3-xapp/slack-desc b/python/python3-xapp/slack-desc
index 17726f3cc2..03285ecc56 100644
--- a/python/python3-xapp/slack-desc
+++ b/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: