pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/comms/py-rich



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Jun  1 09:07:26 UTC 2021

Modified Files:
        pkgsrc/comms/py-rich: Makefile

Log Message:
py-rich: depend on typing-extensions only for Python < 3.8


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/comms/py-rich/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/comms/py-rich/Makefile
diff -u pkgsrc/comms/py-rich/Makefile:1.3 pkgsrc/comms/py-rich/Makefile:1.4
--- pkgsrc/comms/py-rich/Makefile:1.3   Thu May 27 09:49:31 2021
+++ pkgsrc/comms/py-rich/Makefile       Tue Jun  1 09:07:26 2021
@@ -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
 



Home | Main Index | Thread Index | Old Index