diff --git a/srcpkgs/python3-pytest-httpbin/template b/srcpkgs/python3-pytest-httpbin/template index bb2ab2c9403..6da49672890 100644 --- a/srcpkgs/python3-pytest-httpbin/template +++ b/srcpkgs/python3-pytest-httpbin/template @@ -1,17 +1,24 @@ # Template file for 'python3-pytest-httpbin' pkgname=python3-pytest-httpbin -version=1.0.2 -revision=3 -build_style=python3-module +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="Orphaned " +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=52c9d3f75f8f43f1488b5a0be321eeca3cc5f0fae0c85445ece66bd53c95fe0e -make_check=no # cycle: needs python3-requests which has this package in checkdepends +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