b4 icon indicating copy to clipboard operation
b4 copied to clipboard

version 0.14.0 does not build the manpage

Open christian-heusel opened this issue 1 year ago • 2 comments

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
}

christian-heusel avatar Jun 15 '24 16:06 christian-heusel

3cfb91a071cd3b029d9ebc4e92383236c4c9cee0 looks related 🤔

christian-heusel avatar Jun 15 '24 17:06 christian-heusel

There isn't really a straightforward mechanism to "build" manpages with pyproject.toml. I'm happy if someone can show me the best approach.

mricon avatar Jun 15 '24 19:06 mricon