pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-build py-build: use correct dependencies



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aaffaa72bfc3
branches:  trunk
changeset: 387853:aaffaa72bfc3
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 09 07:54:20 2022 +0000

description:
py-build: use correct dependencies

diffstat:

 devel/py-build/Makefile |  19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diffs (37 lines):

diff -r 6417bb01ecdf -r aaffaa72bfc3 devel/py-build/Makefile
--- a/devel/py-build/Makefile   Wed Nov 09 04:28:37 2022 +0000
+++ b/devel/py-build/Makefile   Wed Nov 09 07:54:20 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/10/28 09:46:23 adam Exp $
+# $NetBSD: Makefile,v 1.11 2022/11/09 07:54:20 adam Exp $
 
 DISTNAME=      build-0.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,19 +10,18 @@
 COMMENT=       Simple, correct PEP517 package builder
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
-DEPENDS+=      ${PYPKGPREFIX}-pep517-[0-9]*:../../devel/py-pep517
-DEPENDS+=      ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
-DEPENDS+=      ${PYPKGPREFIX}-colorama-[0-9]*:../../comms/py-colorama
+DEPENDS+=      ${PYPKGPREFIX}-packaging>=19.0:../../devel/py-packaging
+DEPENDS+=      ${PYPKGPREFIX}-pep517>=0.9.1:../../devel/py-pep517
+
+USE_LANGUAGES= # none
+
+USE_PKG_RESOURCES=     yes
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-USE_PKG_RESOURCES=     yes
-
 .include "../../lang/python/pyversion.mk"
-
-.if ${PYPKGPREFIX} == "py37"
-DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.if ${_PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
 .endif
 
 post-install:



Home | Main Index | Thread Index | Old Index