Date: Saturday, October 26, 2019 @ 04:11:13 Author: foutrelis Revision: 519926
archrelease: copy trunk to community-staging-any Added: python-sphinx/repos/community-staging-any/ python-sphinx/repos/community-staging-any/PKGBUILD (from rev 519925, python-sphinx/trunk/PKGBUILD) ----------+ PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) Copied: python-sphinx/repos/community-staging-any/PKGBUILD (from rev 519925, python-sphinx/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-26 04:11:13 UTC (rev 519926) @@ -0,0 +1,53 @@ +# Maintainer: Johannes Löthberg <johan...@kyriasis.com> +# Maintainer: Daniel M. Capella <poly...@archlinux.org> +# Contributor: Sébastien Luttringer +# Contributor: Angel Velasquez <an...@archlinux.org> +# Contributor: Fabio Volpe <volpefa...@gmail.com> + +pkgname=python-sphinx +pkgver=2.2.0 +pkgrel=2 +pkgdesc='Python documentation generator' +arch=('any') +url=http://www.sphinx-doc.org/ +license=('BSD') +depends=('python-babel' + 'python-docutils' + 'python-imagesize' + 'python-jinja' + 'python-pygments' + 'python-requests' + 'python-setuptools' + 'python-snowballstemmer' + 'python-sphinx-alabaster-theme' + 'python-sphinxcontrib-'{{apple,dev,html}help,jsmath,qthelp,serializinghtml}) +checkdepends=('imagemagick' 'librsvg' + 'python-html5lib' + 'python-pytest' + 'texlive-fontsextra' 'texlive-latexextra') +optdepends=('imagemagick: for ext.imgconverter' + 'texlive-latexextra: for generation of PDF documentation') +source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz"{,.asc}) +sha256sums=('0d586b0f8c2fc3cc6559c5e8fd6124628110514fda0e5d7c82e682d749d2e845' + 'SKIP') +validpgpkeys=('8A11B79A5D0D749A66F0A030102C2C17498D6B9E' # Takeshi KOMIYA + 'E9BEABB07E7B9CC3F56E62C91425F8CE5EBA0E07') # Takayuki Shimizukawa + +build() { + cd Sphinx-$pkgver + make build +} + +check() { + cd Sphinx-$pkgver + LC_ALL="en_US.UTF-8" make test + rm -r tests +} + +package() { + cd Sphinx-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +} + +# vim:set ts=2 sw=2 et: