# Template file for 'python3-pygccxml' pkgname=python3-pygccxml version=2.2.1 revision=3 build_style=python3-module hostmakedepends="python3-setuptools python3-Sphinx python3-sphinx_rtd_theme" depends="CastXML which" checkdepends="${depends} python3-pycodestyle python3-pytest" short_desc="Python package for easy C++ declarations navigation" maintainer="Evgeny Ermakov " license="BSL-1.0" homepage="https://github.com/CastXML/pygccxml" distfiles="https://github.com/CastXML/pygccxml/archive/v${version}.tar.gz" checksum=9815a12e3bf6b83b2e9d8c88335fb3fa0e2b4067d7fbaaed09c3bf26c6206cc7 if [ ${XBPS_TARGET_MACHINE%-musl} = "i686" ]; then make_check=no # See https://github.com/CastXML/pygccxml/issues/150 fi post_extract() { # Fails: ModuleNotFoundError: No module named 'hotshot'. rm unittests/misc/test_performance.py } post_build() { make man } post_install() { vman docs/_build/man/pygccxml.1 }