Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2018 00:35:14 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466702 - in head/devel: . py-validators
Message-ID:  <201804070035.w370ZELl085315@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Sat Apr  7 00:35:14 2018
New Revision: 466702
URL: https://svnweb.freebsd.org/changeset/ports/466702

Log:
  Add devel/py-validators: Simple data validation in Python
  
  Python has all kinds of data validation tools, but every one of them seems to
  require defining a schema or form. This is a simple validation library where
  validating a simple value does not require defining a form or a schema.
  
    >>> import validators
  
    >>> validators.email('someone@example.com')
    True
  
  WWW: https://pypi.python.org/pypi/validators

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

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Apr  7 00:29:42 2018	(r466701)
+++ head/devel/Makefile	Sat Apr  7 00:35:14 2018	(r466702)
@@ -5027,6 +5027,7 @@
     SUBDIR += py-usb
     SUBDIR += py-user_agents
     SUBDIR += py-utils
+    SUBDIR += py-validators
     SUBDIR += py-validictory
     SUBDIR += py-vcrpy
     SUBDIR += py-vcversioner

Added: head/devel/py-validators/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-validators/Makefile	Sat Apr  7 00:35:14 2018	(r466702)
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+PORTNAME=	validators
+DISTVERSION=	0.12.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	dbaio@FreeBSD.org
+COMMENT=	Simple data validation in Python
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.4.0:devel/py-six@${FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}decorator>=3.4.0:devel/py-decorator@${FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>

Added: head/devel/py-validators/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-validators/distinfo	Sat Apr  7 00:35:14 2018	(r466702)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1523055353
+SHA256 (validators-0.12.1.tar.gz) = 79855e18710be5d8ba5e0c16086d76f230af11df2b8341b64995b42153c7f204
+SIZE (validators-0.12.1.tar.gz) = 21734

Added: head/devel/py-validators/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/py-validators/pkg-descr	Sat Apr  7 00:35:14 2018	(r466702)
@@ -0,0 +1,10 @@
+Python has all kinds of data validation tools, but every one of them seems to
+require defining a schema or form. This is a simple validation library where
+validating a simple value does not require defining a form or a schema.
+
+  >>> import validators
+
+  >>> validators.email('someone@example.com')
+  True
+
+WWW: https://pypi.python.org/pypi/validators



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