mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/numpydoc: Downgrade to 1.6.0 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
4f47fc53d7
commit
482b1e6b1f
3 changed files with 10 additions and 23 deletions
|
@ -2,3 +2,6 @@ Sphinx extension to support docstrings in Numpy format.
|
|||
Numpy's documentation uses several custom extensions to Sphinx.
|
||||
These are shipped in this numpydoc package, in case you want to
|
||||
make use of them in third-party projects.
|
||||
|
||||
numpydoc 1.6.0 is the last available version for Slackware 15.0. Newer
|
||||
versions require Sphinx >= 6.
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# Slackware build script for numpydoc
|
||||
|
||||
# Copyright 2015-2024 Dimitris Zlatanidis Orestiada, Greece
|
||||
# Copyright 2024 Isaac Yu <isaacyu@protonmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,7 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=numpydoc
|
||||
VERSION=${VERSION:-1.7.0}
|
||||
VERSION=${VERSION:-1.6.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -38,9 +39,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 +48,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
|
||||
|
||||
rm -rf $PKG
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="numpydoc"
|
||||
VERSION="1.7.0"
|
||||
VERSION="1.6.0"
|
||||
HOMEPAGE="https://github.com/numpy/numpydoc"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/76/69/d745d43617a476a5b5fb7f71555eceaca32e23296773c35decefa1da5463/numpydoc-1.7.0.tar.gz"
|
||||
MD5SUM="7018ef86ed43dccaeb743127a2b3f542"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/n/numpydoc/numpydoc-1.6.0.tar.gz"
|
||||
MD5SUM="227e5a257f4bfe488a257d963c2df5bc"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="python3-setuptools-opt Sphinx python3-tabulate"
|
||||
MAINTAINER="Dimitris Zlatanidis"
|
||||
EMAIL="dslackw@gmail.com"
|
||||
MAINTAINER="Isaac Yu"
|
||||
EMAIL="isaacyu@protonmail.com"
|
||||
|
|
Loading…
Reference in a new issue