diff options
| author | Charlie Li <vishwin@FreeBSD.org> | 2025-10-19 01:55:50 -0400 |
|---|---|---|
| committer | Charlie Li <vishwin@FreeBSD.org> | 2025-10-19 01:55:50 -0400 |
| commit | a930dbb866870ef9787712d05289c40b2f2c30c6 (patch) | |
| tree | f23e4980740d2d60c49287779a953f447b81bad8 | |
| parent | net/dshell: Update to 3.2.3 (diff) | |
net/py-urllib3: allow building with devel/py-setuptools-scm 9
Adjust upper bound to currently (as of this commit) nonexistent 10.
https://github.com/urllib3/urllib3/pull/3682
Reported by: John Hein
PR: 290354
| -rw-r--r-- | net/py-urllib3/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/py-urllib3/Makefile b/net/py-urllib3/Makefile index 9fedb9a73a50..e7a67742b218 100644 --- a/net/py-urllib3/Makefile +++ b/net/py-urllib3/Makefile @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.4.0<0.6.0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=1.6.0<2:devel/py-hatchling@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8<9:devel/py-setuptools-scm@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8<10:devel/py-setuptools-scm@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}brotli>=1.0.9:archivers/py-brotli@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}h2>=4<5:www/py-h2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}httpx>=0.28.1:www/py-httpx@${PY_FLAVOR} \ @@ -50,4 +50,8 @@ H2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}h2>=4<5:www/py-h2@${PY_FLAVOR} SOCKS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.6<2.0:net/py-pysocks@${PY_FLAVOR} ZSTD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zstandard>=0.18.0:archivers/py-zstandard@${PY_FLAVOR} +post-patch: + # https://github.com/urllib3/urllib3/pull/3682 + @${REINPLACE_CMD} -e 's|setuptools-scm>=8,<9|setuptools-scm>=8,<10|' ${WRKSRC}/pyproject.toml + .include <bsd.port.mk> |
