pkgsrc-WIP-changes archive

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

matrix-synapse: Add optional dependencies



Module Name:	pkgsrc-wip
Committed By:	Jonathan Schleifer <js%nil.im@localhost>
Pushed By:	js
Date:		Mon Aug 31 22:42:58 2020 +0200
Changeset:	c314d477fad364ba6c6168be654bdc13a9cb087d

Modified Files:
	matrix-synapse/Makefile

Log Message:
matrix-synapse: Add optional dependencies

While psycopg2 is optional, the project strongly recommends against
running a production server with SQLite3, so the work of making it an
option does not seem to be worth it.

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

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

diffstat:
 matrix-synapse/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/matrix-synapse/Makefile b/matrix-synapse/Makefile
index 62a6fbaaef..cbfb560633 100644
--- a/matrix-synapse/Makefile
+++ b/matrix-synapse/Makefile
@@ -14,6 +14,7 @@ HOMEPAGE=	https://github.com/matrix-org/synapse/
 COMMENT=	Reference homeserver for the Matrix decentralised comms protocol
 LICENSE=	apache-2.0
 
+DEPENDS+=	${PYPKGPREFIX}-sqlite3>=0:../../databases/py-sqlite3
 DEPENDS+=	${PYPKGPREFIX}-jsonschema>=2.5.1:../../textproc/py-jsonschema
 DEPENDS+=	${PYPKGPREFIX}-frozendict>=1:../../devel/py-frozendict
 DEPENDS+=	${PYPKGPREFIX}-unpaddedbase64>=1.1.0:../../devel/py-unpaddedbase64
@@ -42,6 +43,7 @@ DEPENDS+=	${PYPKGPREFIX}-netaddr>=0.7.18:../../net/py-netaddr
 DEPENDS+=	${PYPKGPREFIX}-jinja2>=2.9:../../textproc/py-jinja2
 DEPENDS+=	${PYPKGPREFIX}-bleach>=1.4.3:../../www/py-bleach
 DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=3.7.4:../../devel/py-typing-extensions
+DEPENDS+=	${PYPKGPREFIX}-psycopg2>=2.7:../../databases/py-psycopg2
 
 WRKSRC=		${WRKDIR}/synapse-${DISTNAME:S,^v,,}
 USE_LANGUAGES=	# none


Home | Main Index | Thread Index | Old Index