summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-06-01 09:07:26 +0000
committeradam <adam@pkgsrc.org>2021-06-01 09:07:26 +0000
commit9d1e113e2e29e98ba50b84fb47bd303736452038 (patch)
treea16e668385f62cf85c827f999e7d3fc752d62d9a /comms
parent9c6e9fd9a94f3df57b1bfb0b13a1da12c669091b (diff)
downloadpkgsrc-9d1e113e2e29e98ba50b84fb47bd303736452038.tar.gz
py-rich: depend on typing-extensions only for Python < 3.8
Diffstat (limited to 'comms')
-rw-r--r--comms/py-rich/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/comms/py-rich/Makefile b/comms/py-rich/Makefile
index c92b2c2d5a2..75bafaf1213 100644
--- a/comms/py-rich/Makefile
+++ b/comms/py-rich/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/05/27 09:49:31 adam Exp $
+# $NetBSD: Makefile,v 1.4 2021/06/01 09:07:26 adam Exp $
DISTNAME= rich-10.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -13,7 +13,6 @@ LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-colorama>=0.4.0:../../comms/py-colorama
DEPENDS+= ${PYPKGPREFIX}-commonmark>=0.9.0:../../textproc/py-commonmark
DEPENDS+= ${PYPKGPREFIX}-pygments>=2.6.0:../../textproc/py-pygments
-DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions
PYTHON_VERSIONS_INCOMPATIBLE= 27
@@ -21,6 +20,9 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
.if ${_PYTHON_VERSION} == 36
DEPENDS+= ${PYPKGPREFIX}-dataclasses>=0.7:../../devel/py-dataclasses
.endif
+.if ${_PYTHON_VERSION} < 38
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions
+.endif
USE_LANGUAGES= # none