From owner-svn-ports-all@freebsd.org Fri Jan 8 05:05:36 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CDDD8A66C25; Fri, 8 Jan 2016 05:05:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A91181389; Fri, 8 Jan 2016 05:05:36 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0855ZNp096777; Fri, 8 Jan 2016 05:05:35 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0855ZQl096772; Fri, 8 Jan 2016 05:05:35 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201601080505.u0855ZQl096772@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Fri, 8 Jan 2016 05:05:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405527 - in head/net: . py-matrix-synapse py-matrix-synapse/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2016 05:05:36 -0000 Author: koobs Date: Fri Jan 8 05:05:35 2016 New Revision: 405527 URL: https://svnweb.freebsd.org/changeset/ports/405527 Log: [NEW] net/py-matrix-synapse: Matrix protocol reference homeserver Matrix is an ambitious new ecosystem for open federated Instant Messaging and VoIP. The basics you need to know to get up and running are: * Everything in Matrix happens in a room. Rooms are distributed and do not exist on any single server. Rooms can be located using convenience aliases like #matrix:matrix.org or #test:localhost:8448. * Matrix user IDs look like @matthew:matrix.org (although in the future you will normally refer to yourself and others using a 3PID: email address, phone number, etc rather than manipulating Matrix user IDs) Synapse is currently in rapid development, but as of version 0.5 we believe it is sufficiently stable to be run as an internet-facing service for real usage! WWW: https://www.matrix.org PR: 205914 Submitted by: Brendan Molloy Added: head/net/py-matrix-synapse/ head/net/py-matrix-synapse/Makefile (contents, props changed) head/net/py-matrix-synapse/distinfo (contents, props changed) head/net/py-matrix-synapse/files/ head/net/py-matrix-synapse/files/patch-tox.ini (contents, props changed) head/net/py-matrix-synapse/pkg-descr (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Fri Jan 8 05:03:39 2016 (r405526) +++ head/net/Makefile Fri Jan 8 05:05:35 2016 (r405527) @@ -947,6 +947,7 @@ SUBDIR += py-libcloud SUBDIR += py-libdnet SUBDIR += py-libnet + SUBDIR += py-matrix-synapse SUBDIR += py-maxminddb SUBDIR += py-miniupnpc SUBDIR += py-msrplib Added: head/net/py-matrix-synapse/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-matrix-synapse/Makefile Fri Jan 8 05:05:35 2016 (r405527) @@ -0,0 +1,54 @@ +# Created by: Brendan Molloy +# $FreeBSD$ + +PORTNAME= matrix-synapse +DISTVERSIONPREFIX= v +DISTVERSION= 0.12.0 +CATEGORIES= net python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= brendan+freebsd@bbqsrc.net +COMMENT= Matrix protocol reference homeserver + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}virtualenv>0:${PORTSDIR}/devel/py-virtualenv \ + ${PYTHON_PKGNAMEPREFIX}tox>0:${PORTSDIR}/devel/py-tox +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}frozendict>=0.4:${PORTSDIR}/devel/py-frozendict \ + ${PYTHON_PKGNAMEPREFIX}unpaddedbase64>=1.0.1:${PORTSDIR}/devel/py-unpaddedbase64 \ + ${PYTHON_PKGNAMEPREFIX}canonicaljson>=1.0.0:${PORTSDIR}/devel/py-canonicaljson \ + ${PYTHON_PKGNAMEPREFIX}signedjson>=1.0.0:${PORTSDIR}/security/py-signedjson \ + ${PYTHON_PKGNAMEPREFIX}pynacl>=0.3.0:${PORTSDIR}/security/py-pynacl \ + ${PYTHON_PKGNAMEPREFIX}service_identity>=1.0.0:${PORTSDIR}/security/py-service_identity \ + ${PYTHON_PKGNAMEPREFIX}twisted>=15.1.0:${PORTSDIR}/devel/py-twisted \ + ${PYTHON_PKGNAMEPREFIX}openssl>=0.14:${PORTSDIR}/security/py-openssl \ + ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml \ + ${PYTHON_PKGNAMEPREFIX}pyasn1>0:${PORTSDIR}/devel/py-pyasn1 \ + ${PYTHON_PKGNAMEPREFIX}daemonize>0:${PORTSDIR}/devel/py-daemonize \ + ${PYTHON_PKGNAMEPREFIX}bcrypt>0:${PORTSDIR}/security/py-bcrypt \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \ + ${PYTHON_PKGNAMEPREFIX}pydenticon>0:${PORTSDIR}/devel/py-pydenticon \ + ${PYTHON_PKGNAMEPREFIX}ujson>0:${PORTSDIR}/devel/py-ujson \ + ${PYTHON_PKGNAMEPREFIX}blist>0:${PORTSDIR}/devel/py-blist \ + ${PYTHON_PKGNAMEPREFIX}pysaml2>0:${PORTSDIR}/security/py-pysaml2 \ + ${PYTHON_PKGNAMEPREFIX}pymacaroons-pynacl>0:${PORTSDIR}/security/py-pymacaroons-pynacl \ + ${PYTHON_PKGNAMEPREFIX}simplejson>0:${PORTSDIR}/devel/py-simplejson \ + ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ + ${PYTHON_PKGNAMEPREFIX}matrix-angular-sdk>0:${PORTSDIR}/devel/py-matrix-angular-sdk + +USES= python +USE_GITHUB= yes +USE_PYTHON= autoplist distutils + +GH_ACCOUNT= matrix-org +GH_PROJECT= synapse + +NO_ARCH= yes + +do-test: + # -epy27 added to skip running python packaging and other dist tests + @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${TEST_TARGET} \ + -a "-epy27") + +.include Added: head/net/py-matrix-synapse/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-matrix-synapse/distinfo Fri Jan 8 05:05:35 2016 (r405527) @@ -0,0 +1,2 @@ +SHA256 (matrix-org-synapse-v0.12.0_GH0.tar.gz) = 26a3d97c7ff97ce970d042f6e07d3f8af7477504da3e208aa6d811f8f999b8e0 +SIZE (matrix-org-synapse-v0.12.0_GH0.tar.gz) = 572984 Added: head/net/py-matrix-synapse/files/patch-tox.ini ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-matrix-synapse/files/patch-tox.ini Fri Jan 8 05:05:35 2016 (r405527) @@ -0,0 +1,20 @@ +--- tox.ini.orig 2016-01-04 14:02:50 UTC ++++ tox.ini +@@ -10,8 +10,9 @@ deps = + junitxml + setenv = + PYTHONDONTWRITEBYTECODE = no_byte_code ++# Assumes bash unnecessarily + commands = +- /bin/bash -c "coverage run {env:COVERAGE_OPTS:} --source={toxinidir}/synapse \ ++ /bin/sh -c "coverage run {env:COVERAGE_OPTS:} --source={toxinidir}/synapse \ + {envbindir}/trial {env:TRIAL_FLAGS:} {posargs:tests} {env:TOXSUFFIX:}" + {env:DUMP_COVERAGE_COMMAND:coverage report -m} + +@@ -26,4 +27,5 @@ skip_install = True + basepython = python2.7 + deps = + flake8 +-commands = /bin/bash -c "flake8 synapse {env:PEP8SUFFIX:}" ++# Assumes bash unnecessarily ++commands = /bin/sh -c "flake8 synapse {env:PEP8SUFFIX:}" Added: head/net/py-matrix-synapse/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-matrix-synapse/pkg-descr Fri Jan 8 05:05:35 2016 (r405527) @@ -0,0 +1,14 @@ +Matrix is an ambitious new ecosystem for open federated Instant Messaging and +VoIP. The basics you need to know to get up and running are: + + * Everything in Matrix happens in a room. Rooms are distributed and do not + exist on any single server. Rooms can be located using convenience + aliases like #matrix:matrix.org or #test:localhost:8448. + * Matrix user IDs look like @matthew:matrix.org (although in the future you + will normally refer to yourself and others using a 3PID: email address, + phone number, etc rather than manipulating Matrix user IDs) + +Synapse is currently in rapid development, but as of version 0.5 we believe it +is sufficiently stable to be run as an internet-facing service for real usage! + +WWW: https://www.matrix.org