mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/sphinx-last-updated-by-git: Updated for version 0.3.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c83e4b2cc0
commit
ee00f15a27
2 changed files with 9 additions and 9 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for sphinx-last-updated-by-git
|
||||
|
||||
# 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,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=sphinx-last-updated-by-git
|
||||
VERSION=${VERSION:-0.3.5}
|
||||
VERSION=${VERSION:-0.3.8}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -63,13 +63,13 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
||||
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" 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 LICENSE NEWS.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -av 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 {} \+
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="sphinx-last-updated-by-git"
|
||||
VERSION="0.3.5"
|
||||
VERSION="0.3.8"
|
||||
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="https://github.com/mgeier/sphinx-last-updated-by-git/archive/0.3.8/sphinx-last-updated-by-git-0.3.8.tar.gz"
|
||||
MD5SUM="4aba794de45615fc8e29dfa5cf6d8ee0"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue