Skip to content
Snippets Groups Projects
Verified Commit badb1c06 authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

Revert "Skip building docs for bootstrapping"

This reverts commit 666db7dc.
parent 61ef6369
No related branches found
No related tags found
Loading
......@@ -9,7 +9,7 @@ arch=('any')
url="https://pygments.org/"
license=('BSD-2-Clause')
depends=('python')
makedepends=('python-setuptools' 'python-wcag-contrast-ratio'
makedepends=('python-setuptools' 'python-sphinx' 'python-wcag-contrast-ratio'
'python-build' 'python-installer' 'python-wheel'
'python-hatchling')
checkdepends=('python-pytest' 'python-lxml')
......@@ -22,7 +22,7 @@ sha256sums=('786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199')
build() {
cd pygments-$pkgver
python -m build --wheel --no-isolation
# make -C doc html
make -C doc html
}
check() {
......@@ -36,11 +36,11 @@ package() {
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
# mkdir -p "$pkgdir/usr/share/doc"
# cp -rT doc/_build/html "$pkgdir/usr/share/doc/$pkgname"
# install -Dm644 doc/pygmentize.1 -t "$pkgdir/usr/share/man/man1"
# install -Dm644 external/pygments.bashcomp \
# "$pkgdir/usr/share/bash-completion/completions/pygmentize"
mkdir -p "$pkgdir/usr/share/doc"
cp -rT doc/_build/html "$pkgdir/usr/share/doc/$pkgname"
install -Dm644 doc/pygmentize.1 -t "$pkgdir/usr/share/man/man1"
install -Dm644 external/pygments.bashcomp \
"$pkgdir/usr/share/bash-completion/completions/pygmentize"
}
# vim:set ts=2 sw=2 et:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment