summaryrefslogtreecommitdiffstats
path: root/python/sphinx-last-updated-by-git
diff options
context:
space:
mode:
author Vijay Marcel2023-06-16 14:17:51 +0200
committer Willy Sudiarto Raharjo2023-06-16 14:17:51 +0200
commitafe834f9c2dd7ee64be8c5ff0fe72abe84265de0 (patch)
tree9ebe58fcb78b452f4ae82fe079d04723f7c805e0 /python/sphinx-last-updated-by-git
parentfdd7879efa4448ca83d2992f2423325e0b672c38 (diff)
downloadslackbuilds-afe834f9c2dd7ee64be8c5ff0fe72abe84265de0.tar.gz
python/sphinx-last-updated-by-git: Updated for version 0.3.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/sphinx-last-updated-by-git')
-rw-r--r--python/sphinx-last-updated-by-git/slack-desc6
-rw-r--r--python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.SlackBuild25
-rw-r--r--python/sphinx-last-updated-by-git/sphinx-last-updated-by-git.info8
3 files changed, 11 insertions, 28 deletions
diff --git a/python/sphinx-last-updated-by-git/slack-desc b/python/sphinx-last-updated-by-git/slack-desc
index f555a320da..9d3eb55bb2 100644
--- a/python/sphinx-last-updated-by-git/slack-desc
+++ b/python/sphinx-last-updated-by-git/slack-desc
@@ -8,9 +8,9 @@
|-----handy-ruler------------------------------------------------------|
sphinx-last-updated-by-git: sphinx-last-updated-by-git (Last Updated Time For Sphinx)
sphinx-last-updated-by-git:
-sphinx-last-updated-by-git: This is little sphinx extension that gets the last
-sphinx-last-updated-by-git: updated time for each sphinx page from git.It also
-sphinx-last-updated-by-git: checks for included files and other dependencies
+sphinx-last-updated-by-git: This is little sphinx extension that gets the last
+sphinx-last-updated-by-git: updated time for each sphinx page from git.It also
+sphinx-last-updated-by-git: checks for included files and other dependencies
sphinx-last-updated-by-git: and uses their last updated time if its more recent.
sphinx-last-updated-by-git: Uncommitted changes are ignored.
sphinx-last-updated-by-git:
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 3766336c21..587c0bef6f 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 Vijay Marcel
+# Copyright 2022-2023 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.4}
+VERSION=${VERSION:-0.3.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -50,20 +47,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
@@ -85,10 +68,10 @@ 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
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE NEWS.rst PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a 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 {} \+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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 81e8eecfcd..7c1d3138ed 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.4"
-HOMEPAGE="https://github.com/mgeier/sphinx-last-updated-by-git/"
-DOWNLOAD="https://pypi.io/packages/source/s/sphinx-last-updated-by-git/sphinx-last-updated-by-git-0.3.4.tar.gz"
-MD5SUM="288b8ac6f79473e933b1ce00492e8dcd"
+VERSION="0.3.5"
+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_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""