aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-08-15 09:45:06 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-08-15 10:55:35 +0000
commita3d53afa110b325a87e3798bf159e18111070bee (patch)
tree26a676c9027f2d35760b1eca0edcb656ccd57c20
parent2ff1345c9662896cd494b156c00210a6a25ceda1 (diff)
devel/py-attrs: Update to 24.1.0
-rw-r--r--devel/py-attrs/Makefile16
-rw-r--r--devel/py-attrs/distinfo6
2 files changed, 11 insertions, 11 deletions
diff --git a/devel/py-attrs/Makefile b/devel/py-attrs/Makefile
index 697049d7e681..eab8c2475ff3 100644
--- a/devel/py-attrs/Makefile
+++ b/devel/py-attrs/Makefile
@@ -1,27 +1,24 @@
PORTNAME= attrs
-PORTVERSION= 23.2.0
+PORTVERSION= 24.1.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python attributes without boilerplate
-WWW= https://github.com/python-attrs/attrs
+WWW= https://www.attrs.org/en/stable/ \
+ https://github.com/python-attrs/attrs
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-# Note: sysutils/py-psutil comes from devel/py-pytest-xdist[psutil]
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=23.2.0:devel/py-hatch-fancy-pypi-readme@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cloudpickle>=0:devel/py-cloudpickle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}mypy>=1.1.1:devel/py-mypy@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}psutil>=3.0:sysutils/py-psutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Pympler>=0:devel/py-pympler@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}zope.interface>=0:devel/py-zope.interface@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517 pytest
@@ -30,8 +27,11 @@ NO_ARCH= yes
.include <bsd.port.pre.mk>
-.if ${PYTHON_REL} < 31100
+.if ${PYTHON_REL} >= 30900
+TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mypy>=1.11.1:devel/py-mypy@${PY_FLAVOR}
+.if ${PYTHON_REL} < 31300
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest-mypy-plugins>=0:devel/py-pytest-mypy-plugins@${PY_FLAVOR}
.endif
+.endif
.include <bsd.port.post.mk>
diff --git a/devel/py-attrs/distinfo b/devel/py-attrs/distinfo
index 3ba6621dd2f5..e40e92d88aa0 100644
--- a/devel/py-attrs/distinfo
+++ b/devel/py-attrs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449130
-SHA256 (attrs-23.2.0.tar.gz) = 935dc3b529c262f6cf76e50877d35a4bd3c1de194fd41f47a2b7ae8f19971f30
-SIZE (attrs-23.2.0.tar.gz) = 780820
+TIMESTAMP = 1723201063
+SHA256 (attrs-24.1.0.tar.gz) = adbdec84af72d38be7628e353a09b6a6790d15cd71819f6e9d7b0faa8a125745
+SIZE (attrs-24.1.0.tar.gz) = 792572