2020-04-28 03:14:20 +02:00
|
|
|
# Description: the Sphinx documentaion generator
|
|
|
|
# URL: http://www.sphinx-doc.org/
|
|
|
|
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
|
2020-08-16 09:48:07 +02:00
|
|
|
# Depends on: docutils python3-alabaster python3-imagesize python3-jinja python3-packaging python3-pygments python3-requests python3-snowballstemmer python3-sphinxcontrib-applehelp python3-sphinxcontrib-devhelp python3-sphinxcontrib-htmlhelp python3-sphinxcontrib-jsmath python3-sphinxcontrib-qthelp python3-sphinxcontrib-serializinghtml python3-sphinxcontrib-websupport
|
2020-04-28 03:14:20 +02:00
|
|
|
|
|
|
|
name=python3-sphinx
|
2021-01-07 15:30:25 +01:00
|
|
|
version=3.4.2
|
2020-04-28 03:14:20 +02:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/sphinx-doc/${name#*-}/archive/v$version/${name#*-}-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name#*-}-$version
|
|
|
|
|
|
|
|
sed -i -e '/^tag_build = .*/d' -e 's,^\(tag_date =\).*$,\1 false,' setup.cfg
|
|
|
|
|
|
|
|
/usr/bin/python3 setup.py build
|
2020-11-10 09:20:56 +01:00
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1 --skip-build
|
2020-04-28 03:14:20 +02:00
|
|
|
|
|
|
|
# fix permissions
|
|
|
|
chmod -R go-w $PKG/*
|
|
|
|
}
|