# Template file for 'python3-pytest-httpbin' pkgname=python3-pytest-httpbin version=2.0.0 revision=1 build_style=python3-pep517 hostmakedepends="python3-setuptools" depends="python3-pytest python3-httpbin" checkdepends="$depends" short_desc="Easily test your HTTP library against a local copy of httpbin.org" maintainer="Gonzalo TornarĂ­a " license="MIT" homepage="https://github.com/kevin1024/pytest-httpbin" distfiles="${PYPI_SITE}/p/pytest-httpbin/pytest-httpbin-${version}.tar.gz" checksum=3e739cad9b8f8df58952df7329d9295fe17449d3a647f49c4ce634fd81d71b8e make_check=extended # avoid a circular dependency if [ "$XBPS_CHECK_PKGS" = full ]; then # this would cause a build-time circular dependency checkdepends+=" python3-requests" fi post_install() { # Extract license from README sed -ne '/^## License/,$ p' README.md > LICENSE vlicense LICENSE }