summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
author Vijay Marcel <vijaymarcel@outlook.com>2024-10-11 11:44:39 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-11 12:51:46 +0700
commit2a6fcf547bd533909bc9e1fc3ba875f5a4a545a8 (patch)
tree1f3127de16334094f28c30aecd117f3022f57d7e /python
parent17958d7d73a6261581e744be60c343ff0ad48a95 (diff)
downloadslackbuilds-2a6fcf547bd533909bc9e1fc3ba875f5a4a545a8.tar.gz
slackbuilds-2a6fcf547bd533909bc9e1fc3ba875f5a4a545a8.tar.xz
python/pallets-sphinx-themes: Updated for version 2.1.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild13
-rw-r--r--python/pallets-sphinx-themes/pallets-sphinx-themes.info8
2 files changed, 11 insertions, 10 deletions
diff --git a/python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild b/python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild
index 502ae027e2..a623dbe8cc 100644
--- a/python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild
+++ b/python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pallets-sphinx-themes
-# Copyright 2022-2023 Vijay Marcel
+# Copyright 2022-2024 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pallets-sphinx-themes
-VERSION=${VERSION:-2.1.1}
+VERSION=${VERSION:-2.1.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,15 +64,16 @@ 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 {} \;
-python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
+python3 -m build --wheel --no-isolation
+python3 -m installer --destdir="$PKG" dist/*.whl
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
+ | cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES.rst LICENSE.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES.rst LICENSE.txt README.md $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 0644 {} \+
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod -v 0644 {} \+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/python/pallets-sphinx-themes/pallets-sphinx-themes.info b/python/pallets-sphinx-themes/pallets-sphinx-themes.info
index 8034001d89..5620a5d824 100644
--- a/python/pallets-sphinx-themes/pallets-sphinx-themes.info
+++ b/python/pallets-sphinx-themes/pallets-sphinx-themes.info
@@ -1,10 +1,10 @@
PRGNAM="pallets-sphinx-themes"
-VERSION="2.1.1"
+VERSION="2.1.3"
HOMEPAGE="https://github.com/pallets/pallets-sphinx-themes/"
-DOWNLOAD="https://github.com/pallets/pallets-sphinx-themes/archive/2.1.1/pallets-sphinx-themes-2.1.1.tar.gz"
-MD5SUM="7072fffc37a9d1790c98b8ae15f1f25d"
+DOWNLOAD="https://github.com/pallets/pallets-sphinx-themes/archive/2.1.3/pallets-sphinx-themes-2.1.3.tar.gz"
+MD5SUM="1fdc10cea907989d3f84694c3c6bd64a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-flit_core python3-installer python3-pyproject-hooks python3-build Sphinx"
MAINTAINER="Vijay Marcel"
EMAIL="vijaymarcel@outlook.com"