33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# Template file for 'python-Sphinx'
|
|
pkgname=python-Sphinx
|
|
version=1.8.5
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="Sphinx-${version}"
|
|
build_style=python2-module
|
|
pycompile_module="sphinx"
|
|
hostmakedepends="python-setuptools"
|
|
depends="python-setuptools python-docutils python-Jinja2 python-Pygments
|
|
python-six python-Babel python-alabaster python-snowballstemmer python-imagesize
|
|
python-requests python-packaging python-sphinxcontrib-websupport python-typing"
|
|
short_desc="Python 2 documentation generator"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-2-Clause"
|
|
homepage="http://sphinx-doc.org/"
|
|
distfiles="${PYPI_SITE}/S/Sphinx/Sphinx-${version}.tar.gz"
|
|
checksum=c7658aab75c920288a8cf6f09f244c6cfdae30d82d803ac1634d9f223a80ca08
|
|
|
|
alternatives="
|
|
sphinx:sphinx-apidoc:/usr/bin/sphinx-apidoc2
|
|
sphinx:sphinx-autogen:/usr/bin/sphinx-autogen2
|
|
sphinx:sphinx-build:/usr/bin/sphinx-build2
|
|
sphinx:sphinx-quickstart:/usr/bin/sphinx-quickstart2"
|
|
|
|
post_install() {
|
|
mv ${DESTDIR}/usr/bin/sphinx-apidoc ${DESTDIR}/usr/bin/sphinx-apidoc2
|
|
mv ${DESTDIR}/usr/bin/sphinx-autogen ${DESTDIR}/usr/bin/sphinx-autogen2
|
|
mv ${DESTDIR}/usr/bin/sphinx-build ${DESTDIR}/usr/bin/sphinx-build2
|
|
mv ${DESTDIR}/usr/bin/sphinx-quickstart ${DESTDIR}/usr/bin/sphinx-quickstart2
|
|
vlicense LICENSE
|
|
}
|