python/sphinx-rtd-theme: Updated for version 2.0.0, new maintainer.

Previous maintainer is not active and has not responded to any emails.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2024-03-22 23:44:12 -06:00 committed by Willy Sudiarto Raharjo
parent 150df6145f
commit a59fa992c2
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 13 additions and 13 deletions

View file

@ -2,6 +2,7 @@
# SlackBuild build script for sphinx_rtd_theme
# Copyright 2024 fourtysixandtwo <fourtysixandtwo@sliderr.net>
# Copyright (c) 2000-2011 Pr. Horstmann <wmh (at) eipg.fr>
# All rights reserved.
#
@ -22,10 +23,12 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20240322 46and2: Updated version, new maintainer.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sphinx-rtd-theme
VERSION=${VERSION:-0.4.3}
VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -52,7 +55,7 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
@ -60,12 +63,9 @@ cd $SRCNAM-$VERSION
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 \
-o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Python 2.7 will be dropped in the future.
python2 setup.py install --root=$PKG
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
python3 setup.py install --root=$PKG

View file

@ -1,10 +1,10 @@
PRGNAM="sphinx-rtd-theme"
VERSION="0.4.3"
VERSION="2.0.0"
HOMEPAGE="https://pypi.org/project/sphinx-rtd-theme"
DOWNLOAD="https://files.pythonhosted.org/packages/ed/73/7e550d6e4cf9f78a0e0b60b9d93dba295389c3d271c034bf2ea3463a79f9/sphinx_rtd_theme-0.4.3.tar.gz"
MD5SUM="6c50f30bc39046f497d336039a0c13fa"
DOWNLOAD="https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-2.0.0.tar.gz"
MD5SUM="8ad74a8e9ca706ed77117be0e9eed7e8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Pr. HORSTMANN"
EMAIL="wmh@eipg.fr"
REQUIRES="sphinxcontrib-jquery"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"