Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Feb 2023 18:46:27 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: 79c92f484dd3 - main - devel/py-installer: Simplify Makefile
Message-ID:  <202302121846.31CIkRQx097744@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=79c92f484dd3b340cf77add079152800396083ab

commit 79c92f484dd3b340cf77add079152800396083ab
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-02-12 18:36:50 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-02-12 18:41:45 +0000

    devel/py-installer: Simplify Makefile
    
    - Use = instead of += for MAKE_ENV
    - Use WRKSRC instead of BUILD_WRKSRC when it is identical
    - Update version requirement of PEP517_BUILD_DEPEND
    - Take maintainership
---
 devel/py-installer/Makefile | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/devel/py-installer/Makefile b/devel/py-installer/Makefile
index 37425811b0b3..b0a73b03eef6 100644
--- a/devel/py-installer/Makefile
+++ b/devel/py-installer/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	installer
-DISTVERSION=	0.6.0
+PORTVERSION=	0.6.0
 PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER=	python@FreeBSD.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Library for installing Python wheels
 WWW=		https://github.com/pypa/installer
 
@@ -14,11 +14,12 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		python
 USE_PYTHON=	allflavors autoplist concurrent pep517
-PEP517_BUILD_CMD=	${PYTHON_CMD} -m flit_core.wheel
-PEP517_BUILD_DEPEND=	${PYTHON_PKGNAMEPREFIX}flit-core>0:devel/py-flit-core@${PY_FLAVOR}
-PEP517_INSTALL_DEPEND=
-MAKE_ENV+=	PYTHONPATH=${BUILD_WRKSRC}/src
 
+MAKE_ENV=	PYTHONPATH=${WRKSRC}/src
 NO_ARCH=	yes
 
+PEP517_BUILD_CMD=	${PYTHON_CMD} -m flit_core.wheel
+PEP517_BUILD_DEPEND=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.2.0<4:devel/py-flit-core@${PY_FLAVOR}
+PEP517_INSTALL_DEPEND=	# empty
+
 .include <bsd.port.mk>



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