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

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 9 02:20:04 UTC 2021


    Date: Thursday, December 9, 2021 @ 02:20:04
  Author: foutrelis
Revision: 1065774

upgpkg: python-pep621 0.4.0-3: re-enable docs

Modified:
  python-pep621/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-09 02:18:58 UTC (rev 1065773)
+++ PKGBUILD	2021-12-09 02:20:04 UTC (rev 1065774)
@@ -2,7 +2,7 @@
 
 pkgname=python-pep621
 pkgver=0.4.0
-pkgrel=2
+pkgrel=3
 pkgdesc='PEP 621 metadata parsing'
 arch=('any')
 url='https://github.com/FFY00/python-pep621'
@@ -23,7 +23,7 @@
 
   python setup.py build
 
-  #PYTHONPATH=. sphinx-build -b dirhtml -v docs docs/build/html
+  PYTHONPATH=. sphinx-build -b dirhtml -v docs docs/build/html
 }
 
 check() {
@@ -38,9 +38,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