*: use PYTHON_VERSION instead of _PYTHON_VERSION
This commit is contained in:
parent
412c16c639
commit
519b4540f7
96 changed files with 270 additions and 195 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2022/01/04 20:52:30 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2023/03/29 09:34:04 wiz Exp $
|
||||
|
||||
DISTNAME= brotlipy-0.7.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -15,7 +15,7 @@ DEPENDS+= ${PYPKGPREFIX}-cffi>=1.0.0:../../devel/py-cffi
|
|||
|
||||
.include "../../lang/python/egg.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} < 33
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-enum34>=1.0.4:../../devel/py-enum34
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.30 2022/05/05 07:11:55 nia Exp $
|
||||
# $NetBSD: Makefile,v 1.31 2023/03/29 09:34:04 wiz Exp $
|
||||
|
||||
.include "Makefile.common"
|
||||
|
||||
|
@ -13,7 +13,7 @@ PYTHON_VERSIONED_DEPENDENCIES= test:test
|
|||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
# Python 2.x only -- subprocess is part of Python 3.x
|
||||
.if ${_PYTHON_VERSION} < 32
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
BUILD_DEPENDS+= ${PYPKGPREFIX}-subprocess32-[0-9]*:../../devel/py-subprocess32
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2022/11/18 06:06:02 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2023/03/29 09:34:04 wiz Exp $
|
||||
|
||||
DISTNAME= arabic_reshaper-2.1.4
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
|
||||
|
@ -13,7 +13,8 @@ LICENSE= mit
|
|||
DEPENDS+= ${PYPKGPREFIX}-future-[0-9]*:../../devel/py-future
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-configparser-[0-9]*:../../devel/py-configparser
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.31 2022/04/29 13:27:48 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.32 2023/03/29 09:34:04 wiz Exp $
|
||||
|
||||
DISTNAME= alembic-1.7.7
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -23,7 +23,8 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
USE_PKG_RESOURCES= yes
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 39
|
||||
|
||||
.if ${PYTHON_VERSION} < 309
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2022/01/04 20:52:43 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2023/03/29 09:34:04 wiz Exp $
|
||||
|
||||
DISTNAME= pickleshare-0.7.5
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -12,7 +12,8 @@ COMMENT= Tiny shelve-like database with concurrency support
|
|||
LICENSE= mit
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2022/01/04 20:52:48 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2023/03/29 09:34:05 wiz Exp $
|
||||
|
||||
DISTNAME= absl-py-0.14.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -12,8 +12,10 @@ COMMENT= Abseil Python Common Libraries
|
|||
LICENSE= apache-2.0
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2022/10/20 09:09:22 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2023/03/29 09:34:05 wiz Exp $
|
||||
|
||||
DISTNAME= anyio-3.6.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -25,7 +25,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-trio-[0-9]*:../../devel/py-trio
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-uvloop
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.29 2022/08/24 09:25:55 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.30 2023/03/29 09:34:05 wiz Exp $
|
||||
|
||||
DISTNAME= argcomplete-1.12.3
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -13,8 +13,10 @@ LICENSE= apache-2.0
|
|||
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-pexpect-[0-9]*:../../devel/py-pexpect
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
PYTHON_VERSIONED_DEPENDENCIES+= importlib-metadata
|
||||
.endif
|
||||
PYTHON_VERSIONED_DEPENDENCIES+= coverage:test flake8:test
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.73 2023/03/09 09:47:47 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.74 2023/03/29 09:34:05 wiz Exp $
|
||||
|
||||
DISTNAME= astroid-2.15.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -17,7 +17,8 @@ DEPENDS+= ${PYPKGPREFIX}-wrapt>=1.14:../../devel/py-wrapt
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} != 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.0.0:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.8 2022/01/04 20:52:51 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2023/03/29 09:34:05 wiz Exp $
|
||||
|
||||
DISTNAME= atpublic-2.3
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -16,7 +16,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.33 2022/05/12 08:20:36 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.34 2023/03/29 09:34:05 wiz Exp $
|
||||
|
||||
DISTNAME= Babel-2.9.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -17,7 +17,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} != 27
|
||||
.if ${PYTHON_VERSION} != 207
|
||||
# freezegun is only available for python 3
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2021/11/08 12:00:18 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2023/03/29 09:34:05 wiz Exp $
|
||||
|
||||
PKGNAME= ${PYPKGPREFIX}-backports-1.0
|
||||
PKGREVISION= 2
|
||||
|
@ -15,7 +15,8 @@ PY_PATCHPLIST= yes
|
|||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
INSTALLATION_DIRS+= ${PYSITELIB}/backports
|
||||
.if ${_PYTHON_VERSION} != 27
|
||||
|
||||
.if ${PYTHON_VERSION} != 207
|
||||
INSTALLATION_DIRS+= ${PYSITELIB}/backports/__pycache__
|
||||
.endif
|
||||
|
||||
|
@ -28,7 +29,7 @@ do-build:
|
|||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/__init__.* ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/
|
||||
.if ${_PYTHON_VERSION} != 27
|
||||
.if ${PYTHON_VERSION} != 207
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/__pycache__/__init__.* \
|
||||
${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__pycache__/
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 2022/09/15 17:51:07 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2023/03/29 09:34:05 wiz Exp $
|
||||
|
||||
DISTNAME= blessed-1.19.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -16,7 +16,8 @@ DEPENDS+= ${PYPKGPREFIX}-wcwidth>=0.1.4:../../devel/py-wcwidth
|
|||
USE_LANGUAGES= # none
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-backports.functools_lru_cache-[0-9]*:../../devel/py-backports.functools_lru_cache
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2023/02/14 16:10:02 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2023/03/29 09:34:06 wiz Exp $
|
||||
|
||||
DISTNAME= build-0.10.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -21,7 +21,8 @@ USE_PKG_RESOURCES= yes
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} != 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.14 2022/05/12 08:20:36 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2023/03/29 09:34:06 wiz Exp $
|
||||
|
||||
DISTNAME= cached-property-1.5.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -13,7 +13,7 @@ LICENSE= modified-bsd
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} != 27
|
||||
.if ${PYTHON_VERSION} != 207
|
||||
# freezegun is only available for python 3
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.23 2022/04/29 11:57:21 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.24 2023/03/29 09:34:06 wiz Exp $
|
||||
|
||||
DISTNAME= click-8.1.3
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -14,7 +14,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2022/09/14 10:49:32 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2023/03/29 09:34:06 wiz Exp $
|
||||
|
||||
DISTNAME= ConfigUpdater-3.1.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -24,7 +24,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} == 37
|
||||
.if ${PYTHON_VERSION} == 307
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>0:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.34 2022/11/08 13:39:17 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.35 2023/03/29 09:34:06 wiz Exp $
|
||||
|
||||
DISTNAME= coverage-6.5.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -24,7 +24,8 @@ USE_PKG_RESOURCES= yes
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.11 2022/10/13 16:43:42 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2023/03/29 09:34:06 wiz Exp $
|
||||
|
||||
DISTNAME= curtsies-0.4.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -21,7 +21,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-backports.cached-property-[0-9]*:../../devel/py-backports.cached-property
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2022/03/07 20:03:14 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2023/03/29 09:34:06 wiz Exp $
|
||||
|
||||
DISTNAME= ddt-1.4.4
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -11,7 +11,8 @@ COMMENT= Data-Driven/Decorated Tests
|
|||
LICENSE= mit
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.19 2022/11/29 17:13:22 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2023/03/29 09:34:06 wiz Exp $
|
||||
|
||||
DISTNAME= pydoctor-22.9.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
||||
|
@ -28,7 +28,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27 37
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 38
|
||||
|
||||
.if ${PYTHON_VERSION} == 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.44 2022/02/01 10:02:44 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.45 2023/03/29 09:34:06 wiz Exp $
|
||||
|
||||
DISTNAME= flake8-4.0.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -18,7 +18,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2022/11/14 09:13:44 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2023/03/29 09:34:07 wiz Exp $
|
||||
|
||||
DISTNAME= flit_scm-1.7.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -18,7 +18,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2022/11/18 18:52:07 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2023/03/29 09:34:07 wiz Exp $
|
||||
|
||||
DISTNAME= hatch_fancy_pypi_readme-22.8.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
|
||||
|
@ -20,7 +20,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.8 2023/03/09 10:26:15 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2023/03/29 09:34:07 wiz Exp $
|
||||
|
||||
DISTNAME= hatchling-1.13.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -20,7 +20,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} != 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.2.2:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.117 2023/02/08 10:31:14 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.118 2023/03/29 09:34:07 wiz Exp $
|
||||
#
|
||||
# Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html
|
||||
|
||||
|
@ -22,7 +22,8 @@ USE_PKG_RESOURCES= yes
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} != 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.39 2020/01/08 13:44:41 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.40 2023/03/29 09:34:07 wiz Exp $
|
||||
|
||||
PKGNAME= ${PYPKGPREFIX}-idle-${PY_DISTVERSION}
|
||||
CATEGORIES= devel python
|
||||
|
@ -18,7 +18,7 @@ PY_PATCHPLIST= yes
|
|||
#
|
||||
.include "../../lang/python/extension.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} >= 31
|
||||
.if ${PYTHON_VERSION} != 207
|
||||
IDLE_NAME= idle3
|
||||
.else
|
||||
IDLE_NAME= idle
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.31 2022/11/05 22:24:39 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.32 2023/03/29 09:34:07 wiz Exp $
|
||||
|
||||
DISTNAME= importlib_metadata-4.12.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
|
||||
|
@ -23,7 +23,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.6.4:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.15 2022/12/29 12:37:50 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.16 2023/03/29 09:34:07 wiz Exp $
|
||||
|
||||
DISTNAME= importlib_resources-5.10.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
|
||||
|
@ -18,7 +18,7 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 310
|
||||
.if ${PYTHON_VERSION} < 310
|
||||
DEPENDS+= ${PYPKGPREFIX}-zipp>=3.1.0:../../archivers/py-zipp
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2022/04/27 11:55:12 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2023/03/29 09:34:08 wiz Exp $
|
||||
|
||||
DISTNAME= mando-0.7.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -12,7 +12,8 @@ LICENSE= mit
|
|||
|
||||
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-funcsigs-[0-9]*:../../devel/py-funcsigs
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.19 2022/01/04 20:53:17 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.20 2023/03/29 09:34:08 wiz Exp $
|
||||
|
||||
DISTNAME= mock-3.0.5
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -14,7 +14,8 @@ LICENSE= gnu-gpl-v2
|
|||
DEPENDS+= ${PYPKGPREFIX}-six>=1.7:../../lang/py-six
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-funcsigs>=1:../../devel/py-funcsigs
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2022/08/24 09:25:56 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2023/03/29 09:34:08 wiz Exp $
|
||||
|
||||
DISTNAME= nose2-0.10.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -12,8 +12,10 @@ COMMENT= Next generation of nicer testing for Python
|
|||
LICENSE= 2-clause-bsd
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-six>=1.7:../../lang/py-six
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2022/05/23 08:31:51 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2023/03/29 09:34:08 wiz Exp $
|
||||
|
||||
DISTNAME= pathlib2-2.3.7.post1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/post//}
|
||||
|
@ -13,7 +13,8 @@ LICENSE= mit
|
|||
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-scandir-[0-9]*:../../devel/py-scandir
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.8 2022/01/04 20:53:20 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2023/03/29 09:34:08 wiz Exp $
|
||||
|
||||
DISTNAME= Pebble-4.5.3
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -12,7 +12,8 @@ COMMENT= Threading and multiprocessing eye-candy
|
|||
LICENSE= gnu-lgpl-v3
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-futures-[0-9]*:../../devel/py-futures
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.11 2022/11/14 08:43:05 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2023/03/29 09:34:08 wiz Exp $
|
||||
|
||||
DISTNAME= pep517-0.13.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -20,7 +20,8 @@ NO_BUILD= yes
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.60 2023/03/06 15:49:29 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.61 2023/03/29 09:34:08 wiz Exp $
|
||||
|
||||
DISTNAME= pip-23.0.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -22,7 +22,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
USE_PKG_RESOURCES= yes
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
FILES_SUBST+= PYMAJORVERSION=${_PYTHON_VERSION:C/^([0-9]).*/\1/}
|
||||
FILES_SUBST+= PYMAJORVERSION=${PYTHON_VERSION:C/^([0-9]).*/\1/}
|
||||
|
||||
post-install:
|
||||
cd ${DESTDIR}${PREFIX}/bin && ${RM} -f pip pip[2-3]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2022/01/05 20:47:35 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2023/03/29 09:34:08 wiz Exp $
|
||||
|
||||
DISTNAME= pip-20.3.4
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -22,7 +22,7 @@ PYTHON_VERSIONS_ACCEPTED= 27
|
|||
USE_PKG_RESOURCES= yes
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
FILES_SUBST+= PYMAJORVERSION=${_PYTHON_VERSION:C/^([0-9]).*/\1/}
|
||||
FILES_SUBST+= PYMAJORVERSION=${PYTHON_VERSION:C/^([0-9]).*/\1/}
|
||||
|
||||
post-install:
|
||||
cd ${DESTDIR}${PREFIX}/bin && ${RM} -f pip pip[2-3]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.20 2022/10/11 13:14:15 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.21 2023/03/29 09:34:09 wiz Exp $
|
||||
|
||||
DISTNAME= pluggy-1.0.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -19,7 +19,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=0.12:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2022/10/06 13:07:19 gdt Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2023/03/29 09:34:09 wiz Exp $
|
||||
|
||||
# Do not update to 1.3.x without understanding the impacts of a change
|
||||
# that breaks at least some poetry-using programs. -gdt
|
||||
|
@ -16,7 +16,8 @@ LICENSE= mit
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=1.7.0:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2022/08/22 17:59:50 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2023/03/29 09:34:09 wiz Exp $
|
||||
|
||||
DISTNAME= poetry-1.1.15
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -32,7 +32,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.0:../../devel/py-test
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.64 2022/12/16 10:22:57 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.65 2023/03/29 09:34:09 wiz Exp $
|
||||
|
||||
DISTNAME= protobuf-4.21.12
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -18,7 +18,8 @@ MAKE_ENV+= PROTOC=${PREFIX}/bin/protoc
|
|||
PLIST_VARS+= cpp
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} != 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
# As of 4.21.9, the sources do contain outdated code that only supports Python < 3.11
|
||||
# https://github.com/protocolbuffers/protobuf/issues/11031#issuecomment-1321390551
|
||||
# Do not use C++ implementation for Python 3.11.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.81 2023/03/09 09:50:19 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.82 2023/03/29 09:34:09 wiz Exp $
|
||||
|
||||
DISTNAME= pylint-2.17.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -23,10 +23,10 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 39 || ${_PYTHON_VERSION} == 38
|
||||
.if ${PYTHON_VERSION} < 310
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10.0:../../devel/py-typing-extensions
|
||||
.endif
|
||||
.if ${_PYTHON_VERSION} == 310 || ${_PYTHON_VERSION} == 39 || ${_PYTHON_VERSION} == 38
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 2023/02/14 17:42:54 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2023/03/29 09:34:09 wiz Exp $
|
||||
|
||||
DISTNAME= pyproject_hooks-1.0.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -17,7 +17,8 @@ USE_PKG_RESOURCES= yes
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} != 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.37 2023/01/04 10:32:00 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.38 2023/03/29 09:34:09 wiz Exp $
|
||||
|
||||
DISTNAME= setuptools_scm-7.1.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -23,7 +23,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} != 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.8 2022/09/08 07:44:36 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2023/03/29 09:34:09 wiz Exp $
|
||||
|
||||
DISTNAME= pytest-randomly-3.12.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
||||
|
@ -17,7 +17,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 310
|
||||
|
||||
.if ${PYTHON_VERSION} < 310
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=3.6.0:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.112 2023/03/07 18:58:03 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.113 2023/03/29 09:34:09 wiz Exp $
|
||||
|
||||
DISTNAME= pytest-7.2.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
||||
|
@ -34,7 +34,8 @@ USE_PKG_RESOURCES= yes
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} != 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.29 2022/05/01 09:45:41 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.30 2023/03/29 09:34:10 wiz Exp $
|
||||
|
||||
DISTNAME= tox-3.24.5
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -31,7 +31,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.22.2:../../devel/py-test-xdist
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-filelock
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2022/01/09 11:58:14 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2023/03/29 09:34:10 wiz Exp $
|
||||
|
||||
DISTNAME= traitlets-4.3.3
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -16,7 +16,8 @@ DEPENDS+= ${PYPKGPREFIX}-ipython_genutils-[0-9]*:../../devel/py-ipython_genutils
|
|||
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2022/11/15 09:49:38 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2023/03/29 09:34:10 wiz Exp $
|
||||
|
||||
DISTNAME= trio-0.22.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -27,7 +27,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.0.0:../../devel/py-exceptiongroup
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2022/05/12 06:07:02 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2023/03/29 09:34:10 wiz Exp $
|
||||
|
||||
DISTNAME= versioningit-1.1.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -24,7 +24,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} < 310
|
||||
.if ${PYTHON_VERSION} < 310
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.9 2023/01/16 21:12:00 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2023/03/29 09:34:10 wiz Exp $
|
||||
|
||||
DISTNAME= wcwidth-0.2.6
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -11,7 +11,8 @@ COMMENT= Measures number of Terminal column cells of wide-character codes
|
|||
LICENSE= mit
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-backports.functools_lru_cache>=1.2.1:../../devel/py-backports.functools_lru_cache
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.9 2020/06/30 18:49:56 nia Exp $
|
||||
# $NetBSD: options.mk,v 1.10 2023/03/29 09:34:10 wiz Exp $
|
||||
|
||||
PKG_SUPPORTED_OPTIONS+= ruby python perl lua luajit
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.vim
|
||||
|
@ -13,7 +13,7 @@ CONFIGURE_ENV+= vi_cv_path_ruby=${RUBY}
|
|||
|
||||
.if !empty(PKG_OPTIONS:Mpython)
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
. if empty(_PYTHON_VERSION:M3*)
|
||||
. if empty(PYTHON_VERSION:M3*)
|
||||
CONFIGURE_ARGS+= --enable-pythoninterp
|
||||
CONFIGURE_ARGS+= --with-python-command=${PYTHONBIN}
|
||||
. else
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.21 2023/03/08 13:47:54 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2023/03/29 09:34:10 wiz Exp $
|
||||
|
||||
DISTNAME= asttokens-2.2.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -19,7 +19,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONED_DEPENDENCIES+= pip:build setuptools_scm:build
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
|
||||
TEST_DEPENDS= # none; test depends are incompatible to py27
|
||||
do-test:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2022/08/10 11:42:58 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2023/03/29 09:34:10 wiz Exp $
|
||||
|
||||
DISTNAME= cmake-language-server-0.1.6
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -15,7 +15,8 @@ DEPENDS+= ${PYPKGPREFIX}-pygls>=0.12:../../lang/py-pygls
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=4.8:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2022/10/31 17:12:39 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2023/03/29 09:34:11 wiz Exp $
|
||||
|
||||
DISTNAME= executing-1.2.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -20,7 +20,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 311
|
||||
|
||||
.if ${PYTHON_VERSION} >= 311
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-rich-[0-9]*:../../comms/py-rich
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.13 2022/11/29 22:09:15 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2023/03/29 09:34:11 wiz Exp $
|
||||
|
||||
DISTNAME= hy-0.25.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -19,7 +19,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 39
|
||||
|
||||
.if ${PYTHON_VERSION} < 309
|
||||
DEPENDS+= ${PYPKGPREFIX}-astor>=0.8:../../devel/py-astor
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.39 2023/03/09 08:12:17 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.40 2023/03/29 09:34:11 wiz Exp $
|
||||
|
||||
DISTNAME= mypy-1.1.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -20,7 +20,8 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
USE_PKG_RESOURCES= yes
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} != 311
|
||||
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.9 2022/01/05 15:41:13 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2023/03/29 09:34:11 wiz Exp $
|
||||
|
||||
DISTNAME= aiosmtpd-1.4.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -21,7 +21,8 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
USE_PKG_RESOURCES= yes
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.17 2022/08/23 21:49:56 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.18 2023/03/29 09:34:11 wiz Exp $
|
||||
|
||||
DISTNAME= pyspf-2.0.14
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
|
||||
|
@ -16,7 +16,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
|
|||
PYTHON_VERSIONED_DEPENDENCIES= dns
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-ipaddr-[0-9]*:../../devel/py-ipaddr
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.8 2022/08/29 16:20:19 thor Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2023/03/29 09:34:11 wiz Exp $
|
||||
|
||||
DISTNAME= asdf-2.11.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -26,7 +26,8 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-numpy
|
|||
USE_PKG_RESOURCES= yes
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 39
|
||||
|
||||
.if ${PYTHON_VERSION} < 309
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=3:../../devel/py-importlib-resources
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.16 2023/03/15 13:48:40 wiz Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.17 2023/03/29 09:34:11 wiz Exp $
|
||||
|
||||
BUILDLINK_TREE+= py-numpy
|
||||
|
||||
|
@ -8,7 +8,7 @@ PY_NUMPY_BUILDLINK3_MK:=
|
|||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
BUILDLINK_API_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=1.0
|
||||
.if ${_PYTHON_VERSION} == 27 || ${_PYTHON_VERSION} == 37
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
BUILDLINK_ABI_DEPENDS.py-numpy+= ${PYPKGPREFIX}-numpy>=1.16.6nb3
|
||||
BUILDLINK_PKGSRCDIR.py-numpy?= ../../math/py-numpy16
|
||||
.else
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2022/02/13 10:07:46 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2023/03/29 09:34:11 wiz Exp $
|
||||
|
||||
DISTNAME= ansi-0.3.6
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -17,7 +17,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.6.4:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.9 2022/10/04 09:57:14 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2023/03/29 09:34:11 wiz Exp $
|
||||
|
||||
DISTNAME= immutables-0.19
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -17,7 +17,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} == 37
|
||||
.if ${PYTHON_VERSION} == 307
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.4.3:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.34 2022/07/11 08:43:01 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.35 2023/03/29 09:34:12 wiz Exp $
|
||||
|
||||
DISTNAME= kombu-5.2.4
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -20,7 +20,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-Pyro4-[0-9]*:../../devel/py-Pyro
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=0.18:../../devel/py-importlib-metadata
|
||||
DEPENDS+= ${PYPKGPREFIX}-cached-property-[0-9]*:../../devel/py-cached-property
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2022/11/02 08:45:29 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2023/03/29 09:34:12 wiz Exp $
|
||||
|
||||
DISTNAME= moto-4.0.9
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -35,7 +35,8 @@ USE_PKG_RESOURCES= yes
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 37
|
||||
|
||||
.if ${PYTHON_VERSION} == 307
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2022/01/04 20:54:37 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2023/03/29 09:34:12 wiz Exp $
|
||||
|
||||
DISTNAME= argon2-cffi-20.1.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -18,7 +18,8 @@ PYTHON_VERSIONED_DEPENDENCIES= test:test
|
|||
PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.46 2023/02/01 12:16:49 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.47 2023/03/29 09:34:12 wiz Exp $
|
||||
|
||||
DISTNAME= pycryptodome-3.17
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
|
||||
|
@ -21,7 +21,7 @@ CHECK_PORTABILITY_SKIP= appveyor/get_wheels.sh
|
|||
.include "../../lang/python/egg.mk"
|
||||
|
||||
# Python 3 builds of this package get an extra "abi3" suffix added
|
||||
.if ${_PYTHON_VERSION} != 27
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
PLIST_SUBST+= SOEXT="abi3.so"
|
||||
.else
|
||||
PLIST_SUBST+= SOEXT="so"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: dependency.mk,v 1.2 2022/11/28 08:49:08 adam Exp $
|
||||
# $NetBSD: dependency.mk,v 1.3 2023/03/29 09:34:12 wiz Exp $
|
||||
#
|
||||
# Not for public use - use through versioned_dependencies.mk.
|
||||
#
|
||||
|
@ -14,7 +14,7 @@
|
|||
.include "../../mk/bsd.fast.prefs.mk"
|
||||
|
||||
.include "../../lang/rust/platform.mk"
|
||||
.if ${PLATFORM_SUPPORTS_RUST:tl} == "yes" && empty(_PYTHON_VERSION:M2*)
|
||||
.if ${PLATFORM_SUPPORTS_RUST:tl} == "yes" && empty(PYTHON_VERSION:M2*)
|
||||
PYCRYPTOGRAPHY_TYPE?= rust
|
||||
.else
|
||||
PYCRYPTOGRAPHY_TYPE?= c
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2022/04/14 20:35:37 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2023/03/29 09:34:12 wiz Exp $
|
||||
|
||||
DISTNAME= signedjson-1.1.4
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -18,7 +18,8 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_s
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-unpaddedbase64
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION}< 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.5:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2022/05/12 08:15:48 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2023/03/29 09:34:12 wiz Exp $
|
||||
|
||||
DISTNAME= pyu2f-0.1.5
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
||||
|
@ -20,7 +20,7 @@ USE_LANGUAGES= # none
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} != 27
|
||||
.if ${PYTHON_VERSION} != 207
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-fakefs>=2.4:../../devel/py-fakefs
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2022/10/19 13:18:46 nia Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2023/03/29 09:34:12 wiz Exp $
|
||||
|
||||
DISTNAME= cryptography-3.3.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -22,7 +22,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test4
|
|||
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis4
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-enum34-[0-9]*:../../devel/py-enum34
|
||||
DEPENDS+= ${PYPKGPREFIX}-ipaddress-[0-9]*:../../net/py-ipaddress
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.16 2022/04/30 11:11:01 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2023/03/29 09:34:13 wiz Exp $
|
||||
|
||||
DISTNAME= structlog-21.5.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -25,7 +25,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.13 2022/12/29 12:35:41 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2023/03/29 09:34:13 wiz Exp $
|
||||
|
||||
DISTNAME= supervisor-4.2.5
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -13,7 +13,8 @@ LICENSE= original-bsd
|
|||
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.13 2023/02/20 17:59:00 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2023/03/29 09:34:13 wiz Exp $
|
||||
|
||||
DISTNAME= black-23.1.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -28,10 +28,10 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} != 311
|
||||
.if ${PYTHON_VERSION} < 311
|
||||
DEPENDS+= ${PYPKGPREFIX}-tomli>=1.1.0:../../textproc/py-tomli
|
||||
.endif
|
||||
.if ${_PYTHON_VERSION} == 38 || ${_PYTHON_VERSION} == 39
|
||||
.if ${PYTHON_VERSION} < 310
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.10.0.0:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.6 2023/03/16 00:11:52 gutteridge Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2023/03/29 09:34:13 wiz Exp $
|
||||
|
||||
DISTNAME= cmudict-1.0.12
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -17,8 +17,10 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
# The upstream project lists higher minimums for these depenencies, but that
|
||||
# is incorrect. What's recorded below are correct minimums for the actual
|
||||
# functionality required. This has been tested with Python 3.8 and 3.9.
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 38 || ${_PYTHON_VERSION} == 39
|
||||
|
||||
.if ${PYTHON_VERSION } < 310
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=4.6:../../devel/py-importlib-metadata
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=5.0:../../devel/py-importlib-resources
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2022/01/05 15:41:23 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2023/03/29 09:34:13 wiz Exp $
|
||||
|
||||
DISTNAME= commonmark-0.9.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -12,7 +12,8 @@ COMMENT= Python parser for the CommonMark Markdown spec
|
|||
LICENSE= modified-bsd
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-future>=0.14.0:../../devel/py-future
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2022/01/04 20:54:54 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2023/03/29 09:34:13 wiz Exp $
|
||||
|
||||
DISTNAME= diff-match-patch-20200713
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -17,7 +17,7 @@ USE_LANGUAGES= # none
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
do-test:
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
cd ${WRKSRC} && ${PYTHONBIN} diff_match_patch/tests/diff_match_patch_test_py2.py
|
||||
.else
|
||||
cd ${WRKSRC} && ${PYTHONBIN} diff_match_patch/tests/diff_match_patch_test.py
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2023/02/09 09:25:22 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2023/03/29 09:34:13 wiz Exp $
|
||||
|
||||
DISTNAME= jaraco.text-3.11.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -21,8 +21,10 @@ DEPENDS+= ${PYPKGPREFIX}-more-itertools-[0-9]*:../../devel/py-more-itertools
|
|||
USE_LANGUAGES= # none
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 309
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.13 2022/08/24 08:41:09 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2023/03/29 09:34:13 wiz Exp $
|
||||
|
||||
DISTNAME= jsonpickle-2.0.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -12,8 +12,10 @@ COMMENT= Python library for serializing any arbitrary object graph into JSON
|
|||
LICENSE= modified-bsd
|
||||
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
PYTHON_VERSIONED_DEPENDENCIES+= importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.32 2022/12/19 08:22:10 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.33 2023/03/29 09:34:13 wiz Exp $
|
||||
|
||||
DISTNAME= jsonschema-4.17.3
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -23,7 +23,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 39
|
||||
|
||||
.if ${PYTHON_VERSION} < 309
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-resources>=1.4.0:../../devel/py-importlib-resources
|
||||
DEPENDS+= ${PYPKGPREFIX}-pkgutil_resolve_name>=1.3.10:../../devel/py-pkgutil_resolve_name
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.27 2022/11/09 13:14:17 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.28 2023/03/29 09:34:14 wiz Exp $
|
||||
|
||||
DISTNAME= Markdown-3.4.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -19,7 +19,8 @@ USE_PKG_RESOURCES= yes
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 310
|
||||
|
||||
.if ${PYTHON_VERSION} < 310
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=4.4.0:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.10 2023/03/12 03:00:57 gutteridge Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2023/03/29 09:34:14 wiz Exp $
|
||||
|
||||
# (4.0.0 drops support for Python < 3.9.)
|
||||
DISTNAME= Markups-3.1.3
|
||||
|
@ -22,7 +22,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.9 2022/04/29 13:38:26 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2023/03/29 09:34:14 wiz Exp $
|
||||
|
||||
DISTNAME= Pallets-Sphinx-Themes-2.0.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -19,7 +19,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.87 2022/10/25 18:36:42 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.88 2023/03/29 09:34:14 wiz Exp $
|
||||
|
||||
DISTNAME= Sphinx-5.3.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -39,7 +39,8 @@ PYSETUPTESTTARGET= pytest
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 310
|
||||
|
||||
.if ${PYTHON_VERSION} < 310
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=4.8.0:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.4 2022/08/02 11:16:48 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2023/03/29 09:34:14 wiz Exp $
|
||||
|
||||
DISTNAME= validate-pyproject-0.9
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -23,7 +23,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} == 37
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>0:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.9 2022/01/04 20:55:10 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.10 2023/03/29 09:34:14 wiz Exp $
|
||||
|
||||
DISTNAME= aniso8601-9.0.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -12,7 +12,8 @@ COMMENT= Library for parsing ISO 8601 strings
|
|||
LICENSE= modified-bsd
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=2.0.0:../../devel/py-mock
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.21 2022/09/05 13:25:48 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2023/03/29 09:34:14 wiz Exp $
|
||||
|
||||
DISTNAME= arrow-1.2.3
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -26,7 +26,8 @@ PYSETUPTESTTARGET= pytest
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 37
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.35 2022/11/05 22:31:42 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.36 2023/03/29 09:34:14 wiz Exp $
|
||||
|
||||
DISTNAME= python-dateutil-2.8.2
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
|
||||
|
@ -15,7 +15,7 @@ DEPENDS+= ${PYPKGPREFIX}-six>=1.5:../../lang/py-six
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} != 27
|
||||
.if ${PYTHON_VERSION} != 207
|
||||
# freezegun is only available for python 3
|
||||
TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
|
||||
.endif
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.16 2022/01/04 20:55:12 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.17 2023/03/29 09:34:15 wiz Exp $
|
||||
|
||||
DISTNAME= pendulum-2.1.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -15,7 +15,8 @@ DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.6.0:../../time/py-dateutil
|
|||
DEPENDS+= ${PYPKGPREFIX}-tzdata>=2018.3:../../time/py-tzdata
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing>=3.6:../../devel/py-typing
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.27 2023/03/02 12:42:47 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.28 2023/03/29 09:34:15 wiz Exp $
|
||||
|
||||
DISTNAME= Flask-2.2.3
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -20,7 +20,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} < 310
|
||||
.if ${PYTHON_VERSION} < 310
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=3.6.0:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.11 2022/10/18 08:50:08 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2023/03/29 09:34:15 wiz Exp $
|
||||
|
||||
DISTNAME= h11-0.14.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -15,7 +15,8 @@ USE_LANGUAGES= # none
|
|||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>0:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.14 2022/10/25 07:59:07 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2023/03/29 09:34:15 wiz Exp $
|
||||
|
||||
DISTNAME= httpie-3.2.1
|
||||
PKGNAME= ${PYPKGPREFIX}-${EGG_NAME}
|
||||
|
@ -33,7 +33,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
.if ${_PYTHON_VERSION} == 37
|
||||
.if ${PYTHON_VERSION} == 307
|
||||
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata>=1.4.0:../../devel/py-importlib-metadata
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.13 2022/06/28 11:37:49 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.14 2023/03/29 09:34:15 wiz Exp $
|
||||
|
||||
DISTNAME= hyperlink-21.0.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -12,8 +12,10 @@ COMMENT= Featureful, correct URL for Python
|
|||
LICENSE= modified-bsd
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-idna>=2.5:../../www/py-idna
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.22 2022/01/13 19:31:25 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.23 2023/03/29 09:34:15 wiz Exp $
|
||||
|
||||
DISTNAME= pytest-django-3.10.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
|
||||
|
@ -12,7 +12,8 @@ COMMENT= Django plugin for pytest
|
|||
LICENSE= modified-bsd
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.32 2022/09/08 15:23:23 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.33 2023/03/29 09:34:15 wiz Exp $
|
||||
|
||||
DISTNAME= uvicorn-0.18.3
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -24,7 +24,8 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|||
USE_PKG_RESOURCES= yes
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} < 38
|
||||
|
||||
.if ${PYTHON_VERSION} < 308
|
||||
DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
|
||||
.endif
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.12 2022/01/04 20:55:37 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.13 2023/03/29 09:34:15 wiz Exp $
|
||||
|
||||
DISTNAME= uwsgitop-0.11
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -14,7 +14,8 @@ LICENSE= mit
|
|||
DEPENDS+= ${PYPKGPREFIX}-curses-[0-9]*:../../devel/py-curses
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
.if ${_PYTHON_VERSION} == 27
|
||||
|
||||
.if ${PYTHON_VERSION} == 207
|
||||
DEPENDS+= ${PYPKGPREFIX}-argparse-[0-9]*:../../devel/py-argparse
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue