Skip to content

Commit

Permalink
devel/py-attrs: Update to 23.1.0
Browse files Browse the repository at this point in the history
- Convert to USE_PYTHON=pep517

Changes:	https://github.com/python-attrs/attrs/releases
  • Loading branch information
sunpoet committed May 27, 2023
1 parent 975f7cd commit 879c5e5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
17 changes: 12 additions & 5 deletions 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}
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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

0 comments on commit 879c5e5

Please sign in to comment.