git: 0b64c67430eb - 2022Q1 - devel/py-matrix-common: New port: Common utilities for Synapse, et. al.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Jan 2022 16:37:15 UTC
The branch 2022Q1 has been updated by ashish: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b64c67430eb2b54cbde6234e109e069d6ccd5c3 commit 0b64c67430eb2b54cbde6234e109e069d6ccd5c3 Author: Sascha Biberhofer <ports@skyforge.at> AuthorDate: 2022-01-20 07:49:53 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2022-01-25 16:35:46 +0000 devel/py-matrix-common: New port: Common utilities for Synapse, et. al. PR: 261337 (cherry picked from commit 26df673e02f21c0243c50147fb099db5197aea4a) --- devel/Makefile | 1 + devel/py-matrix-common/Makefile | 31 +++++++++++++++++++++++++++++++ devel/py-matrix-common/distinfo | 3 +++ devel/py-matrix-common/files/setup.py | 3 +++ devel/py-matrix-common/pkg-descr | 3 +++ 5 files changed, 41 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index d95acafacef5..d5ac4d4b1745 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4766,6 +4766,7 @@ SUBDIR += py-marshmallow SUBDIR += py-marshmallow-enum SUBDIR += py-matrix-angular-sdk + SUBDIR += py-matrix-common SUBDIR += py-maturin SUBDIR += py-mccabe SUBDIR += py-mdv diff --git a/devel/py-matrix-common/Makefile b/devel/py-matrix-common/Makefile new file mode 100644 index 000000000000..19f1037eea11 --- /dev/null +++ b/devel/py-matrix-common/Makefile @@ -0,0 +1,31 @@ +PORTNAME= matrix-common +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.0 +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ports@skyforge.at +COMMENT= Common utilities for Synapse, Sydent and Sygnal + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>19.2.0:devel/py-attrs@${PY_FLAVOR} + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=18.9.0:devel/py-twisted@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tox>=2.3.1:devel/py-tox@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils +USE_GITHUB= yes +GH_ACCOUNT= matrix-org +GH_PROJECT= matrix-python-common +NO_ARCH= yes + +post-extract: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + +do-test: + cd ${WRKSRC} && PYTHONPATH="." trial-${PYTHON_VER} tests + +.include <bsd.port.mk> diff --git a/devel/py-matrix-common/distinfo b/devel/py-matrix-common/distinfo new file mode 100644 index 000000000000..062201292092 --- /dev/null +++ b/devel/py-matrix-common/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1642580067 +SHA256 (matrix-org-matrix-python-common-v1.0.0_GH0.tar.gz) = d610357a78caf5141814f055e8b3facabf4dd4863db8594030d58c81b2b2b7fd +SIZE (matrix-org-matrix-python-common-v1.0.0_GH0.tar.gz) = 8535 diff --git a/devel/py-matrix-common/files/setup.py b/devel/py-matrix-common/files/setup.py new file mode 100644 index 000000000000..606849326a40 --- /dev/null +++ b/devel/py-matrix-common/files/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup() diff --git a/devel/py-matrix-common/pkg-descr b/devel/py-matrix-common/pkg-descr new file mode 100644 index 000000000000..2b128f5779c2 --- /dev/null +++ b/devel/py-matrix-common/pkg-descr @@ -0,0 +1,3 @@ +Common utilities for Synapse, Sydent and Sygnal. + +WWW: https://www.matrix.org