git: 20b94ee4f7d3 - main - devel/py-types-urllib3: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Aug 2025 18:18:19 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=20b94ee4f7d3221b525c63124918e273e363edc9
commit 20b94ee4f7d3221b525c63124918e273e363edc9
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-08-12 17:59:00 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-08-12 18:15:46 +0000
devel/py-types-urllib3: Convert to USE_PYTHON=pep517
- Update WWW
- Update pkg-descr
- Bump PORTREVISION for package change
- Take maintainership
---
devel/py-types-urllib3/Makefile | 14 +++++++-------
devel/py-types-urllib3/pkg-descr | 6 +++---
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/devel/py-types-urllib3/Makefile b/devel/py-types-urllib3/Makefile
index 17b49f3b7fec..1144fe2debf9 100644
--- a/devel/py-types-urllib3/Makefile
+++ b/devel/py-types-urllib3/Makefile
@@ -1,22 +1,22 @@
PORTNAME= types-urllib3
PORTVERSION= 1.26.25.14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Typing stubs for urllib3
-WWW= https://pypi.org/project/types-urllib3/
+WWW= https://github.com/python/typeshed/tree/main/stubs/urllib3
LICENSE= APACHE20
-# TODO: deprecate as soon as py-urllib3 is updated to 2.x
-# DEPRECATED= No longer needed, type annotations are now available in urllib3 module
-# EXPIRATION_DATE= 2023-05-01
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist distutils
+USE_PYTHON= autoplist concurrent pep517
+
NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/devel/py-types-urllib3/pkg-descr b/devel/py-types-urllib3/pkg-descr
index 637b6ecad4ec..944e822ef9a6 100644
--- a/devel/py-types-urllib3/pkg-descr
+++ b/devel/py-types-urllib3/pkg-descr
@@ -1,3 +1,3 @@
-This is a PEP 561 type stub package for the `urllib3` package.
-It can be used by type-checking tools like mypy, PyCharm, pytype
-etc. to check code that uses `urllib3`.
+This is a PEP 561 type stub package for the urllib3 package. It can be used by
+type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code that
+uses urllib3.