python/insipid-sphinx-theme: Updated for version 0.4.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vijay Marcel 2024-10-05 02:07:49 +07:00 committed by Willy Sudiarto Raharjo
parent 86188a266a
commit c83e4b2cc0
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 15 additions and 9 deletions

View file

@ -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

View file

@ -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=""