# Template file for 'python3-pytest-httpbin'
pkgname=python3-pytest-httpbin
version=1.0.2
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pytest python3-httpbin"
short_desc="Easily test your HTTP library against a local copy of httpbin.org"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="MIT"
homepage="https://github.com/kevin1024/pytest-httpbin"
distfiles="${PYPI_SITE}/p/pytest-httpbin/pytest-httpbin-${version}.tar.gz"
checksum=52c9d3f75f8f43f1488b5a0be321eeca3cc5f0fae0c85445ece66bd53c95fe0e
make_check=no # cycle: needs python3-requests which has this package in checkdepends

post_install() {
	# Extract license from README
	sed -ne '/^## License/,$ p' README.md > LICENSE
	vlicense LICENSE
}
