summaryrefslogtreecommitdiffstats
path: root/python/pallets-sphinx-themes
diff options
context:
space:
mode:
author Vijay Marcel2023-06-17 04:22:46 +0200
committer Willy Sudiarto Raharjo2023-06-17 04:45:16 +0200
commitda744ee24eb331a293d8a5102d91f2a3ef34a68b (patch)
tree2d150986f8a8df1195931940692901f454aba289 /python/pallets-sphinx-themes
parentfe9e390c723d1bd5fd03d53173306b81d81470d2 (diff)
downloadslackbuilds-da744ee24eb331a293d8a5102d91f2a3ef34a68b.tar.gz
python/pallets-sphinx-theme: Updated for version 2.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pallets-sphinx-themes')
-rw-r--r--python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild23
-rw-r--r--python/pallets-sphinx-themes/pallets-sphinx-themes.info6
2 files changed, 7 insertions, 22 deletions
diff --git a/python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild b/python/pallets-sphinx-themes/pallets-sphinx-themes.SlackBuild
index 456137c91e..502ae027e2 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 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=pallets-sphinx-themes
-VERSION=${VERSION:-2.0.2}
+VERSION=${VERSION:-2.1.1}
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
@@ -73,6 +56,7 @@ 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 \
@@ -88,6 +72,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGES.rst LICENSE.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/pallets-sphinx-themes/pallets-sphinx-themes.info b/python/pallets-sphinx-themes/pallets-sphinx-themes.info
index d98358fb88..8034001d89 100644
--- a/python/pallets-sphinx-themes/pallets-sphinx-themes.info
+++ b/python/pallets-sphinx-themes/pallets-sphinx-themes.info
@@ -1,8 +1,8 @@
PRGNAM="pallets-sphinx-themes"
-VERSION="2.0.2"
+VERSION="2.1.1"
HOMEPAGE="https://github.com/pallets/pallets-sphinx-themes/"
-DOWNLOAD="https://github.com/pallets/pallets-sphinx-themes/archive/2.0.2/pallets-sphinx-themes-2.0.2.tar.gz"
-MD5SUM="e69e3e67f89bbd7b0cbe1c7d78b42d18"
+DOWNLOAD="https://github.com/pallets/pallets-sphinx-themes/archive/2.1.1/pallets-sphinx-themes-2.1.1.tar.gz"
+MD5SUM="7072fffc37a9d1790c98b8ae15f1f25d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""