pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel *: get py-zipp via versioned_dependencies.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1a9cc6df060
branches:  trunk
changeset: 424524:f1a9cc6df060
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Mar 12 07:35:22 2020 +0000

description:
*: get py-zipp via versioned_dependencies.mk

diffstat:

 devel/py-importlib-metadata/Makefile  |  6 ++++--
 devel/py-importlib-resources/Makefile |  5 +++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r 172a118bcd75 -r f1a9cc6df060 devel/py-importlib-metadata/Makefile
--- a/devel/py-importlib-metadata/Makefile      Thu Mar 12 07:33:19 2020 +0000
+++ b/devel/py-importlib-metadata/Makefile      Thu Mar 12 07:35:22 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2020/02/10 18:29:38 adam Exp $
+# $NetBSD: Makefile,v 1.17 2020/03/12 07:35:22 wiz Exp $
 
 DISTNAME=      importlib_metadata-1.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
@@ -11,7 +11,6 @@
 LICENSE=       apache-2.0
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
-DEPENDS+=      ${PYPKGPREFIX}-zipp>=0.5:../../archivers/py-zipp
 TEST_DEPENDS+= ${PYPKGPREFIX}-fakefs-[0-9]*:../../devel/py-fakefs
 TEST_DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
 .include "../../lang/python/pyversion.mk"
@@ -24,10 +23,13 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
 .endif
 
+PYTHON_VERSIONED_DEPENDENCIES+=        zipp
+
 USE_LANGUAGES= # none
 
 post-extract:
        ${FIND} ${WRKSRC} -type f -exec ${CHMOD} go-w {} +
 
 .include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 172a118bcd75 -r f1a9cc6df060 devel/py-importlib-resources/Makefile
--- a/devel/py-importlib-resources/Makefile     Thu Mar 12 07:33:19 2020 +0000
+++ b/devel/py-importlib-resources/Makefile     Thu Mar 12 07:35:22 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/03/03 06:01:00 adam Exp $
+# $NetBSD: Makefile,v 1.4 2020/03/12 07:35:23 wiz Exp $
 
 DISTNAME=      importlib_resources-1.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
@@ -19,7 +19,8 @@
 DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
 .endif
 .if ${_PYTHON_VERSION} < 38
-DEPENDS+=      ${PYPKGPREFIX}-zipp>=0.4:../../archivers/py-zipp
+PYTHON_VERSIONED_DEPENDENCIES+=        zipp
+.include "../../lang/python/versioned_dependencies.mk"
 .endif
 
 USE_LANGUAGES= # none



Home | Main Index | Thread Index | Old Index