Date: Monday, November 9, 2020 @ 12:30:11
  Author: foutrelis
Revision: 746874

Disable docs for Python 3.9 rebuild

Modified:
  python-pygments/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-11-09 12:25:15 UTC (rev 746873)
+++ PKGBUILD    2020-11-09 12:30:11 UTC (rev 746874)
@@ -19,7 +19,7 @@
 
 build() {
   cd "$srcdir/Pygments-$pkgver"
-  make -C doc html
+  #make -C doc html  # Sphinx not usable yet, this early into the py39 rebuild
 }
 
 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"
 }

Reply via email to