b4
b4 copied to clipboard
version 0.14.0 does not build the manpage
Hello everyone 👋🏻
With version 0.13.0 The manpage was automatically built and installed as part of the wheel:
$ pacman -Qlp /home/custompkgs/b4-0.13.0-1-any.pkg.tar.zst | grep "/man"
b4 /usr/share/man/
b4 /usr/share/man/man5/
b4 /usr/share/man/man5/b4.5.gz
While with version 0.14.0 this is not the case anymore:
$ pacman -Qlp /home/custompkgs/b4-0.14.0-1-any.pkg.tar.zst | grep "/man"
b4 /usr/lib/python3.12/site-packages/b4/man/
b4 /usr/lib/python3.12/site-packages/b4/man/b4.5.rst
We're just doing a PEP517 based install (see this link for the full build instructions):
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
3cfb91a071cd3b029d9ebc4e92383236c4c9cee0 looks related 🤔
There isn't really a straightforward mechanism to "build" manpages with pyproject.toml. I'm happy if someone can show me the best approach.