From owner-svn-ports-all@freebsd.org Sat Apr 7 00:35:16 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE625F94924; Sat, 7 Apr 2018 00:35:15 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70C207E8A7; Sat, 7 Apr 2018 00:35:15 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4E9D8194E2; Sat, 7 Apr 2018 00:35:15 +0000 (UTC) (envelope-from dbaio@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w370ZFUa085319; Sat, 7 Apr 2018 00:35:15 GMT (envelope-from dbaio@FreeBSD.org) Received: (from dbaio@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w370ZELl085315; Sat, 7 Apr 2018 00:35:14 GMT (envelope-from dbaio@FreeBSD.org) Message-Id: <201804070035.w370ZELl085315@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbaio set sender to dbaio@FreeBSD.org using -f From: "Danilo G. Baio" Date: Sat, 7 Apr 2018 00:35:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466702 - in head/devel: . py-validators X-SVN-Group: ports-head X-SVN-Commit-Author: dbaio X-SVN-Commit-Paths: in head/devel: . py-validators X-SVN-Commit-Revision: 466702 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Apr 2018 00:35:16 -0000 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 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