[arch-commits] Commit in python-pygments/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 15:04:24 UTC 2020
Date: Monday, November 9, 2020 @ 15:04:23
Author: foutrelis
Revision: 746957
Re-enable docs
Modified:
python-pygments/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-09 14:57:11 UTC (rev 746956)
+++ PKGBUILD 2020-11-09 15:04:23 UTC (rev 746957)
@@ -19,7 +19,7 @@
build() {
cd "$srcdir/Pygments-$pkgver"
- #make -C doc html # Sphinx not usable yet, this early into the py39 rebuild
+ make -C doc html
}
check() {
@@ -34,9 +34,9 @@
python3 setup.py install --root="$pkgdir" -O1
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"
+ 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"
}
More information about the arch-commits
mailing list