Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2017 16:32:09 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436553 - head/net/py-matrix-synapse
Message-ID:  <201703201632.v2KGW9LO010360@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Mon Mar 20 16:32:08 2017
New Revision: 436553
URL: https://svnweb.freebsd.org/changeset/ports/436553

Log:
  net/py-matrix-synapse: Add support for postgres database backend

Modified:
  head/net/py-matrix-synapse/Makefile

Modified: head/net/py-matrix-synapse/Makefile
==============================================================================
--- head/net/py-matrix-synapse/Makefile	Mon Mar 20 16:25:23 2017	(r436552)
+++ head/net/py-matrix-synapse/Makefile	Mon Mar 20 16:32:08 2017	(r436553)
@@ -4,7 +4,7 @@
 PORTNAME=	matrix-synapse
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.19.2
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	net python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -65,6 +65,12 @@ PLIST_FILES+=	"@sample %%ETCDIR%%/log.co
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	PGSQL
+OPTIONS_DEFAULT=
+PGSQL_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:databases/py-psycopg2
+
+.include <bsd.port.options.mk>
+
 do-test:
 	# -epy27 added to skip running python packaging and other dist tests
 	@(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${TEST_TARGET} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703201632.v2KGW9LO010360>