Skip to content

Commit

Permalink
py-build: use correct dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
adam committed Nov 9, 2022
1 parent f71bae1 commit 672f697
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions devel/py-build/Makefile
@@ -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}
Expand All @@ -10,19 +10,18 @@ HOMEPAGE= https://github.com/pypa/build
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

PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none

USE_PKG_RESOURCES= yes

.include "../../lang/python/pyversion.mk"
PYTHON_VERSIONS_INCOMPATIBLE= 27

.if ${PYPKGPREFIX} == "py37"
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 311
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
.endif

post-install:
Expand Down

0 comments on commit 672f697

Please sign in to comment.