Date: Sat, 28 Jul 2018 12:15:40 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475541 - in head/devel: . py-schematics-patched Message-ID: <201807281215.w6SCFeKN073206@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sat Jul 28 12:15:39 2018 New Revision: 475541 URL: https://svnweb.freebsd.org/changeset/ports/475541 Log: Schematics is a Python library to combine types into structures, validate them, and transform the shapes of your data based on simple descriptions. The internals are similar to ORM type systems, but there is no database layer in Schematics. Instead, we believe that building a database layer is made significantly easier when Schematics handles everything but writing the query. Further, it can be used for a range of tasks where having a database involved may not make sense. Some common use cases: - Design and document specific data structures - Convert structures to and from different formats such as JSON or MsgPack - Validate API inputs - Remove fields based on access rights of some data's recipient - Define message formats for communications protocols, like an RPC - Custom persistence layers Note: This is the patched version from the 1.1.x branch that can pickle with multiprocessing using the old API. WWW: https://github.com/pombredanne/schematics PR: 229499 Submitted by: freebsd_ports@k-worx.org Sponsored by: iXsystems Inc. Added: head/devel/py-schematics-patched/ head/devel/py-schematics-patched/Makefile (contents, props changed) head/devel/py-schematics-patched/distinfo (contents, props changed) head/devel/py-schematics-patched/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Jul 28 12:14:51 2018 (r475540) +++ head/devel/Makefile Sat Jul 28 12:15:39 2018 (r475541) @@ -5016,6 +5016,7 @@ SUBDIR += py-sanetime SUBDIR += py-sarge SUBDIR += py-schema + SUBDIR += py-schematics-patched SUBDIR += py-scripttest SUBDIR += py-sdl2 SUBDIR += py-selection Added: head/devel/py-schematics-patched/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-schematics-patched/Makefile Sat Jul 28 12:15:39 2018 (r475541) @@ -0,0 +1,25 @@ +# $FreeBSD$ + +PORTNAME= schematics-patched +DISTVERSIONPREFIX= v +DISTVERSION= 1.1.2-patch +CATEGORIES= devel python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= freebsd_ports@k-worx.org +COMMENT= Patched version of schematics that can pickle with multiprocessing + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.7.3:devel/py-six@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist +USE_GITHUB= yes +GH_ACCOUNT= pombredanne +GH_PROJECT= schematics + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/devel/py-schematics-patched/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-schematics-patched/distinfo Sat Jul 28 12:15:39 2018 (r475541) @@ -0,0 +1,3 @@ +TIMESTAMP = 1530566305 +SHA256 (pombredanne-schematics-v1.1.2-patch_GH0.tar.gz) = 59bf5d4742b8d43f2853b6a45649ae2bb37a9fbc994ead4bca811176ee2ad4c5 +SIZE (pombredanne-schematics-v1.1.2-patch_GH0.tar.gz) = 71544 Added: head/devel/py-schematics-patched/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-schematics-patched/pkg-descr Sat Jul 28 12:15:39 2018 (r475541) @@ -0,0 +1,23 @@ +Schematics is a Python library to combine types into structures, validate them, +and transform the shapes of your data based on simple descriptions. + +The internals are similar to ORM type systems, but there is no database layer in +Schematics. Instead, we believe that building a database layer is made +significantly easier when Schematics handles everything but writing the query. + +Further, it can be used for a range of tasks where having a database involved +may not make sense. + +Some common use cases: + +- Design and document specific data structures +- Convert structures to and from different formats such as JSON or MsgPack +- Validate API inputs +- Remove fields based on access rights of some data's recipient +- Define message formats for communications protocols, like an RPC +- Custom persistence layers + +Note: This is the patched version from the 1.1.x branch that can pickle with + multiprocessing using the old API. + +WWW: https://github.com/pombredanne/schematics
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807281215.w6SCFeKN073206>