python3-pytest-httpbin: update to 2.0.0, adopt.

This commit is contained in:
Gonzalo Tornaría 2024-08-03 23:37:30 -03:00 committed by Andrew J. Hesford
parent 9434265ff5
commit e806b2111e
1 changed files with 13 additions and 6 deletions

View File

@ -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 <orphan@voidlinux.org>"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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