[arch-commits] Commit in python-build/trunk (PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 9 02:18:54 UTC 2021


    Date: Thursday, December 9, 2021 @ 02:18:54
  Author: foutrelis
Revision: 1065772

upgpkg: python-build 0.7.0-4: re-enable docs

Modified:
  python-build/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-09 02:18:29 UTC (rev 1065771)
+++ PKGBUILD	2021-12-09 02:18:54 UTC (rev 1065772)
@@ -3,7 +3,7 @@
 _pkgname=build
 pkgname=python-$_pkgname
 pkgver=0.7.0
-pkgrel=3
+pkgrel=4
 pkgdesc='A simple, correct PEP517 package builder'
 arch=('any')
 url='https://github.com/pypa/build'
@@ -22,7 +22,7 @@
 
   python setup.py build
 
-  #PYTHONPATH=src sphinx-build -b dirhtml -v docs docs/build/html
+  PYTHONPATH=src sphinx-build -b dirhtml -v docs docs/build/html
 }
 
 check() {
@@ -37,9 +37,9 @@
   python setup.py install --root="$pkgdir" --skip-build
   python -m compileall --invalidation-mode=checked-hash "$pkgdir"
 
-  #install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
-  #cp -r -a --no-preserve=ownership docs/build/html "$pkgdir"/usr/share/doc/$pkgname
-  #rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees
+  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
+  cp -r -a --no-preserve=ownership docs/build/html "$pkgdir"/usr/share/doc/$pkgname
+  rm -rf "$pkgdir"/usr/share/doc/$pkgname/html/.doctrees
 
   install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list