git: 611c2dc6d819 - main - devel/py-attrs: Update to 22.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Jan 2023 13:08:15 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=611c2dc6d819d49cfade615e6032df8458f13ba8
commit 611c2dc6d819d49cfade615e6032df8458f13ba8
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-01-30 12:30:53 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-01-30 12:59:38 +0000
devel/py-attrs: Update to 22.2.0
Changes: https://github.com/python-attrs/attrs/releases
---
devel/py-attrs/Makefile | 16 ++++++++++++----
devel/py-attrs/distinfo | 6 +++---
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/devel/py-attrs/Makefile b/devel/py-attrs/Makefile
index 9adeac6eb8c8..7d22e1dcf283 100644
--- a/devel/py-attrs/Makefile
+++ b/devel/py-attrs/Makefile
@@ -1,5 +1,5 @@
PORTNAME= attrs
-PORTVERSION= 22.1.0
+PORTVERSION= 22.2.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +11,13 @@ WWW= https://github.com/python-attrs/attrs
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+# devel/py-pytest-xdist[psutil]: sysutils/py-psutil
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cloudpickle>=0:devel/py-cloudpickle@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}coverage>=5.0.2:devel/py-coverage@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mypy>=0.971: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}pyright>=0:devel/py-pyright@${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+
@@ -23,4 +25,10 @@ USE_PYTHON= autoplist concurrent distutils pytest
NO_ARCH= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest-mypy-plugins>=0:devel/py-pytest-mypy-plugins@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-attrs/distinfo b/devel/py-attrs/distinfo
index 0d13b0e9916b..7a40342c4e36 100644
--- a/devel/py-attrs/distinfo
+++ b/devel/py-attrs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1660576772
-SHA256 (attrs-22.1.0.tar.gz) = 29adc2665447e5191d0e7c568fde78b21f9672d344281d0c6e1ab085429b22b6
-SIZE (attrs-22.1.0.tar.gz) = 201288
+TIMESTAMP = 1674589734
+SHA256 (attrs-22.2.0.tar.gz) = c9227bfc2f01993c03f68db37d1d15c9690188323c067c641f1a35ca58185f99
+SIZE (attrs-22.2.0.tar.gz) = 215900