Date: Fri, 29 Mar 2019 16:33:33 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r497163 - in head/textproc: . py-pykwalify Message-ID: <201903291633.x2TGXXE0018349@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: 0mp Date: Fri Mar 29 16:33:33 2019 New Revision: 497163 URL: https://svnweb.freebsd.org/changeset/ports/497163 Log: New port: textproc/py-pykwalify: Python lib/cli for JSON/YAML schema validation pyKwalify is a YAML/JSON validation library. This framework is a port with a lot of added functionality of the Java version of the framework kwalify that can be found at http://www.kuwata-lab.com/kwalify/ The schema this library is based on and extended from: http://www.kuwata-lab.com/kwalify/ruby/users-guide.01.html#schema WWW: https://github.com/Grokzen/pykwalify Sponsored by: BALLY WULFF Games & Entertainment GmbH Added: head/textproc/py-pykwalify/ head/textproc/py-pykwalify/Makefile (contents, props changed) head/textproc/py-pykwalify/distinfo (contents, props changed) head/textproc/py-pykwalify/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Fri Mar 29 16:11:53 2019 (r497162) +++ head/textproc/Makefile Fri Mar 29 16:33:33 2019 (r497163) @@ -1373,6 +1373,7 @@ SUBDIR += py-pyhamcrest SUBDIR += py-pyhwp SUBDIR += py-pyjade + SUBDIR += py-pykwalify SUBDIR += py-pylons-sphinx-themes SUBDIR += py-pypa-docs-theme SUBDIR += py-pypandoc Added: head/textproc/py-pykwalify/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pykwalify/Makefile Fri Mar 29 16:33:33 2019 (r497163) @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= pykwalify +DISTVERSION= 1.7.0-15 +DISTVERSIONSUFFIX= -g02b7e21 +CATEGORIES= textproc python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Python lib/cli for JSON/YAML schema validation + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docopt>=0.6.2:devel/py-docopt@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.11.0:devel/py-ruamel.yaml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dateutil>=2.4.2:devel/py-dateutil@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.6.0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}testfixtures>=0:devel/py-testfixtures@${PY_FLAVOR} + +USES= python +# Switch to CHEESESHOP once version > 1.7.0 is released. +USE_GITHUB= yes +GH_ACCOUNT= Grokzen +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +PORTEXAMPLES= utf8-data.yml utf8-schema.yml + +OPTIONS_DEFINE= EXAMPLES + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include <bsd.port.mk> Added: head/textproc/py-pykwalify/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pykwalify/distinfo Fri Mar 29 16:33:33 2019 (r497163) @@ -0,0 +1,3 @@ +TIMESTAMP = 1553776119 +SHA256 (Grokzen-pykwalify-1.7.0-15-g02b7e21_GH0.tar.gz) = 6ec207dfd0d1a2e20deec498aa9dff3747df60a1bdf264dfca9c80b6eccb4da4 +SIZE (Grokzen-pykwalify-1.7.0-15-g02b7e21_GH0.tar.gz) = 71409 Added: head/textproc/py-pykwalify/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-pykwalify/pkg-descr Fri Mar 29 16:33:33 2019 (r497163) @@ -0,0 +1,10 @@ +pyKwalify is a YAML/JSON validation library. + +This framework is a port with a lot of added functionality of the Java version +of the framework kwalify that can be found at +http://www.kuwata-lab.com/kwalify/ + +The schema this library is based on and extended from: +http://www.kuwata-lab.com/kwalify/ruby/users-guide.01.html#schema + +WWW: https://github.com/Grokzen/pykwalify
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903291633.x2TGXXE0018349>