head 1.4; access; symbols pkgsrc-2024Q1:1.3.0.8 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.6 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.4 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.2 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.2.0.8 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.6 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.4 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.2 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.1.0.2 pkgsrc-2022Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2024.05.10.09.53.45; author adam; state dead; branches; next 1.3; commitid IYS8nCHFd1Tp8r9F; 1.3 date 2023.06.06.12.41.13; author riastradh; state Exp; branches; next 1.2; commitid xhspr6Z8JLQOWSrE; 1.2 date 2022.05.12.08.17.53; author adam; state Exp; branches; next 1.1; commitid 8GboichMrtwA2KDD; 1.1 date 2022.01.25.08.55.50; author wiz; state Exp; branches; next ; commitid L2H2yPDqF3CQGZpD; desc @@ 1.4 log @py-zipp1, py-test4, py-packaging2, py-importlib-metadata2, py27-pluggy, py-setuptools_scm5, py-prompt_toolkit1: removed @ text @# $NetBSD: Makefile,v 1.3 2023/06/06 12:41:13 riastradh Exp $ DISTNAME= importlib_metadata-2.0.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} PKGREVISION= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=i/importlib-metadata/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://importlib-metadata.readthedocs.io/ COMMENT= Read metadata from Python packages (python 2.x) LICENSE= apache-2.0 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm5 DEPENDS+= ${PYPKGPREFIX}-configparser>=3.5:../../devel/py-configparser DEPENDS+= ${PYPKGPREFIX}-contextlib2-[0-9]*:../../devel/py-contextlib2 DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2 DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging2 DEPENDS+= ${PYPKGPREFIX}-zipp-[0-9]*:../../archivers/py-zipp1 PYTHON_VERSIONS_ACCEPTED= 27 USE_LANGUAGES= # none post-extract: ${FIND} ${WRKSRC} -type f -exec ${CHMOD} go-w {} + # Disable tests as py-fakefs is not available for Python 2.7 anymore. do-test: ${DO_NADA} .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.3 log @Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2022/05/12 08:17:53 adam Exp $ @ 1.2 log @py-importlib-metadata2: disable testing @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2022/01/25 08:55:50 wiz Exp $ d14 1 a14 1 BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm5 @ 1.1 log @devel/py-importlib-metadata2: import py27-importlib-metadata-2.0.0nb1 importlib_metadata is a library which provides an API for accessing an installed package's metadata, such as its entry points or its top-level name. This functionality intends to replace most uses of pkg_resources entry point API and metadata API. Along with importlib.resources in Python 3.7 and newer (backported as importlib_resources for older versions of Python), this can eliminate the need to use the older and less efficient pkg_resources package. importlib_metadata is a backport of Python 3.8's standard library importlib.metadata module for Python 2.7, and 3.4 through 3.7. Users of Python 3.8 and beyond are encouraged to use the standard library module, and in fact for these versions, importlib_metadata just shadows that module. Developers looking for detailed API descriptions should refer to the Python 3.8 standard library documentation. This package contains the last version supporting python 2.7. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2022/01/13 19:31:23 wiz Exp $ d14 1 a19 4 BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm5 TEST_DEPENDS+= ${PYPKGPREFIX}-fakefs-[0-9]*:../../devel/py-fakefs TEST_DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=1.3:../../devel/py-importlib-resources TEST_DEPENDS+= ${PYPKGPREFIX}-pep517-[0-9]*:../../devel/py-pep517 d28 4 @