svn commit: r528306 - in head/devel: . py-python-jsonrpc-server

Tobias C. Berner tcberner at FreeBSD.org
Thu Mar 12 18:33:28 UTC 2020


Author: tcberner
Date: Thu Mar 12 18:33:25 2020
New Revision: 528306
URL: https://svnweb.freebsd.org/changeset/ports/528306

Log:
  New port: devel/py-python-jsonrpc-server: Python implementation of the JSON RPC 2.0 protocol
  
  Python server implementation of the JSON RPC 2.0 protocol. Asynchronous request
  handling is supported.
  
  WWW: https://github.com/palantir/python-jsonrpc-server
  
  PR:		244758
  Submitted by:	Goran Mekić <meka at tilda.center>

Added:
  head/devel/py-python-jsonrpc-server/
  head/devel/py-python-jsonrpc-server/Makefile   (contents, props changed)
  head/devel/py-python-jsonrpc-server/distinfo   (contents, props changed)
  head/devel/py-python-jsonrpc-server/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Mar 12 18:29:13 2020	(r528305)
+++ head/devel/Makefile	Thu Mar 12 18:33:25 2020	(r528306)
@@ -4885,6 +4885,7 @@
     SUBDIR += py-python-gist
     SUBDIR += py-python-gitlab
     SUBDIR += py-python-jenkins
+    SUBDIR += py-python-jsonrpc-server
     SUBDIR += py-python-magic
     SUBDIR += py-python-mimeparse
     SUBDIR += py-python-pcre

Added: head/devel/py-python-jsonrpc-server/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-python-jsonrpc-server/Makefile	Thu Mar 12 18:33:25 2020	(r528306)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	python-jsonrpc-server
+PORTVERSION=	0.3.4
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	meka at tilda.center
+COMMENT=	Python implementation of the  JSON RPC 2.0 protocol
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ujson<=1.35:devel/py-ujson@${PY_FLAVOR}
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+TEST_ENV=	PYTHONPATH=${WRKSRC}/src
+
+NO_ARCH=	yes
+
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
+
+.include <bsd.port.mk>

Added: head/devel/py-python-jsonrpc-server/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-python-jsonrpc-server/distinfo	Thu Mar 12 18:33:25 2020	(r528306)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1583967994
+SHA256 (python-jsonrpc-server-0.3.4.tar.gz) = c73bf5495c9dd4d2f902755bedeb6da5afe778e0beee82f0e195c4655352fe37
+SIZE (python-jsonrpc-server-0.3.4.tar.gz) = 26123

Added: head/devel/py-python-jsonrpc-server/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-python-jsonrpc-server/pkg-descr	Thu Mar 12 18:33:25 2020	(r528306)
@@ -0,0 +1,4 @@
+Python server implementation of the JSON RPC 2.0 protocol. Asynchronous request
+handling is supported.
+
+WWW: https://github.com/palantir/python-jsonrpc-server


More information about the svn-ports-head mailing list