🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
pkgname: python-sphinx
pkgver: '9.1.0'
pkgrel: '1'
pkgdesc: Python documentation generator
url: 'https://www.sphinx-doc.org/'
arch: x86_64
depends: []
makedepends:
- python-build
- python-installer
- python-flit-core
- python-setuptools
- python-wheel
- python-docutils
- python-jinja
- python-packaging
- python-pygments
- python-requests
- python-babel
- python-sphinx-alabaster-theme
- python-sphinxcontrib-applehelp
- python-sphinxcontrib-devhelp
- python-sphinxcontrib-htmlhelp
- python-sphinxcontrib-jsmath
- python-sphinxcontrib-qthelp
- python-roman-numerals-py
- python-sphinxcontrib-serializinghtml
- python-imagesize
- python-snowballstemmer
source:
- 'https://pypi.org/packages/source/s/sphinx/sphinx-${pkgver}.tar.gz'
sha256sums:
- 7741722357dd75f8190766926071fed3bdc211c74dd2d7d4df5404da95930ddb
build: |
localedef -i en_US -f UTF-8 en_US.UTF-8
export LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
bsdtar -xf ./sphinx-${pkgver}.tar.gz -C .
cd sphinx-${pkgver}
sed -e 's/0.22/0.23/' -i pyproject.toml
python -m build --wheel --no-isolation
python -m installer --destdir="${PKGDIR}" dist/*.whl
find "${PKGDIR}" -type d \( -name vendor -o -name tests \) -exec rm -rf {} +
package: |
true