| @@ -1,30 +1,30 @@ | | | @@ -1,30 +1,30 @@ |
1 | # $NetBSD: Makefile,v 1.22 2022/01/07 16:25:10 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.23 2022/01/27 08:37:57 adam Exp $ |
2 | | | 2 | |
3 | DISTNAME= httpx-0.21.3 | | 3 | DISTNAME= httpx-0.22.0 |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} | | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME} |
5 | CATEGORIES= www python | | 5 | CATEGORIES= www python |
6 | MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpx/} | | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpx/} |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://github.com/encode/httpx | | 9 | HOMEPAGE= https://github.com/encode/httpx |
10 | COMMENT= The next generation HTTP client | | 10 | COMMENT= The next generation HTTP client |
11 | LICENSE= modified-bsd | | 11 | LICENSE= modified-bsd |
12 | | | 12 | |
13 | DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi | | 13 | DEPENDS+= ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi |
14 | DEPENDS+= ${PYPKGPREFIX}-charset-normalizer-[0-9]*:../../converters/py-charset-normalizer | | 14 | DEPENDS+= ${PYPKGPREFIX}-charset-normalizer-[0-9]*:../../converters/py-charset-normalizer |
15 | DEPENDS+= ${PYPKGPREFIX}-httpcore>=0.14.0:../../www/py-httpcore | | 15 | DEPENDS+= ${PYPKGPREFIX}-httpcore>=0.14.5:../../www/py-httpcore |
16 | DEPENDS+= ${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986 | | 16 | DEPENDS+= ${PYPKGPREFIX}-rfc3986>=1.3:../../www/py-rfc3986 |
17 | DEPENDS+= ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio | | 17 | DEPENDS+= ${PYPKGPREFIX}-sniffio-[0-9]*:../../misc/py-sniffio |
18 | | | 18 | |
19 | USE_LANGUAGES= # none | | 19 | USE_LANGUAGES= # none |
20 | | | 20 | |
21 | PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-httpcore, py-anyio, py-uvloop | | 21 | PYTHON_VERSIONS_INCOMPATIBLE= 27 |
22 | | | 22 | |
23 | USE_PKG_RESOURCES= yes | | 23 | USE_PKG_RESOURCES= yes |
24 | | | 24 | |
25 | post-install: | | 25 | post-install: |
26 | cd ${DESTDIR}${PREFIX}/bin && \ | | 26 | cd ${DESTDIR}${PREFIX}/bin && \ |
27 | ${MV} httpx httpx-${PYVERSSUFFIX} || ${TRUE} | | 27 | ${MV} httpx httpx-${PYVERSSUFFIX} || ${TRUE} |
28 | | | 28 | |
29 | .include "../../lang/python/egg.mk" | | 29 | .include "../../lang/python/egg.mk" |
30 | .include "../../mk/bsd.pkg.mk" | | 30 | .include "../../mk/bsd.pkg.mk" |