pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-importlib-resources
Module Name: pkgsrc
Committed By: wiz
Date: Tue Jul 12 09:18:36 UTC 2022
Modified Files:
pkgsrc/devel/py-importlib-resources: Makefile
Log Message:
py-importlib-resources: limit to python 3
Fix setuptools_scm dependency, only needed at build time
Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-importlib-resources/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-importlib-resources/Makefile
diff -u pkgsrc/devel/py-importlib-resources/Makefile:1.10 pkgsrc/devel/py-importlib-resources/Makefile:1.11
--- pkgsrc/devel/py-importlib-resources/Makefile:1.10 Thu Jan 13 19:31:23 2022
+++ pkgsrc/devel/py-importlib-resources/Makefile Tue Jul 12 09:18:36 2022
@@ -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 @@ HOMEPAGE= https://importlib-resources.re
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
-.endif
+
.if ${_PYTHON_VERSION} < 38
-PYTHON_VERSIONED_DEPENDENCIES+= zipp
+DEPENDS+= ${PYPKGPREFIX}-zipp-[0-9]*:../../archivers/py-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