aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVijay Marcel <vijaymarcel@outlook.com>2024-10-05 02:07:58 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-05 02:14:28 +0700
commitee00f15a27574dc4ce1c05c50cafda045e13b701 (patch)
treea808443e123535e7c9a20c2279e179428d8d4309
parentc83e4b2cc05be4a3688678cd50781ed9333acaf0 (diff)
python/sphinx-last-updated-by-git: Updated for version 0.3.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild12
-rw-r--r--python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.info6
2 files changed, 9 insertions, 9 deletions
diff --git a/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild b/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild
index 587c0bef6f8d..467ccff16af3 100644
--- a/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild
+++ b/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sphinx-last-updated-by-git
-# 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=sphinx-last-updated-by-git
-VERSION=${VERSION:-0.3.5}
+VERSION=${VERSION:-0.3.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -63,13 +63,13 @@ 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
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 setup.py install --prefix=/usr --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
+ | 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 LICENSE NEWS.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION
+cp -av LICENSE NEWS.rst README.rst $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 {} \+
diff --git a/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.info b/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.info
index 7c1d3138ede0..8c4d5535065b 100644
--- a/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.info
+++ b/python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.info
@@ -1,8 +1,8 @@
PRGNAM="sphinx-last-updated-by-git"
-VERSION="0.3.5"
+VERSION="0.3.8"
HOMEPAGE="https://github.com/mgeier/sphinx-last-updated-by-git"
-DOWNLOAD="https://github.com/mgeier/sphinx-last-updated-by-git/archive/0.3.5/sphinx-last-updated-by-git-0.3.5.tar.gz"
-MD5SUM="af3536915f05fe0817bd4d55242b7fdd"
+DOWNLOAD="https://github.com/mgeier/sphinx-last-updated-by-git/archive/0.3.8/sphinx-last-updated-by-git-0.3.8.tar.gz"
+MD5SUM="4aba794de45615fc8e29dfa5cf6d8ee0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""