pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/comms/py-rich py-rich: depend on typing-extensions onl...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e2304c9a16bb
branches: trunk
changeset: 453652:e2304c9a16bb
user: adam <adam%pkgsrc.org@localhost>
date: Tue Jun 01 09:07:26 2021 +0000
description:
py-rich: depend on typing-extensions only for Python < 3.8
diffstat:
comms/py-rich/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r a217ff3ebca9 -r e2304c9a16bb comms/py-rich/Makefile
--- a/comms/py-rich/Makefile Tue Jun 01 08:35:47 2021 +0000
+++ b/comms/py-rich/Makefile Tue Jun 01 09:07:26 2021 +0000
@@ -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 @@
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 @@
.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
Home |
Main Index |
Thread Index |
Old Index