diff options
author | rodent <rodent@pkgsrc.org> | 2014-06-14 14:35:09 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2014-06-14 14:35:09 +0000 |
commit | cbbc080be320a34c967605081b91afcdc6b081ce (patch) | |
tree | 70578a91157a647f5db3ec5ccf30695e92457b57 /textproc | |
parent | dff5d99d8c65b25f5118dee67d647c95984e3f1b (diff) | |
download | pkgsrc-cbbc080be320a34c967605081b91afcdc6b081ce.tar.gz |
Import py27-validators-0.5.0 as textproc/py-validators.
Python has all kinds of data validation tools, but every one of them seems to
require defining a schema / form. This is a simple validation library where
validating a simple value does not require defining a form or a schema.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/py-validators/DESCR | 3 | ||||
-rw-r--r-- | textproc/py-validators/Makefile | 21 | ||||
-rw-r--r-- | textproc/py-validators/PLIST | 85 | ||||
-rw-r--r-- | textproc/py-validators/distinfo | 5 | ||||
-rw-r--r-- | textproc/py-validators/options.mk | 11 |
5 files changed, 125 insertions, 0 deletions
diff --git a/textproc/py-validators/DESCR b/textproc/py-validators/DESCR new file mode 100644 index 00000000000..e182819458c --- /dev/null +++ b/textproc/py-validators/DESCR @@ -0,0 +1,3 @@ +Python has all kinds of data validation tools, but every one of them seems to +require defining a schema / form. This is a simple validation library where +validating a simple value does not require defining a form or a schema. diff --git a/textproc/py-validators/Makefile b/textproc/py-validators/Makefile new file mode 100644 index 00000000000..825cba3ad0b --- /dev/null +++ b/textproc/py-validators/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2014/06/14 14:35:09 rodent Exp $ + +DISTNAME= validators-0.5.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= python textproc +MASTER_SITES= https://pypi.python.org/packages/source/v/validators/ + +MAINTAINER= rodent@NetBSD.org +HOMEPAGE= https://github.com/kvesteri/validators +COMMENT= Python data validation for humans +LICENSE= mit + +DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six +DEPENDS+= ${PYPKGPREFIX}-decorator>=3.4.0:../../devel/py-decorator + +USE_LANGUAGES= # none + +.include "options.mk" + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-validators/PLIST b/textproc/py-validators/PLIST new file mode 100644 index 00000000000..fb44d329ac7 --- /dev/null +++ b/textproc/py-validators/PLIST @@ -0,0 +1,85 @@ +@comment $NetBSD: PLIST,v 1.1 2014/06/14 14:35:09 rodent Exp $ +${PYSITELIB}/tests/__init__.py +${PYSITELIB}/tests/__init__.pyc +${PYSITELIB}/tests/__init__.pyo +${PYSITELIB}/tests/i18n/__init__.py +${PYSITELIB}/tests/i18n/__init__.pyc +${PYSITELIB}/tests/i18n/__init__.pyo +${PYSITELIB}/tests/i18n/test_fi.py +${PYSITELIB}/tests/i18n/test_fi.pyc +${PYSITELIB}/tests/i18n/test_fi.pyo +${PYSITELIB}/tests/test_between.py +${PYSITELIB}/tests/test_between.pyc +${PYSITELIB}/tests/test_between.pyo +${PYSITELIB}/tests/test_email.py +${PYSITELIB}/tests/test_email.pyc +${PYSITELIB}/tests/test_email.pyo +${PYSITELIB}/tests/test_extremes.py +${PYSITELIB}/tests/test_extremes.pyc +${PYSITELIB}/tests/test_extremes.pyo +${PYSITELIB}/tests/test_ipv4.py +${PYSITELIB}/tests/test_ipv4.pyc +${PYSITELIB}/tests/test_ipv4.pyo +${PYSITELIB}/tests/test_ipv6.py +${PYSITELIB}/tests/test_ipv6.pyc +${PYSITELIB}/tests/test_ipv6.pyo +${PYSITELIB}/tests/test_length.py +${PYSITELIB}/tests/test_length.pyc +${PYSITELIB}/tests/test_length.pyo +${PYSITELIB}/tests/test_mac_address.py +${PYSITELIB}/tests/test_mac_address.pyc +${PYSITELIB}/tests/test_mac_address.pyo +${PYSITELIB}/tests/test_url.py +${PYSITELIB}/tests/test_url.pyc +${PYSITELIB}/tests/test_url.pyo +${PYSITELIB}/tests/test_uuid.py +${PYSITELIB}/tests/test_uuid.pyc +${PYSITELIB}/tests/test_uuid.pyo +${PYSITELIB}/tests/test_validation_failure.py +${PYSITELIB}/tests/test_validation_failure.pyc +${PYSITELIB}/tests/test_validation_failure.pyo +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/validators/__init__.py +${PYSITELIB}/validators/__init__.pyc +${PYSITELIB}/validators/__init__.pyo +${PYSITELIB}/validators/between.py +${PYSITELIB}/validators/between.pyc +${PYSITELIB}/validators/between.pyo +${PYSITELIB}/validators/email.py +${PYSITELIB}/validators/email.pyc +${PYSITELIB}/validators/email.pyo +${PYSITELIB}/validators/extremes.py +${PYSITELIB}/validators/extremes.pyc +${PYSITELIB}/validators/extremes.pyo +${PYSITELIB}/validators/i18n/__init__.py +${PYSITELIB}/validators/i18n/__init__.pyc +${PYSITELIB}/validators/i18n/__init__.pyo +${PYSITELIB}/validators/i18n/fi.py +${PYSITELIB}/validators/i18n/fi.pyc +${PYSITELIB}/validators/i18n/fi.pyo +${PYSITELIB}/validators/ip_address.py +${PYSITELIB}/validators/ip_address.pyc +${PYSITELIB}/validators/ip_address.pyo +${PYSITELIB}/validators/length.py +${PYSITELIB}/validators/length.pyc +${PYSITELIB}/validators/length.pyo +${PYSITELIB}/validators/mac_address.py +${PYSITELIB}/validators/mac_address.pyc +${PYSITELIB}/validators/mac_address.pyo +${PYSITELIB}/validators/truthy.py +${PYSITELIB}/validators/truthy.pyc +${PYSITELIB}/validators/truthy.pyo +${PYSITELIB}/validators/url.py +${PYSITELIB}/validators/url.pyc +${PYSITELIB}/validators/url.pyo +${PYSITELIB}/validators/utils.py +${PYSITELIB}/validators/utils.pyc +${PYSITELIB}/validators/utils.pyo +${PYSITELIB}/validators/uuid.py +${PYSITELIB}/validators/uuid.pyc +${PYSITELIB}/validators/uuid.pyo diff --git a/textproc/py-validators/distinfo b/textproc/py-validators/distinfo new file mode 100644 index 00000000000..652db842d3d --- /dev/null +++ b/textproc/py-validators/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/06/14 14:35:09 rodent Exp $ + +SHA1 (validators-0.5.0.tar.gz) = 811f6505db3928049a02dbd009d2efab8cef5edd +RMD160 (validators-0.5.0.tar.gz) = 0e65ce4cfddce47926e52f24641b78c8d7653361 +Size (validators-0.5.0.tar.gz) = 8391 bytes diff --git a/textproc/py-validators/options.mk b/textproc/py-validators/options.mk new file mode 100644 index 00000000000..48875c0eaa2 --- /dev/null +++ b/textproc/py-validators/options.mk @@ -0,0 +1,11 @@ +# $NetBSD: options.mk,v 1.1 2014/06/14 14:35:09 rodent Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.py-validators +PKG_SUPPORTED_OPTIONS= tests +PKG_SUGGESTED_OPTIONS+= # blank + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mtests) +DEPENDS+= ${PYPKGPREFIX}-test>=2.2.3:../../devel/py-test +.endif |