pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-validators py-validators: updated to 0.12.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c495a997baf
branches:  trunk
changeset: 384186:5c495a997baf
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Aug 19 07:26:32 2018 +0000

description:
py-validators: updated to 0.12.2

0.12.2:
Fixed IPv4 formatted IP address returning True on ipv6
Fixed IPv6 address parsing
Fixed domain validator for international domains and certain edge cases

0.12.1:
Fixed IDNA encoded TLDs in domain validator
Fixed URL validator for URLs with invalid characters in userinfo part

0.12.0:
Added hash validators for md5, sha1, sha224, sha256 and sha512
Made ipv6 validator support IPv4-mapped IPv6 addresses

0.11.3:
Fixed URL validator for URLs containing localhost

0.11.2:
Fixed URL validator for urls with query parameters but without path

0.11.1:
Fixed pyp2rpm build problem

0.11.0:
Fixed public url validation
Made URL validator case insensitive
Drop Python 2.6 support

0.10.3:
Added public parameter to url validator

0.10.2:
Fixed various URL validation issues

0.10.1:
Fixed domain name validation for numeric domain names
Fixed IBAN validation for Norwegian and Belgian IBANs

0.10.0:
Added support for internationalized domain names in domain validator

0.9.0:
Added new validator: domain
Added flake8 and isort checks in travis config

0.8.0:
Added new validator: iban

diffstat:

 textproc/py-validators/Makefile   |  14 +++++++++-----
 textproc/py-validators/PLIST      |  11 ++++++++++-
 textproc/py-validators/distinfo   |  10 +++++-----
 textproc/py-validators/options.mk |  11 -----------
 4 files changed, 24 insertions(+), 22 deletions(-)

diffs (101 lines):

diff -r 9c1ee2ecf585 -r 5c495a997baf textproc/py-validators/Makefile
--- a/textproc/py-validators/Makefile   Sun Aug 19 07:20:28 2018 +0000
+++ b/textproc/py-validators/Makefile   Sun Aug 19 07:26:32 2018 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2017/09/16 19:27:20 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2018/08/19 07:26:32 adam Exp $
 
-DISTNAME=      validators-0.7
+DISTNAME=      validators-0.12.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    python textproc
+CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=v/validators/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,12 +10,16 @@
 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
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.4.0:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-flake8>=2.4.0:../../devel/py-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-isort>=4.2.2:../../devel/py-isort
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.2.3:../../devel/py-test
 
 USE_LANGUAGES= # none
 
-.include "options.mk"
+do-test:
+       cd ${WRKSRC}/tests && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 9c1ee2ecf585 -r 5c495a997baf textproc/py-validators/PLIST
--- a/textproc/py-validators/PLIST      Sun Aug 19 07:20:28 2018 +0000
+++ b/textproc/py-validators/PLIST      Sun Aug 19 07:26:32 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2014/06/26 01:19:04 rodent Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/08/19 07:26:32 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -11,18 +11,27 @@
 ${PYSITELIB}/validators/between.py
 ${PYSITELIB}/validators/between.pyc
 ${PYSITELIB}/validators/between.pyo
+${PYSITELIB}/validators/domain.py
+${PYSITELIB}/validators/domain.pyc
+${PYSITELIB}/validators/domain.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/hashes.py
+${PYSITELIB}/validators/hashes.pyc
+${PYSITELIB}/validators/hashes.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/iban.py
+${PYSITELIB}/validators/iban.pyc
+${PYSITELIB}/validators/iban.pyo
 ${PYSITELIB}/validators/ip_address.py
 ${PYSITELIB}/validators/ip_address.pyc
 ${PYSITELIB}/validators/ip_address.pyo
diff -r 9c1ee2ecf585 -r 5c495a997baf textproc/py-validators/distinfo
--- a/textproc/py-validators/distinfo   Sun Aug 19 07:20:28 2018 +0000
+++ b/textproc/py-validators/distinfo   Sun Aug 19 07:26:32 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2015/11/04 02:00:05 agc Exp $
+$NetBSD: distinfo,v 1.5 2018/08/19 07:26:32 adam Exp $
 
-SHA1 (validators-0.7.tar.gz) = 475dbe957353a2245d7a9c28f8e74afe5e764a17
-RMD160 (validators-0.7.tar.gz) = 39fd4a03a8d845b636195cb9bd2b5ae6affe0013
-SHA512 (validators-0.7.tar.gz) = 92775ef56ce64d091a16170bace9d7cc9bd1718fd7dc3a946015e183d9cabe21127077e1edadbfad3b21945df84b14b2941987781d802e6cd49c7dd50c308eda
-Size (validators-0.7.tar.gz) = 16931 bytes
+SHA1 (validators-0.12.2.tar.gz) = 52d74f3ec82ff7931e2bc3f0f590534c0e2492f2
+RMD160 (validators-0.12.2.tar.gz) = 70cb69f0a0b7fcfd877ff8d5cf0849a5acc8e074
+SHA512 (validators-0.12.2.tar.gz) = adc2398a91f589fb5595c6d942ced3aa157a3bceadaf0f7e49476a7f0ec16c0f0d89aa2b1f63550911bab2d6a5417708f9e236d27a3a1250fab3701e1db70f4b
+Size (validators-0.12.2.tar.gz) = 22383 bytes
diff -r 9c1ee2ecf585 -r 5c495a997baf textproc/py-validators/options.mk
--- a/textproc/py-validators/options.mk Sun Aug 19 07:20:28 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-# $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



Home | Main Index | Thread Index | Old Index