Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 07:19:11 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ec7932d45059 - main - devel/py-cattrs: Convert to USE_PYTHON=pep517
Message-ID:  <202306300719.35U7JBhF065893@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit ec7932d450598b88b5efc298284e2a11b28a7248
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:03:15 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:03:15 +0000

    devel/py-cattrs: Convert to USE_PYTHON=pep517
    
    - Remove outdated PYTHON_REL check after lang/python37 removal
    - Bump PORTREVISION for package change
---
 devel/py-cattrs/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/devel/py-cattrs/Makefile b/devel/py-cattrs/Makefile
index ef3291730948..b9289e9a1e69 100644
--- a/devel/py-cattrs/Makefile
+++ b/devel/py-cattrs/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	cattrs
 PORTVERSION=	22.2.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,19 +12,16 @@ WWW=		https://github.com/python-attrs/cattrs
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.1.0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=20:devel/py-attrs@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
 .include <bsd.port.pre.mk>
 
-.if ${PYTHON_REL} < 30800
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
-.endif
-
 .if ${PYTHON_REL} < 31100
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}exceptiongroup>=0:devel/py-exceptiongroup@${PY_FLAVOR}
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300719.35U7JBhF065893>