pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-pep517 py-pep517: use correct DEPENDS for Pyt...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3b4d2f15730d
branches:  trunk
changeset: 388115:3b4d2f15730d
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Nov 14 08:43:05 2022 +0000

description:
py-pep517: use correct DEPENDS for Python 3.11

diffstat:

 devel/py-pep517/Makefile |  8 +++-----
 devel/py-pep517/PLIST    |  3 +--
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs (39 lines):

diff -r ddfd01449971 -r 3b4d2f15730d devel/py-pep517/Makefile
--- a/devel/py-pep517/Makefile  Mon Nov 14 08:33:57 2022 +0000
+++ b/devel/py-pep517/Makefile  Mon Nov 14 08:43:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/08/01 07:52:59 adam Exp $
+# $NetBSD: Makefile,v 1.11 2022/11/14 08:43:05 adam Exp $
 
 DISTNAME=      pep517-0.13.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -10,7 +10,6 @@
 COMMENT=       Wrappers to build Python packages using PEP 517 hooks
 LICENSE=       mit
 
-DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
 #TEST_DEPENDS+=        ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
 #TEST_DEPENDS+=        ${PYPKGPREFIX}-testpath-[0-9]*:../../devel/py-testpath
 
@@ -21,9 +20,8 @@
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} < 38
-DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
-DEPENDS+=      ${PYPKGPREFIX}-zipp-[0-9]*:../../archivers/py-zipp
+.if ${_PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
 .endif
 
 #do-test:
diff -r ddfd01449971 -r 3b4d2f15730d devel/py-pep517/PLIST
--- a/devel/py-pep517/PLIST     Mon Nov 14 08:33:57 2022 +0000
+++ b/devel/py-pep517/PLIST     Mon Nov 14 08:43:05 2022 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2022/08/01 07:52:59 adam Exp $
-${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}
+@comment $NetBSD: PLIST,v 1.6 2022/11/14 08:43:05 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA



Home | Main Index | Thread Index | Old Index