pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-validators



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Aug 19 07:26:32 UTC 2018

Modified Files:
        pkgsrc/textproc/py-validators: Makefile PLIST distinfo
Removed Files:
        pkgsrc/textproc/py-validators: options.mk

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/textproc/py-validators/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-validators/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-validators/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/textproc/py-validators/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-validators/Makefile
diff -u pkgsrc/textproc/py-validators/Makefile:1.5 pkgsrc/textproc/py-validators/Makefile:1.6
--- pkgsrc/textproc/py-validators/Makefile:1.5  Sat Sep 16 19:27:20 2017
+++ pkgsrc/textproc/py-validators/Makefile      Sun Aug 19 07:26:32 2018
@@ -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 @@ HOMEPAGE=   https://github.com/kvesteri/va
 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"

Index: pkgsrc/textproc/py-validators/PLIST
diff -u pkgsrc/textproc/py-validators/PLIST:1.2 pkgsrc/textproc/py-validators/PLIST:1.3
--- pkgsrc/textproc/py-validators/PLIST:1.2     Thu Jun 26 01:19:04 2014
+++ pkgsrc/textproc/py-validators/PLIST Sun Aug 19 07:26:32 2018
@@ -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/__init__.pyo
 ${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

Index: pkgsrc/textproc/py-validators/distinfo
diff -u pkgsrc/textproc/py-validators/distinfo:1.4 pkgsrc/textproc/py-validators/distinfo:1.5
--- pkgsrc/textproc/py-validators/distinfo:1.4  Wed Nov  4 02:00:05 2015
+++ pkgsrc/textproc/py-validators/distinfo      Sun Aug 19 07:26:32 2018
@@ -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



Home | Main Index | Thread Index | Old Index