From fd1198876751a9fe413a5d2bc25f564bed905d4f Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 10 Jul 2022 20:01:53 +0000 Subject: [PATCH] py-test-httpbin: update to 1.0.1. * fix redirect Location to have "https://" scheme (thanks @immerrr) * Include regression tests in PyPI tarball by (thanks @kmosiejczuk) --- www/py-test-httpbin/Makefile | 14 ++++++++++---- www/py-test-httpbin/distinfo | 8 ++++---- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/www/py-test-httpbin/Makefile b/www/py-test-httpbin/Makefile index 6358a5defede..d4f6e63fab23 100644 --- a/www/py-test-httpbin/Makefile +++ b/www/py-test-httpbin/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2022/01/04 20:55:36 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2022/07/10 20:01:53 wiz Exp $ -DISTNAME= pytest-httpbin-1.0.0 +DISTNAME= pytest-httpbin-1.0.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} -PKGREVISION= 1 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-httpbin/} @@ -13,11 +12,18 @@ LICENSE= mit DEPENDS+= ${PYPKGPREFIX}-httpbin-[0-9]*:../../www/py-httpbin DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six -DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +# py-requests uses py-test-httpbin for testing, avoid circular reference +#TEST_DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-httpbin +# This is not enough; package needs to be installed for testing +#TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-test-httpbin/distinfo b/www/py-test-httpbin/distinfo index 6d953d6a085e..b6e26911ba29 100644 --- a/www/py-test-httpbin/distinfo +++ b/www/py-test-httpbin/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.6 2021/10/26 11:30:49 nia Exp $ +$NetBSD: distinfo,v 1.7 2022/07/10 20:01:53 wiz Exp $ -BLAKE2s (pytest-httpbin-1.0.0.tar.gz) = 434702a78bb1ef70e89901b2e044923463337c23895e27b0aea02c5c38c0f94b -SHA512 (pytest-httpbin-1.0.0.tar.gz) = 5e890de7f90917c81ea99f5389ff955bc751a8852ced33dc16a4b950ed8966807af58e8ddee5f285e1c94254d90c07f51be619747631bb684a9123746f295d7f -Size (pytest-httpbin-1.0.0.tar.gz) = 12244 bytes +BLAKE2s (pytest-httpbin-1.0.1.tar.gz) = 7b8cef3d5dc08c448175be40eae4cb0fe240161f2d22bf84b4cb29ab232ec87c +SHA512 (pytest-httpbin-1.0.1.tar.gz) = 3c2589e309bf34dd623051ce15cf09ccb23e7a11c160ed40f2379f11fb54618d77f03c9100faae1755f9a58c402ac10798f1c0ea28e11ff86408e2c2aaf82f15 +Size (pytest-httpbin-1.0.1.tar.gz) = 14482 bytes