git: a789f0ab7533 - main - devel/py-types-requests: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Aug 2025 18:18:16 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a789f0ab75337e7bca998e7915d69a83da5ee7e0
commit a789f0ab75337e7bca998e7915d69a83da5ee7e0
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-08-12 17:58:54 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-08-12 18:15:45 +0000
devel/py-types-requests: Convert to USE_PYTHON=pep517
- Update WWW
- Update pkg-descr
- Bump PORTREVISION for package change
- Take maintainership
---
devel/py-types-requests/Makefile | 11 +++++++----
devel/py-types-requests/pkg-descr | 6 +++---
2 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/devel/py-types-requests/Makefile b/devel/py-types-requests/Makefile
index fbf9a1da794e..4f0d7396618d 100644
--- a/devel/py-types-requests/Makefile
+++ b/devel/py-types-requests/Makefile
@@ -1,20 +1,23 @@
PORTNAME= types-requests
PORTVERSION= 2.31.0.6
-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 requests
-WWW= https://pypi.org/project/types-requests/
+WWW= https://github.com/python/typeshed/tree/main/stubs/requests
LICENSE= APACHE20
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}types-urllib3>=0:devel/py-types-urllib3@${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-requests/pkg-descr b/devel/py-types-requests/pkg-descr
index 93fe13d72b0a..5206796037ba 100644
--- a/devel/py-types-requests/pkg-descr
+++ b/devel/py-types-requests/pkg-descr
@@ -1,3 +1,3 @@
-This is a PEP 561 type stub package for the `requests` package.
-It can be used by type-checking tools like mypy, PyCharm, pytype
-etc. to check code that uses `requests`.
+This is a PEP 561 type stub package for the requests package. It can be used by
+type-checking tools like mypy, pyright, pytype, Pyre, PyCharm, etc. to check
+code that uses requests.