pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-importlib-resources py-importlib-resources: l...
details: https://anonhg.NetBSD.org/pkgsrc/rev/06ac17106bdd
branches: trunk
changeset: 381750:06ac17106bdd
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue Jul 12 09:18:36 2022 +0000
description:
py-importlib-resources: limit to python 3
Fix setuptools_scm dependency, only needed at build time
Bump PKGREVISION
diffstat:
devel/py-importlib-resources/Makefile | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diffs (42 lines):
diff -r 41050ed202fd -r 06ac17106bdd devel/py-importlib-resources/Makefile
--- a/devel/py-importlib-resources/Makefile Tue Jul 12 09:15:50 2022 +0000
+++ b/devel/py-importlib-resources/Makefile Tue Jul 12 09:18:36 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2022/01/13 19:31:23 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2022/07/12 09:18:36 wiz Exp $
DISTNAME= importlib_resources-3.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/importlib_resources/}
@@ -11,20 +11,17 @@
COMMENT= Read resources from Python packages
LICENSE= apache-2.0
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+= ${PYPKGPREFIX}-contextlib2-[0-9]*:../../devel/py-contextlib2
-DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
-DEPENDS+= ${PYPKGPREFIX}-singledispatch-[0-9]*:../../devel/py-singledispatch
-DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
+
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+= ${PYPKGPREFIX}-zipp-[0-9]*:../../archivers/py-zipp
.endif
-.if ${_PYTHON_VERSION} < 38
-PYTHON_VERSIONED_DEPENDENCIES+= zipp
-.endif
-PYTHON_VERSIONED_DEPENDENCIES+= setuptools_scm
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index