aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorVijay Marcel <vijaymarcel@outlook.com>2024-10-05 02:07:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-05 02:11:10 +0700
commitc83e4b2cc05be4a3688678cd50781ed9333acaf0 (patch)
treee72990d36fe93ea0503a42daa20f943c4949c420 /python
parent86188a266afcbc67805711948119d246cc075eaa (diff)
python/insipid-sphinx-theme: Updated for version 0.4.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/insipid-sphinx-theme/insipid-sphinx-theme.SlackBuild16
-rw-r--r--python/insipid-sphinx-theme/insipid-sphinx-theme.info8
2 files changed, 15 insertions, 9 deletions
diff --git a/python/insipid-sphinx-theme/insipid-sphinx-theme.SlackBuild b/python/insipid-sphinx-theme/insipid-sphinx-theme.SlackBuild
index 0f2c96becae9..b9cb9e069bcf 100644
--- a/python/insipid-sphinx-theme/insipid-sphinx-theme.SlackBuild
+++ b/python/insipid-sphinx-theme/insipid-sphinx-theme.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for insipid-sphinx-theme
-# 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,10 +25,12 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=insipid-sphinx-theme
-VERSION=${VERSION:-0.4.1}
+VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+FNTSRC=${FNTSRC:-Font-Awesome}
+FNTSRCVER=${FNTSRCVER:-7d3d774145ac38663f6d1effc6def0334b68ab7e}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -55,10 +57,13 @@ mkdir -pv $TMP $PKG $OUTPUT
cd $TMP
rm -rvf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$FNTSRC-$FNTSRCVER.tar.gz
cd $PRGNAM-$VERSION
-
+rm -rvf Font-Awesome
+mv -v $TMP/$FNTSRC-$FNTSRCVER $TMP/$PRGNAM-$VERSION/$FNTSRC
+# remove dangling symlinks
+#find . -xtype l -exec rm -vf {} \;
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 \
@@ -68,8 +73,7 @@ find -L . \
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 CONTRIBUTING.rst LICENSE README.rst NEWS.rst $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/insipid-sphinx-theme/insipid-sphinx-theme.info b/python/insipid-sphinx-theme/insipid-sphinx-theme.info
index d6b831913660..ec222c6ad326 100644
--- a/python/insipid-sphinx-theme/insipid-sphinx-theme.info
+++ b/python/insipid-sphinx-theme/insipid-sphinx-theme.info
@@ -1,8 +1,10 @@
PRGNAM="insipid-sphinx-theme"
-VERSION="0.4.1"
+VERSION="0.4.2"
HOMEPAGE="https://github.com/mgeier/insipid-sphinx-theme"
-DOWNLOAD="https://github.com/mgeier/insipid-sphinx-theme/archive/0.4.1/insipid-sphinx-theme-0.4.1.tar.gz"
-MD5SUM="309491de6b5ebcda327146ce51f99f91"
+DOWNLOAD="https://github.com/mgeier/insipid-sphinx-theme/archive/0.4.2/insipid-sphinx-theme-0.4.2.tar.gz \
+ https://github.com/FortAwesome/Font-Awesome/archive/7d3d774/Font-Awesome-7d3d774145ac38663f6d1effc6def0334b68ab7e.tar.gz"
+MD5SUM="d04b491c30007cb1fe16feb9a7ebfde3 \
+ 7bed8afd44b92db5dfec328f395107dd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""