pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pre-commit: Correct Python package dependencies
Module Name: pkgsrc-wip
Committed By: Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By: iquiw
Date: Thu May 21 22:24:39 2020 +0900
Changeset: 1986cdef467808e3631dc3145a03cdc0fe2a1745
Modified Files:
pre-commit/Makefile
Log Message:
pre-commit: Correct Python package dependencies
Notably virtualenv >= 20.0.8 is required, using wip/py-virtualenv20.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1986cdef467808e3631dc3145a03cdc0fe2a1745
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
pre-commit/Makefile | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diffs:
diff --git a/pre-commit/Makefile b/pre-commit/Makefile
index 3d68f096d2..7f5cf906dd 100644
--- a/pre-commit/Makefile
+++ b/pre-commit/Makefile
@@ -1,6 +1,7 @@
# $NetBSD$
DISTNAME= pre_commit-2.4.0
+PKGREVISION= 1
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pre_commit/}
@@ -12,14 +13,21 @@ LICENSE= mit
PYTHON_VERSIONS_ACCEPTED= 38 37 36 # Only supports 3.6+ since pre-commit v2.0.0
-DEPENDS+= ${PYPKGPREFIX}-aspy.yaml-[0-9]*:../../wip/py-aspy.yaml
DEPENDS+= ${PYPKGPREFIX}-cfgv>=2.0.0:../../wip/py-cfgv
DEPENDS+= ${PYPKGPREFIX}-conda-[0-9]*:../../wip/py-conda
DEPENDS+= ${PYPKGPREFIX}-identify>=1.0.0:../../wip/py-identify
DEPENDS+= ${PYPKGPREFIX}-nodeenv>=0.11.1:../../wip/py-nodeenv
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
DEPENDS+= ${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
-DEPENDS+= ${PYPKGPREFIX}-virtualenv>=15.2:../../devel/py-virtualenv
+DEPENDS+= ${PYPKGPREFIX}-yaml>5.1:../../textproc/py-yaml
+DEPENDS+= ${PYPKGPREFIX}-virtualenv>=20.0.8:../../wip/py-virtualenv20
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
+.endif
+.if ${_PYTHON_VERSION} < 37
+DEPENDS+= ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
+.endif
USE_LANGUAGES= # none
Home |
Main Index |
Thread Index |
Old Index