Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2023 04:26:33 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: 7e1748987dde - main - devel/py-calver: Convert to USE_PYTHON=pep517
Message-ID:  <202305270426.34R4QXIj024834@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=7e1748987dde5f9383c1f9b41b25c43c31315830

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

    devel/py-calver: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-calver/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/devel/py-calver/Makefile b/devel/py-calver/Makefile
index 02af1d87a8d5..63ad0091fad8 100644
--- a/devel/py-calver/Makefile
+++ b/devel/py-calver/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	calver
 PORTVERSION=	2022.6.26
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +12,12 @@ WWW=		https://github.com/di/calver
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python:3.5+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-post-patch:
-	@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.py
-
 .include <bsd.port.mk>



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