pkgsrc-WIP-changes archive

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

py-matrix-nio: Add py-dataclasses dep for py36



Module Name:	pkgsrc-wip
Committed By:	snow flurry <snow%datagirl.xyz@localhost>
Pushed By:	flurry
Date:		Tue Aug 24 21:54:02 2021 -0400
Changeset:	a8876f5712cccc058a4a388f32c336a568b966e6

Modified Files:
	py-matrix-nio/Makefile

Log Message:
py-matrix-nio: Add py-dataclasses dep for py36

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a8876f5712cccc058a4a388f32c336a568b966e6

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

diffstat:
 py-matrix-nio/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diffs:
diff --git a/py-matrix-nio/Makefile b/py-matrix-nio/Makefile
index 33d186d09e..5617d06b1a 100644
--- a/py-matrix-nio/Makefile
+++ b/py-matrix-nio/Makefile
@@ -9,7 +9,10 @@ HOMEPAGE=	https://github.com/poljar/matrix-nio
 COMMENT=	Matrix client library for Python
 LICENSE=	isc
 
-# TODO: py36 requires dataclasses
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 36
+DEPENDS+=	${PYPKGPREFIX}-dataclasses>=0.7:../../devel/py-dataclasses
+.endif
 DEPENDS+=	${PYPKGPREFIX}-aiofiles>=0.6.0:../../devel/py-aiofiles
 DEPENDS+=	${PYPKGPREFIX}-aiohttp-socks>=0.6.0:../../www/py-aiohttp-socks
 DEPENDS+=	${PYPKGPREFIX}-aiohttp>=3.7.4:../../www/py-aiohttp


Home | Main Index | Thread Index | Old Index