Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2023 10:04:34 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 458573c3a6d4 - main - textproc/py-pyphen: Change build to pep517
Message-ID:  <202302061004.316A4YbD001799@gitrepo.freebsd.org>

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

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

commit 458573c3a6d4b44ac1e10714b674d34ebe703f88
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-02-06 10:02:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-02-06 10:04:32 +0000

    textproc/py-pyphen: Change build to pep517
    
    PR:             269325
    Reported by:    pi@
---
 textproc/py-pyphen/Makefile | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/textproc/py-pyphen/Makefile b/textproc/py-pyphen/Makefile
index cbbcce9cbf32..ad0df3d5c21d 100644
--- a/textproc/py-pyphen/Makefile
+++ b/textproc/py-pyphen/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pyphen
 PORTVERSION=	0.13.0
+PORTREVISION=	1
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,15 +15,11 @@ LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING.GPL
 LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING.LGPL
 LICENSE_FILE_MPL11=	${WRKSRC}/COPYING.MPL
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit>=3.2<4:devel/py-flit@${PY_FLAVOR}
+
 USES=		python:3.6+
-USE_PYTHON=	autoplist distutils pytest
+USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
 
-pre-configure:
-	@( \
-		${ECHO} "from setuptools import setup" && \
-		${ECHO} "setup()" \
-	) > ${WRKSRC}/setup.py
-
 .include <bsd.port.mk>



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