Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164413106
D4795.id11941.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
33 KB
Referenced Files
None
Subscribers
None
D4795.id11941.diff
View Options
Index: devel/Makefile
===================================================================
--- devel/Makefile
+++ devel/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
#
- COMMENT = Development utilities
+ COMMENT =
SUBDIR += 9base
SUBDIR += ChipmunkPhysics
@@ -3936,9 +3936,11 @@
SUBDIR += py-bitstring
SUBDIR += py-blessings
SUBDIR += py-blinker
+ SUBDIR += py-blist
SUBDIR += py-bluelet
SUBDIR += py-boto
SUBDIR += py-botocore
+ SUBDIR += py-canonicaljson
SUBDIR += py-capstone
SUBDIR += py-cclib
SUBDIR += py-celery
@@ -3979,6 +3981,7 @@
SUBDIR += py-cycler
SUBDIR += py-d2to1
SUBDIR += py-daemon
+ SUBDIR += py-daemonize
SUBDIR += py-daemons
SUBDIR += py-dal
SUBDIR += py-darcsver
@@ -4034,6 +4037,7 @@
SUBDIR += py-freenas.dispatcher
SUBDIR += py-freenas.utils
SUBDIR += py-freezegun
+ SUBDIR += py-frozendict
SUBDIR += py-fs
SUBDIR += py-fsm
SUBDIR += py-fudge
@@ -4071,6 +4075,7 @@
SUBDIR += py-hgsubversion
SUBDIR += py-hgtools
SUBDIR += py-humanize
+ SUBDIR += py-hypothesis
SUBDIR += py-icalendar
SUBDIR += py-ice
SUBDIR += py-icu
@@ -4128,6 +4133,7 @@
SUBDIR += py-lxml
SUBDIR += py-magic
SUBDIR += py-manuel
+ SUBDIR += py-matrix-angular-sdk
SUBDIR += py-mccabe
SUBDIR += py-meliae
SUBDIR += py-memory_profiler
@@ -4209,6 +4215,7 @@
SUBDIR += py-pycmd
SUBDIR += py-pycparser
SUBDIR += py-pydasm
+ SUBDIR += py-pydenticon
SUBDIR += py-pydoop
SUBDIR += py-pyechonest
SUBDIR += py-pyee
@@ -4290,6 +4297,7 @@
SUBDIR += py-repoze.xmliter
SUBDIR += py-resolver
SUBDIR += py-resourcepackage
+ SUBDIR += py-responses
SUBDIR += py-riak_pb
SUBDIR += py-rlcompleter2
SUBDIR += py-robotframework
@@ -4385,6 +4393,7 @@
SUBDIR += py-unipath
SUBDIR += py-unittest2
SUBDIR += py-unittestplus
+ SUBDIR += py-unpaddedbase64
SUBDIR += py-urlimport
SUBDIR += py-urwid
SUBDIR += py-urwidtrees
Index: devel/py-blist/Makefile
===================================================================
--- /dev/null
+++ devel/py-blist/Makefile
@@ -0,0 +1,25 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= blist
+PORTVERSION= 1.3.6
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Drop-in list replacement with better performance for large lists
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/blist/*.so
+
+.include <bsd.port.mk>
Index: devel/py-blist/distinfo
===================================================================
--- /dev/null
+++ devel/py-blist/distinfo
@@ -0,0 +1,2 @@
+SHA256 (blist-1.3.6.tar.gz) = 3a12c450b001bdf895b30ae818d4d6d3f1552096b8c995f0fe0c74bef04d1fc3
+SIZE (blist-1.3.6.tar.gz) = 122442
Index: devel/py-blist/pkg-descr
===================================================================
--- /dev/null
+++ devel/py-blist/pkg-descr
@@ -0,0 +1,6 @@
+The blist is a drop-in replacement for the Python list that provides better
+performance when modifying large lists. The blist package also provides
+sortedlist, sortedset, weaksortedlist, weaksortedset, sorteddict, and btuple
+types.
+
+WWW: http://stutzbachenterprises.com/blist/
Index: devel/py-canonicaljson/Makefile
===================================================================
--- /dev/null
+++ devel/py-canonicaljson/Makefile
@@ -0,0 +1,28 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= canonicaljson
+PORTVERSION= 1.0.0
+DISTVERSIONPREFIX= v
+CATEGORIES= devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Canonical JSON
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+
+USE_GITHUB= yes
+GH_ACCOUNT= matrix-org
+GH_PROJECT= python-canonicaljson
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest)
+
+.include <bsd.port.mk>
Index: devel/py-canonicaljson/distinfo
===================================================================
--- /dev/null
+++ devel/py-canonicaljson/distinfo
@@ -0,0 +1,2 @@
+SHA256 (matrix-org-python-canonicaljson-v1.0.0_GH0.tar.gz) = 99da302069a91eb2305a5a0a8965738f7345baf6f6ba7266d3cc77e1d5fe827a
+SIZE (matrix-org-python-canonicaljson-v1.0.0_GH0.tar.gz) = 6103
Index: devel/py-canonicaljson/pkg-descr
===================================================================
--- /dev/null
+++ devel/py-canonicaljson/pkg-descr
@@ -0,0 +1,5 @@
+A JSON library for Python that provides features such as sorted keys, no
+insignificant whitespace, minimal escaping where necessary and supports
+frozendict immutable dictionaries.
+
+WWW: https://github.com/matrix-org/python-canonicaljson
Index: devel/py-daemonize/Makefile
===================================================================
--- /dev/null
+++ devel/py-daemonize/Makefile
@@ -0,0 +1,19 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= daemonize
+PORTVERSION= 2.4.2
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Enables code to run as a daemon process on Unix-like systems
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Index: devel/py-daemonize/distinfo
===================================================================
--- /dev/null
+++ devel/py-daemonize/distinfo
@@ -0,0 +1,2 @@
+SHA256 (daemonize-2.4.2.tar.gz) = c21a94cd676d3fbb718af62e6f22209afc7000a9588169b6fb779d62b04e2378
+SIZE (daemonize-2.4.2.tar.gz) = 8631
Index: devel/py-daemonize/pkg-descr
===================================================================
--- /dev/null
+++ devel/py-daemonize/pkg-descr
@@ -0,0 +1,3 @@
+daemonize is a library for writing system daemons in Python.
+
+WWW: https://github.com/thesharp/daemonize
Index: devel/py-frozendict/Makefile
===================================================================
--- /dev/null
+++ devel/py-frozendict/Makefile
@@ -0,0 +1,19 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= frozendict
+PORTVERSION= 0.5
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Immutable dictionary implementation for Python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Index: devel/py-frozendict/distinfo
===================================================================
--- /dev/null
+++ devel/py-frozendict/distinfo
@@ -0,0 +1,2 @@
+SHA256 (frozendict-0.5.tar.gz) = 560c424af4913dad5aa1f6933e78837e597c7000dda2e3624a6e37b5a0799354
+SIZE (frozendict-0.5.tar.gz) = 2167
Index: devel/py-frozendict/pkg-descr
===================================================================
--- /dev/null
+++ devel/py-frozendict/pkg-descr
@@ -0,0 +1,5 @@
+frozendict is an immutable wrapper around dictionaries that implements the
+complete mapping interface. It can be used as a drop-in replacement for
+dictionaries where immutability is desired.
+
+WWW: https://github.com/slezica/python-frozendict
Index: devel/py-hypothesis/Makefile
===================================================================
--- /dev/null
+++ devel/py-hypothesis/Makefile
@@ -0,0 +1,23 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= hypothesis
+PORTVERSION= 1.18.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Library for property based testing
+
+LICENSE= MPL
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
+
+.include <bsd.port.mk>
Index: devel/py-hypothesis/distinfo
===================================================================
--- /dev/null
+++ devel/py-hypothesis/distinfo
@@ -0,0 +1,2 @@
+SHA256 (hypothesis-1.18.1.tar.gz) = 839d382393684e9544cfc855b6a19e1121391bd720a7ace5a6865408c0db0768
+SIZE (hypothesis-1.18.1.tar.gz) = 84868
Index: devel/py-hypothesis/pkg-descr
===================================================================
--- /dev/null
+++ devel/py-hypothesis/pkg-descr
@@ -0,0 +1,6 @@
+Hypothesis is a library for testing your Python code against a much larger
+range of examples than you would ever want to write by hand. It's based on the
+Haskell library, Quickcheck, and is designed to integrate seamlessly into your
+existing Python unit testing work flow.
+
+WWW: https://github.com/DRMacIver/hypothesis
Index: devel/py-matrix-angular-sdk/Makefile
===================================================================
--- /dev/null
+++ devel/py-matrix-angular-sdk/Makefile
@@ -0,0 +1,19 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= matrix-angular-sdk
+PORTVERSION= 0.6.6
+CATEGORIES= devel www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Matrix Angular SDK
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Index: devel/py-matrix-angular-sdk/distinfo
===================================================================
--- /dev/null
+++ devel/py-matrix-angular-sdk/distinfo
@@ -0,0 +1,2 @@
+SHA256 (matrix-angular-sdk-0.6.6.tar.gz) = 0aed05de4543be510132b4a58df7a9bd3cbb1b136a83f22c45f0a1b5628576ee
+SIZE (matrix-angular-sdk-0.6.6.tar.gz) = 776580
Index: devel/py-matrix-angular-sdk/pkg-descr
===================================================================
--- /dev/null
+++ devel/py-matrix-angular-sdk/pkg-descr
@@ -0,0 +1,3 @@
+An Angular SDK for the Matrix project.
+
+WWW: https://github.com/matrix-org/matrix-angular-sdk
Index: devel/py-pydenticon/Makefile
===================================================================
--- /dev/null
+++ devel/py-pydenticon/Makefile
@@ -0,0 +1,24 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= pydenticon
+PORTVERSION= 0.2
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Library for generating identicons - an enhanced port of Sigil
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
+
+.include <bsd.port.mk>
Index: devel/py-pydenticon/distinfo
===================================================================
--- /dev/null
+++ devel/py-pydenticon/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pydenticon-0.2.tar.gz) = f7b390e3198886b6a186da06c61053298275f430c8daa567165cbeab1957ad0c
+SIZE (pydenticon-0.2.tar.gz) = 25583
Index: devel/py-pydenticon/pkg-descr
===================================================================
--- /dev/null
+++ devel/py-pydenticon/pkg-descr
@@ -0,0 +1,4 @@
+Pydenticon is a small utility library that can be used for deterministically
+generating identicons based on the hash of provided data.
+
+WWW: https://github.com/azaghal/pydenticon
Index: devel/py-responses/Makefile
===================================================================
--- /dev/null
+++ devel/py-responses/Makefile
@@ -0,0 +1,21 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= responses
+PORTVERSION= 0.5.0
+CATEGORIES= devel www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Utility library for mocking out the requests Python library
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>2.0.0:${PORTSDIR}/www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}cookies>0:${PORTSDIR}/www/py-cookies
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Index: devel/py-responses/distinfo
===================================================================
--- /dev/null
+++ devel/py-responses/distinfo
@@ -0,0 +1,2 @@
+SHA256 (responses-0.5.0.tar.gz) = 4c76c560eefb42fb5f0ac59f39f90c295cf6e4f080562c124e3ad247a2be11cf
+SIZE (responses-0.5.0.tar.gz) = 5957
Index: devel/py-responses/pkg-descr
===================================================================
--- /dev/null
+++ devel/py-responses/pkg-descr
@@ -0,0 +1,3 @@
+A utility library for mocking out the requests Python library.
+
+WWW: https://github.com/getsentry/responses
Index: devel/py-unpaddedbase64/Makefile
===================================================================
--- /dev/null
+++ devel/py-unpaddedbase64/Makefile
@@ -0,0 +1,28 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= unpaddedbase64
+PORTVERSION= 1.0.1
+DISTVERSIONPREFIX= v
+CATEGORIES= devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Unpadded Base64
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+
+USE_GITHUB= yes
+GH_ACCOUNT= matrix-org
+GH_PROJECT= python-unpaddedbase64
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest)
+
+.include <bsd.port.mk>
Index: devel/py-unpaddedbase64/distinfo
===================================================================
--- /dev/null
+++ devel/py-unpaddedbase64/distinfo
@@ -0,0 +1,2 @@
+SHA256 (matrix-org-python-unpaddedbase64-v1.0.1_GH0.tar.gz) = 5ed4493a8af7083e8a5dba8364712d0d96b9e7c01207599a1b7c1b0c117334e6
+SIZE (matrix-org-python-unpaddedbase64-v1.0.1_GH0.tar.gz) = 5759
Index: devel/py-unpaddedbase64/pkg-descr
===================================================================
--- /dev/null
+++ devel/py-unpaddedbase64/pkg-descr
@@ -0,0 +1,7 @@
+Encode and decode Base64 without "=" padding.
+
+RFC 4648 specifies that Base64 should be padded to a multiple of 4 bytes using
+"=" characters. However this conveys no benefit so many protocols choose to use
+Base64 without the "=" padding.
+
+WWW: https://github.com/matrix-org/python-unpaddedbase64
Index: net/Makefile
===================================================================
--- net/Makefile
+++ net/Makefile
@@ -945,6 +945,7 @@
SUBDIR += py-libcloud
SUBDIR += py-libdnet
SUBDIR += py-libnet
+ SUBDIR += py-matrix-synapse
SUBDIR += py-maxminddb
SUBDIR += py-miniupnpc
SUBDIR += py-msrplib
Index: net/py-matrix-synapse/Makefile
===================================================================
--- /dev/null
+++ net/py-matrix-synapse/Makefile
@@ -0,0 +1,52 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $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
+
+USE_GITHUB= yes
+GH_ACCOUNT= matrix-org
+GH_PROJECT= synapse
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+do-test:
+ # -epy27 added to skip running python packaging and other dist tests
+ @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${TEST_TARGET} \
+ -a "-epy27")
+
+.include <bsd.port.mk>
Index: net/py-matrix-synapse/distinfo
===================================================================
--- /dev/null
+++ net/py-matrix-synapse/distinfo
@@ -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
Index: net/py-matrix-synapse/files/patch-tox.ini
===================================================================
--- /dev/null
+++ net/py-matrix-synapse/files/patch-tox.ini
@@ -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:}"
Index: net/py-matrix-synapse/pkg-descr
===================================================================
--- /dev/null
+++ net/py-matrix-synapse/pkg-descr
@@ -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
Index: security/Makefile
===================================================================
--- security/Makefile
+++ security/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
#
- COMMENT = Security tools
+ COMMENT =
SUBDIR += ADMsmb
SUBDIR += ADMsnmp
@@ -852,8 +852,11 @@
SUBDIR += py-pydeep
SUBDIR += py-pyelliptic
SUBDIR += py-pylibacl
+ SUBDIR += py-pymacaroons-pynacl
SUBDIR += py-pyme
+ SUBDIR += py-pynacl
SUBDIR += py-pyptlib
+ SUBDIR += py-pysaml2
SUBDIR += py-pyscard
SUBDIR += py-pysha3
SUBDIR += py-python-gnupg
@@ -864,6 +867,7 @@
SUBDIR += py-requests-kerberos
SUBDIR += py-rsa
SUBDIR += py-service_identity
+ SUBDIR += py-signedjson
SUBDIR += py-slowaes
SUBDIR += py-ssh
SUBDIR += py-sslstrip
Index: security/py-pymacaroons-pynacl/Makefile
===================================================================
--- /dev/null
+++ security/py-pymacaroons-pynacl/Makefile
@@ -0,0 +1,32 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= pymacaroons-pynacl
+PORTVERSION= 0.9.3
+DISTVERSIONPREFIX= v
+CATEGORIES= security devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Macaroon library for Python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynacl>=0.3.0:${PORTSDIR}/security/py-pynacl \
+ ${PYTHON_PKGNAMEPREFIX}six>=1.8.0:${PORTSDIR}/devel/py-six
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:${PORTSDIR}/devel/py-hypothesis \
+ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
+ ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose
+
+USE_GITHUB= yes
+GH_ACCOUNT= matrix-org
+GH_PROJECT= pymacaroons
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} nosetests)
+
+.include <bsd.port.mk>
Index: security/py-pymacaroons-pynacl/distinfo
===================================================================
--- /dev/null
+++ security/py-pymacaroons-pynacl/distinfo
@@ -0,0 +1,2 @@
+SHA256 (matrix-org-pymacaroons-v0.9.3_GH0.tar.gz) = 871399c4dc1dfab7a435df2d5f2954cbba51d275ca2e93a96abb8b35d348fe5a
+SIZE (matrix-org-pymacaroons-v0.9.3_GH0.tar.gz) = 20872
Index: security/py-pymacaroons-pynacl/files/patch-tests_functional__tests_functional__tests.py
===================================================================
--- /dev/null
+++ security/py-pymacaroons-pynacl/files/patch-tests_functional__tests_functional__tests.py
@@ -0,0 +1,30 @@
+--- tests/functional_tests/functional_tests.py.orig 2016-01-04 04:05:59 UTC
++++ tests/functional_tests/functional_tests.py
+@@ -3,6 +3,7 @@ import json
+
+ from mock import *
+ from nose.tools import *
++from unittest import skipUnless
+
+ import nacl.bindings
+
+@@ -11,6 +12,11 @@ from pymacaroons.serializers import *
+ from pymacaroons.exceptions import *
+ from pymacaroons.utils import *
+
++# A test desires libnacl, but we don't need it.
++try:
++ import libnacl
++except:
++ pass
+
+ ZERO_NONCE = truncate_or_pad(
+ b'\0', size=nacl.bindings.crypto_secretbox_NONCEBYTES)
+@@ -297,6 +303,7 @@ never use the same secret twice',
+ )
+ assert_true(verified)
+
++ @skipUnless('libnacl' in globals(), 'libnacl imported already')
+ @patch('libnacl.secret.libnacl.utils.rand_nonce')
+ def test_inspect(self, rand_nonce):
+ # use a fixed nonce to ensure the same signature
Index: security/py-pymacaroons-pynacl/pkg-descr
===================================================================
--- /dev/null
+++ security/py-pymacaroons-pynacl/pkg-descr
@@ -0,0 +1,6 @@
+Macaroons, like cookies, are a form of bearer credential. Unlike opaque tokens,
+macaroons embed caveats that define specific authorization requirements for the
+target service, the service that issued the root macaroon and which is capable
+of verifying the integrity of macaroons it receives.
+
+WWW: https://github.com/matrix-org/pymacaroons
Index: security/py-pynacl/Makefile
===================================================================
--- /dev/null
+++ security/py-pynacl/Makefile
@@ -0,0 +1,30 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= pynacl
+PORTVERSION= 0.3.0
+CATEGORIES= security devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= PyNaCl-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Python binding to the Networking and Cryptography (NaCl) library
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+LIB_DEPENDS= libsodium.so:${PORTSDIR}/security/libsodium
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:${PORTSDIR}/devel/py-cffi
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/nacl/_lib/*.so
+
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest tests)
+
+.include <bsd.port.mk>
Index: security/py-pynacl/distinfo
===================================================================
--- /dev/null
+++ security/py-pynacl/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PyNaCl-0.3.0.tar.gz) = 124997314455605f61afae6cf8b99b32d10f2dba22f114acb4c80d352eed76c2
+SIZE (PyNaCl-0.3.0.tar.gz) = 2569604
Index: security/py-pynacl/files/patch-setup.py
===================================================================
--- /dev/null
+++ security/py-pynacl/files/patch-setup.py
@@ -0,0 +1,12 @@
+--- setup.py.orig 2015-12-23 21:36:18 UTC
++++ setup.py
+@@ -169,7 +169,8 @@ class build_clib(_build_clib):
+ # Ensure our temporary build directory exists
+ try:
+ os.makedirs(build_temp)
+- except IOError:
++ # Python 2.7 throws an OSError.
++ except (IOError, OSError):
+ pass
+
+ # Ensure all of our executanle files have their permission set
Index: security/py-pynacl/pkg-descr
===================================================================
--- /dev/null
+++ security/py-pynacl/pkg-descr
@@ -0,0 +1,4 @@
+PyNaCl is a Python binding to the Networking and Cryptography library, a crypto
+library with the stated goal of improving usability, security and speed.
+
+WWW: https://pynacl.readthedocs.org/en/latest/
Index: security/py-pysaml2/Makefile
===================================================================
--- /dev/null
+++ security/py-pysaml2/Makefile
@@ -0,0 +1,37 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= pysaml2
+PORTVERSION= 4.0.1
+CATEGORIES= security devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Python implementation of SAML Version 2
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \
+ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
+ ${PYTHON_PKGNAMEPREFIX}responses>0:${PORTSDIR}/devel/py-responses
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>0:${PORTSDIR}/devel/py-decorator \
+ ${PYTHON_PKGNAMEPREFIX}requests>1.0.0:${PORTSDIR}/www/py-requests \
+ ${PYTHON_PKGNAMEPREFIX}Paste>0:${PORTSDIR}/www/py-paste \
+ ${PYTHON_PKGNAMEPREFIX}zope.interface>0:${PORTSDIR}/devel/py-zope.interface \
+ ${PYTHON_PKGNAMEPREFIX}repoze.who>0:${PORTSDIR}/devel/py-repoze.who \
+ ${PYTHON_PKGNAMEPREFIX}pycrypto>2.5:${PORTSDIR}/security/py-pycrypto \
+ ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \
+ ${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl \
+ ${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil \
+ ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
+ xmlsec1:${PORTSDIR}/security/xmlsec1
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest)
+
+.include <bsd.port.mk>
Index: security/py-pysaml2/distinfo
===================================================================
--- /dev/null
+++ security/py-pysaml2/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pysaml2-4.0.1.tar.gz) = 8bd010ceac7b0c29b7bd67bd5b7bc993f3975eae67f8c49b4bf89a8dc4e5a948
+SIZE (pysaml2-4.0.1.tar.gz) = 13656835
Index: security/py-pysaml2/files/patch-tests_test__52__default__sign__alg.py
===================================================================
--- /dev/null
+++ security/py-pysaml2/files/patch-tests_test__52__default__sign__alg.py
@@ -0,0 +1,12 @@
+--- tests/test_52_default_sign_alg.py.orig 2015-12-23 21:15:07 UTC
++++ tests/test_52_default_sign_alg.py
+@@ -8,7 +8,8 @@ from saml2.samlp import response_from_st
+ from saml2.server import Server
+ from saml2 import client
+ from saml2 import config
+-from mock.mock import Mock, MagicMock
++# mock.mock seems to rely on pre-2.7 packaging
++from mock import Mock, MagicMock
+ import saml2.xmldsig as ds
+
+ nid = NameID(name_qualifier="foo", format=NAMEID_FORMAT_TRANSIENT,
Index: security/py-pysaml2/files/patch-tests_test__84__entcat.py
===================================================================
--- /dev/null
+++ security/py-pysaml2/files/patch-tests_test__84__entcat.py
@@ -0,0 +1,12 @@
+--- tests/test_84_entcat.py.orig 2015-12-23 21:20:13 UTC
++++ tests/test_84_entcat.py
+@@ -72,7 +72,8 @@ def test_entcat_filter():
+
+ mds = MetadataStore(ATTRCONV, sec_config,
+ disable_ssl_certificate_validation=True)
+- _path = "testfed-metadata.xml"
++ # Incorrect path was being derived
++ _path = full_path("testfed-metadata.xml")
+ mds.imp(
+ {"local": [_path]})
+
Index: security/py-pysaml2/pkg-descr
===================================================================
--- /dev/null
+++ security/py-pysaml2/pkg-descr
@@ -0,0 +1,6 @@
+PySAML2 is a pure python implementation of SAML2. It contains all necessary
+pieces for building a SAML2 service provider or an identity provider. The
+distribution contains examples of both. Originally written to work in a WSGI
+environment there are extensions that allow you to use it with other frameworks.
+
+WWW: https://github.com/rohe/pysaml2
Index: security/py-signedjson/Makefile
===================================================================
--- /dev/null
+++ security/py-signedjson/Makefile
@@ -0,0 +1,31 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= signedjson
+PORTVERSION= 1.0.0
+DISTVERSIONPREFIX= v
+CATEGORIES= security devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Sign JSON with Ed25519 signatures
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pynacl>=0.3.0:${PORTSDIR}/security/py-pynacl \
+ ${PYTHON_PKGNAMEPREFIX}unpaddedbase64>=1.0.1:${PORTSDIR}/devel/py-unpaddedbase64 \
+ ${PYTHON_PKGNAMEPREFIX}canonicaljson>=1.0.0:${PORTSDIR}/devel/py-canonicaljson
+
+USE_GITHUB= yes
+GH_ACCOUNT= matrix-org
+GH_PROJECT= python-signedjson
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest tests)
+
+.include <bsd.port.mk>
Index: security/py-signedjson/distinfo
===================================================================
--- /dev/null
+++ security/py-signedjson/distinfo
@@ -0,0 +1,2 @@
+SHA256 (matrix-org-python-signedjson-v1.0.0_GH0.tar.gz) = 9f50fbd678f3d0683e27c38533995c078d2bc2a2ee308f0b1161b5c7f8f68403
+SIZE (matrix-org-python-signedjson-v1.0.0_GH0.tar.gz) = 8563
Index: security/py-signedjson/pkg-descr
===================================================================
--- /dev/null
+++ security/py-signedjson/pkg-descr
@@ -0,0 +1,4 @@
+python-signedjson allows more than one entity to sign an object, can sign with
+more than one key and replace ED25519 with a different algorithm.
+
+WWW: https://github.com/matrix-org/python-signedjson
Index: www/Makefile
===================================================================
--- www/Makefile
+++ www/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
#
- COMMENT = Ports related to the World Wide Web
+ COMMENT =
SUBDIR += MT
SUBDIR += R-cran-RgoogleMaps
@@ -1516,6 +1516,7 @@
SUBDIR += py-clientform
SUBDIR += py-collective.easytemplate
SUBDIR += py-collective.templateengines
+ SUBDIR += py-cookies
SUBDIR += py-cssmin
SUBDIR += py-cssselect
SUBDIR += py-cssutils
Index: www/py-cookies/Makefile
===================================================================
--- /dev/null
+++ www/py-cookies/Makefile
@@ -0,0 +1,24 @@
+# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
+# $FreeBSD$
+
+PORTNAME= cookies
+PORTVERSION= 2.2.1
+CATEGORIES= www devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= brendan+freebsd@bbqsrc.net
+COMMENT= Friendlier RFC 6265-compliant cookie parser/renderer
+
+LICENSE= MIT
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+
+do-test:
+ @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test)
+
+.include <bsd.port.mk>
Index: www/py-cookies/distinfo
===================================================================
--- /dev/null
+++ www/py-cookies/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cookies-2.2.1.tar.gz) = d6b698788cae4cfa4e62ef8643a9ca332b79bd96cb314294b864ae8d7eb3ee8e
+SIZE (cookies-2.2.1.tar.gz) = 40704
Index: www/py-cookies/pkg-descr
===================================================================
--- /dev/null
+++ www/py-cookies/pkg-descr
@@ -0,0 +1,6 @@
+cookies.py is a Python module for working with HTTP cookies: parsing and
+rendering 'Cookie:' request headers and 'Set-Cookie:' response headers, and
+exposing a convenient API for creating and modifying cookies. It can be used
+as a replacement of Python's Cookie.py (aka http.cookies).
+
+WWW: https://github.com/sashahart/cookies
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Aug 1, 5:30 PM (18 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35826967
Default Alt Text
D4795.id11941.diff (33 KB)
Attached To
Mode
D4795: Introduce net/py-matrix-synapse into Ports tree
Attached
Detach File
Event Timeline
Log In to Comment