Date: Wednesday, April 5, 2023 @ 17:24:10
Author: felixonmars
Revision: 1437817
archrelease: copy trunk to community-staging-any
Added:
python-sphinx/repos/community-staging-any/
python-sphinx/repos/community-staging-any/PKGBUILD
(from rev 1437816, python-sphinx/trunk/PKGBUILD)
python-sphinx/repos/community-staging-any/keys/
----------+
PKGBUILD | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
Copied: python-sphinx/repos/community-staging-any/PKGBUILD (from rev 1437816,
python-sphinx/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-05 17:24:10 UTC (rev 1437817)
@@ -0,0 +1,63 @@
+# Maintainer: Johannes Löthberg <[email protected]>
+# Maintainer: Daniel M. Capella <[email protected]>
+# Contributor: Sébastien Luttringer
+# Contributor: Angel Velasquez <[email protected]>
+# Contributor: Fabio Volpe <[email protected]>
+
+pkgname=python-sphinx
+pkgver=6.1.3
+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-packaging'
+ 'python-pygments'
+ 'python-requests'
+ 'python-snowballstemmer'
+ 'python-sphinx-alabaster-theme'
+
'python-sphinxcontrib-'{{apple,dev,html}help,jsmath,qthelp,serializinghtml})
+makedepends=('python-build' 'python-flit-core' 'python-installer')
+checkdepends=('cython'
+ 'imagemagick' 'librsvg'
+ 'python-html5lib'
+ 'python-pytest'
+ 'python-setuptools'
+ '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=('0dac3b698538ffef41716cf97ba26c1c7788dba73ce6f150c1ff5b4720786dd2'
+ 'SKIP')
+b2sums=('afde63c5a001a80c77233501de0033525195a84bf1f3bf1d9a0fee27477e18c7c71cf43f88e36a19a0ad2606d70f9eff439205eed654f72daa50a6ce6b60c16b'
+ 'SKIP')
+validpgpkeys=('8A11B79A5D0D749A66F0A030102C2C17498D6B9E' # Takeshi KOMIYA
<[email protected]>
+ 'E9BEABB07E7B9CC3F56E62C91425F8CE5EBA0E07' # Takayuki
Shimizukawa <[email protected]>
+ 'D3549119BD51B4AFE643E59752C8F72A61F0FB52') # Adam Turner
<[email protected]>
+
+build() {
+ cd Sphinx-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+ cd Sphinx-$pkgver
+ LC_ALL="en_US.UTF-8" python -X dev -X warn_default_encoding -m pytest -v
+}
+
+package() {
+ cd Sphinx-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+
+ # Symlink license file
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -s "$site_packages"/sphinx-$pkgver.dist-info/LICENSE \
+ "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et: