diff options
Diffstat (limited to 'www/py-httpie/Makefile')
-rw-r--r-- | www/py-httpie/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/www/py-httpie/Makefile b/www/py-httpie/Makefile index fc177193507..6134f8c0be7 100644 --- a/www/py-httpie/Makefile +++ b/www/py-httpie/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.12 2022/01/05 15:41:30 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2022/03/09 16:06:52 wiz Exp $ -DISTNAME= httpie-2.6.0 +DISTNAME= httpie-3.1.0 PKGNAME= ${PYPKGPREFIX}-${EGG_NAME} -PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpie/} @@ -14,17 +13,25 @@ LICENSE= original-bsd DEPENDS+= ${PYPKGPREFIX}-charset-normalizer>=2.0.0:../../converters/py-charset-normalizer DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses DEPENDS+= ${PYPKGPREFIX}-defusedxml>=0.6.0:../../textproc/py-defusedxml +DEPENDS+= ${PYPKGPREFIX}-multidict>=4.7.0:../../databases/py-multidict DEPENDS+= ${PYPKGPREFIX}-pygments>=2.5.2:../../textproc/py-pygments DEPENDS+= ${PYPKGPREFIX}-requests>=2.22.0:../../devel/py-requests DEPENDS+= ${PYPKGPREFIX}-requests-toolbelt>=0.9.1:../../devel/py-requests-toolbelt TEST_DEPENDS+= ${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpbin-[0-9]*:../../www/py-test-httpbin +TEST_DEPENDS+= ${PYPKGPREFIX}-test-lazy-fixture>=0.0.6:../../devel/py-test-lazy-fixture USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +.include "../../lang/python/pyversion.mk" + +.if ${PYPKGPREFIX} == "py37" +DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=1.4.0:../../devel/py-importlib-metadata +.endif + USE_PKG_RESOURCES= yes post-install: @@ -33,6 +40,8 @@ post-install: ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} .endfor +# test status as of 3.1.0 +# 12 failed, 966 passed, 6 skipped, 1 xfailed, 327 warnings do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} |