diff options
author | Universebenzene | 2023-05-26 12:27:55 +0800 |
---|---|---|
committer | Universebenzene | 2023-05-26 12:27:55 +0800 |
commit | bd5aff4f2311bc5035d8a33efc8e6cb713e2ea98 (patch) | |
tree | 23dd2328d62cc4f4e8b1a0b239c2b4ceeffe860b | |
parent | b1ad4082001697a83b3edb4c7e426104f2072273 (diff) | |
download | aur-python-echo.tar.gz |
Fix py3.11 build
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -35,9 +35,7 @@ build() { # python -m build --wheel --no-isolation msg "Building Docs" - python setup.py build_sphinx -# cd ${srcdir}/${_pyname}-${pkgver}/doc -# PYTHONPATH="../build/lib" make SPHINXOPTS="" html + PYTHONPATH="../build/lib" make SPHINXOPTS="" -C doc html } @@ -61,7 +59,7 @@ package_python-echo() { package_python-echo-doc() { pkgdesc="Documentation for Python echo module" - cd ${srcdir}/${_pyname}-${pkgver}/build/sphinx + cd ${srcdir}/${_pyname}-${pkgver}/doc/_build install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" ../../LICENSE install -d -m755 "${pkgdir}/usr/share/doc/${pkgbase}" |