Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / 
python-build


Commits:
ec4a36a5 by Daniel M. Capella at 2023-09-03T22:24:39-04:00
upgpkg: 1.0.0-1

Sphinx OUTPUTDIR moved elsewhere otherwise sdist test fails.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -3,19 +3,19 @@
 
 _pkgname=build
 pkgname=python-$_pkgname
-pkgver=0.10.0
-pkgrel=4
-pkgdesc='A simple, correct PEP 517 build frontend'
+pkgver=1.0.0
+pkgrel=1
+pkgdesc='A simple, correct Python packaging build frontend'
 arch=('any')
 url='https://github.com/pypa/build'
 license=('MIT')
 depends=('python-packaging' 'python-pyproject-hooks')
 optdepends=('python-virtualenv: Use virtualenv for build isolation')
 makedepends=('git' 'python-build' 'python-flit-core' 'python-installer'
-             'python-sphinx' 'python-sphinx-argparse-cli' 
'python-sphinx-autodoc-typehints' 'python-sphinx-furo')
-checkdepends=('python-pytest' 'python-pytest-mock' 
'python-pytest-rerunfailures' 'python-filelock' 'python-setuptools' 
'python-toml' 'python-wheel')
-source=("git+$url#tag=$pkgver?signed")
-validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns 
(FFY00) <[email protected]>
+             'python-sphinx' 'python-sphinx-argparse-cli' 
'python-sphinx-autodoc-typehints' 'python-sphinx-furo' 'python-sphinx-issues')
+checkdepends=('python-pytest' 'python-pytest-mock' 
'python-pytest-rerunfailures' 'python-filelock' 'python-setuptools' 
'python-wheel')
+source=("git+$url#tag=$pkgver")
+#validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns 
(FFY00) <[email protected]>
 sha512sums=('SKIP')
 
 build() {
@@ -23,7 +23,7 @@ build() {
 
   python -m build --wheel --skip-dependency-check --no-isolation
 
-  PYTHONPATH=src sphinx-build -b dirhtml -v docs docs/build/html
+  PYTHONPATH=src sphinx-build -b dirhtml -v docs docs-output
 }
 
 check() {
@@ -37,9 +37,8 @@ package() {
 
   python -m installer --destdir="$pkgdir" dist/*.whl
 
-  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 -d "$pkgdir"/usr/share/doc/$pkgname
+  cp -r docs-output/* "$pkgdir"/usr/share/doc/$pkgname
 
   # Symlink license file
   local site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-build/-/commit/ec4a36a543474ae31171b507884bcbf102bf9523

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-build/-/commit/ec4a36a543474ae31171b507884bcbf102bf9523
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to