git: 879c5e5f9127 - main - devel/py-attrs: Update to 23.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 04:26:29 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=879c5e5f91273664f52d512233d15e2bfd8b755d

commit 879c5e5f91273664f52d512233d15e2bfd8b755d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 04:08:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 04:08:25 +0000

    devel/py-attrs: Update to 23.1.0
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/python-attrs/attrs/releases
---
 devel/py-attrs/Makefile | 17 ++++++++++++-----
 devel/py-attrs/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/devel/py-attrs/Makefile b/devel/py-attrs/Makefile
index 7d22e1dcf283..4fb7a875915c 100644
--- a/devel/py-attrs/Makefile
+++ b/devel/py-attrs/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	attrs
-PORTVERSION=	22.2.0
+PORTVERSION=	23.1.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,22 +11,29 @@ WWW=		https://github.com/python-attrs/attrs
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-# devel/py-pytest-xdist[psutil]: sysutils/py-psutil
+# Note: sysutils/py-psutil comes from devel/py-pytest-xdist[psutil]
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-fancy-pypi-readme>=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>=0.971:devel/py-mypy@${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}
 
-USES=		python:3.5+
-USE_PYTHON=	autoplist concurrent distutils pytest
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
 .include <bsd.port.pre.mk>
 
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
 .if ${PYTHON_REL} < 31100
 TEST_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pytest-mypy-plugins>=0:devel/py-pytest-mypy-plugins@${PY_FLAVOR}
 .endif
diff --git a/devel/py-attrs/distinfo b/devel/py-attrs/distinfo
index 7a40342c4e36..64f98e3fa7b9 100644
--- a/devel/py-attrs/distinfo
+++ b/devel/py-attrs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674589734
-SHA256 (attrs-22.2.0.tar.gz) = c9227bfc2f01993c03f68db37d1d15c9690188323c067c641f1a35ca58185f99
-SIZE (attrs-22.2.0.tar.gz) = 215900
+TIMESTAMP = 1684104380
+SHA256 (attrs-23.1.0.tar.gz) = 6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015
+SIZE (attrs-23.1.0.tar.gz) = 212878