Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2020 09:27:06 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r550008 - in head/devel: . py-genson
Message-ID:  <202009250927.08P9R6Qd065586@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Sep 25 09:27:06 2020
New Revision: 550008
URL: https://svnweb.freebsd.org/changeset/ports/550008

Log:
  Add py-genson 1.2.2, genSON is a powerful, user-friendly JSON Schema
  generator.

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Sep 25 09:26:17 2020	(r550007)
+++ head/devel/Makefile	Fri Sep 25 09:27:06 2020	(r550008)
@@ -4416,6 +4416,7 @@
     SUBDIR += py-game_sdl2
     SUBDIR += py-gast
     SUBDIR += py-gdata
+    SUBDIR += py-genson
     SUBDIR += py-genty
     SUBDIR += py-geojson
     SUBDIR += py-gevent

Added: head/devel/py-genson/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-genson/Makefile	Fri Sep 25 09:27:06 2020	(r550008)
@@ -0,0 +1,24 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	genson
+PORTVERSION=	1.2.2
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	ehaupt@FreeBSD.org
+COMMENT=	GenSON is a powerful, user-friendly JSON Schema generator
+
+LICENSE=	MIT
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jsonschema>=3.0.1:devel/py-jsonschema@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python:3.4+
+USE_PYTHON=	autoplist concurrent distutils
+
+do-test:
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+
+.include <bsd.port.mk>

Added: head/devel/py-genson/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-genson/distinfo	Fri Sep 25 09:27:06 2020	(r550008)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1601017489
+SHA256 (genson-1.2.2.tar.gz) = 8caf69aa10af7aee0e1a1351d1d06801f4696e005f06cedef438635384346a16
+SIZE (genson-1.2.2.tar.gz) = 34387

Added: head/devel/py-genson/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-genson/pkg-descr	Fri Sep 25 09:27:06 2020	(r550008)
@@ -0,0 +1,7 @@
+GenSON's core function is to take JSON objects and generate schemas that
+describe them, but it is unique in its ability to merge schemas. It was
+originally built to describe the common structure of a large number of
+JSON objects, and it uses its merging ability to generate a single
+schema from any number of JSON objects and/or schemas.
+
+WWW: https://pypi.org/project/genson/



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