diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2019-03-29 16:33:33 +0000 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2019-03-29 16:33:33 +0000 |
commit | cc221aba511b7fab87a5adf61c72a134a7801f8f (patch) | |
tree | 5ee0d78f08ef11d6b31ae89d06c73becbb01e583 /textproc/py-pykwalify | |
parent | 9f4e4a536ebee59c7686db76214e939b3f035634 (diff) | |
download | ports-cc221aba511b7fab87a5adf61c72a134a7801f8f.tar.gz ports-cc221aba511b7fab87a5adf61c72a134a7801f8f.zip |
Notes
Diffstat (limited to 'textproc/py-pykwalify')
-rw-r--r-- | textproc/py-pykwalify/Makefile | 40 | ||||
-rw-r--r-- | textproc/py-pykwalify/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-pykwalify/pkg-descr | 10 |
3 files changed, 53 insertions, 0 deletions
diff --git a/textproc/py-pykwalify/Makefile b/textproc/py-pykwalify/Makefile new file mode 100644 index 000000000000..b4c58c288b05 --- /dev/null +++ b/textproc/py-pykwalify/Makefile @@ -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> diff --git a/textproc/py-pykwalify/distinfo b/textproc/py-pykwalify/distinfo new file mode 100644 index 000000000000..09211c97e6ad --- /dev/null +++ b/textproc/py-pykwalify/distinfo @@ -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 diff --git a/textproc/py-pykwalify/pkg-descr b/textproc/py-pykwalify/pkg-descr new file mode 100644 index 000000000000..a7430bb81515 --- /dev/null +++ b/textproc/py-pykwalify/pkg-descr @@ -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 |