Fri Aug 11 13:05:19 2023 UTC ()
py-validators: updated to 0.21.2

0.21.2 (2023-08-07)

What's Changed

feat: refactoring; updates; fixes; bump version
build(deps): bump pymdown-extensions from 9.11 to 10.0
build(deps): bump requests from 2.28.2 to 2.31.0
add validator ETH addresses (ERC20)
Added Country Code Validation
build(deps-dev): bump certifi from 2022.12.7 to 2023.7.22

0.21.1 (2023-04-10)

fix: source .venv/bin/activate before build
fix: id-token write permission at job level
feat: docs can be built with both sphinx & mkdocs
fix: improves build process
fix: removes 64-char limit for url path & query

0.21.0 (2023-03-25)

feat: add build for pypi workflow
feat: @validator now catches Exception
maint: improves i18n package
maint: misc changes to dev and ci
maint: misc fixes and improvements
maint: improves state of package development
fix: generate dynamic reference docs
maint: moving docs from .rst to .md
maint: improves url module
maint: improve domain, email & hostname
maint: simplified hostname module
maint: update email module
feat: adds hostname validator
maint: improves ip_address module
fix: misc fixes, use bandit
Create SECURITY.md
maint: improves mac_address, slug and uuid
maint: improve hashes and iban modules
feat: auto docs using mkdocstrings
maint: improves email module
maint: minor improvements
maint: improves domain module
maint: reformats card module, fix typo
feat: formats google pydoc style for mkdocstring
maint: refresh btc_address module
maint: improve type annotations
maint: improves between and length modules
maint: follows google's python style guide for docstrings
feat: type hints in utils.py, gh-actions
feat: add pyproject.toml, README.md, upd gitignore
remove Travis CI settings


(adam)
diff -r1.17 -r1.18 pkgsrc/textproc/py-validators/Makefile
diff -r1.5 -r1.6 pkgsrc/textproc/py-validators/PLIST
diff -r1.16 -r1.17 pkgsrc/textproc/py-validators/distinfo

cvs diff -r1.17 -r1.18 pkgsrc/textproc/py-validators/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/py-validators/Makefile 2022/08/10 13:48:25 1.17
+++ pkgsrc/textproc/py-validators/Makefile 2023/08/11 13:05:19 1.18
@@ -1,26 +1,24 @@ @@ -1,26 +1,24 @@
1# $NetBSD: Makefile,v 1.17 2022/08/10 13:48:25 adam Exp $ 1# $NetBSD: Makefile,v 1.18 2023/08/11 13:05:19 adam Exp $
2 2
3DISTNAME= validators-0.20.0 3DISTNAME= validators-0.21.2
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= textproc python 5CATEGORIES= textproc python
6MASTER_SITES= ${MASTER_SITE_PYPI:=v/validators/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=v/validators/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://github.com/kvesteri/validators 9HOMEPAGE= https://github.com/kvesteri/validators
10COMMENT= Python data validation for humans 10COMMENT= Python data validation for humans
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-decorator>=3.4.0:../../devel/py-decorator 13TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
14TEST_DEPENDS+= ${PYPKGPREFIX}-flake8>=2.4.0:../../devel/py-flake8 14TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.4.0:../../devel/py-test
15TEST_DEPENDS+= ${PYPKGPREFIX}-isort>=4.2.2:../../devel/py-isort 
16TEST_DEPENDS+= ${PYPKGPREFIX}-test>=2.2.3:../../devel/py-test 
17 15
18USE_LANGUAGES= # none 16USE_LANGUAGES= # none
19 17
20PYTHON_VERSIONS_INCOMPATIBLE= 27 18PYTHON_VERSIONS_INCOMPATIBLE= 27
21 19
22do-test: 20do-test:
23 cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} 21 cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
24 22
25.include "../../lang/python/egg.mk" 23.include "../../lang/python/wheel.mk"
26.include "../../mk/bsd.pkg.mk" 24.include "../../mk/bsd.pkg.mk"

cvs diff -r1.5 -r1.6 pkgsrc/textproc/py-validators/PLIST (expand / switch to unified diff)

--- pkgsrc/textproc/py-validators/PLIST 2020/10/03 18:28:21 1.5
+++ pkgsrc/textproc/py-validators/PLIST 2023/08/11 13:05:19 1.6
@@ -1,67 +1,51 @@ @@ -1,67 +1,51 @@
1@comment $NetBSD: PLIST,v 1.5 2020/10/03 18:28:21 adam Exp $ 1@comment $NetBSD: PLIST,v 1.6 2023/08/11 13:05:19 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${WHEEL_INFODIR}/METADATA
5${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 5${PYSITELIB}/${WHEEL_INFODIR}/RECORD
6${PYSITELIB}/${EGG_INFODIR}/requires.txt 6${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
7${PYSITELIB}/${EGG_INFODIR}/top_level.txt 7${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 8${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
 9${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
8${PYSITELIB}/validators/__init__.py 10${PYSITELIB}/validators/__init__.py
9${PYSITELIB}/validators/__init__.pyc 11${PYSITELIB}/validators/__init__.pyc
10${PYSITELIB}/validators/__init__.pyo 12${PYSITELIB}/validators/_extremes.py
 13${PYSITELIB}/validators/_extremes.pyc
11${PYSITELIB}/validators/between.py 14${PYSITELIB}/validators/between.py
12${PYSITELIB}/validators/between.pyc 15${PYSITELIB}/validators/between.pyc
13${PYSITELIB}/validators/between.pyo 
14${PYSITELIB}/validators/btc_address.py 16${PYSITELIB}/validators/btc_address.py
15${PYSITELIB}/validators/btc_address.pyc 17${PYSITELIB}/validators/btc_address.pyc
16${PYSITELIB}/validators/btc_address.pyo 
17${PYSITELIB}/validators/card.py 18${PYSITELIB}/validators/card.py
18${PYSITELIB}/validators/card.pyc 19${PYSITELIB}/validators/card.pyc
19${PYSITELIB}/validators/card.pyo 20${PYSITELIB}/validators/country_code.py
 21${PYSITELIB}/validators/country_code.pyc
20${PYSITELIB}/validators/domain.py 22${PYSITELIB}/validators/domain.py
21${PYSITELIB}/validators/domain.pyc 23${PYSITELIB}/validators/domain.pyc
22${PYSITELIB}/validators/domain.pyo 
23${PYSITELIB}/validators/email.py 24${PYSITELIB}/validators/email.py
24${PYSITELIB}/validators/email.pyc 25${PYSITELIB}/validators/email.pyc
25${PYSITELIB}/validators/email.pyo 
26${PYSITELIB}/validators/extremes.py 
27${PYSITELIB}/validators/extremes.pyc 
28${PYSITELIB}/validators/extremes.pyo 
29${PYSITELIB}/validators/hashes.py 26${PYSITELIB}/validators/hashes.py
30${PYSITELIB}/validators/hashes.pyc 27${PYSITELIB}/validators/hashes.pyc
31${PYSITELIB}/validators/hashes.pyo 28${PYSITELIB}/validators/hostname.py
 29${PYSITELIB}/validators/hostname.pyc
32${PYSITELIB}/validators/i18n/__init__.py 30${PYSITELIB}/validators/i18n/__init__.py
33${PYSITELIB}/validators/i18n/__init__.pyc 31${PYSITELIB}/validators/i18n/__init__.pyc
34${PYSITELIB}/validators/i18n/__init__.pyo 
35${PYSITELIB}/validators/i18n/es.py 32${PYSITELIB}/validators/i18n/es.py
36${PYSITELIB}/validators/i18n/es.pyc 33${PYSITELIB}/validators/i18n/es.pyc
37${PYSITELIB}/validators/i18n/es.pyo 
38${PYSITELIB}/validators/i18n/fi.py 34${PYSITELIB}/validators/i18n/fi.py
39${PYSITELIB}/validators/i18n/fi.pyc 35${PYSITELIB}/validators/i18n/fi.pyc
40${PYSITELIB}/validators/i18n/fi.pyo 
41${PYSITELIB}/validators/iban.py 36${PYSITELIB}/validators/iban.py
42${PYSITELIB}/validators/iban.pyc 37${PYSITELIB}/validators/iban.pyc
43${PYSITELIB}/validators/iban.pyo 
44${PYSITELIB}/validators/ip_address.py 38${PYSITELIB}/validators/ip_address.py
45${PYSITELIB}/validators/ip_address.pyc 39${PYSITELIB}/validators/ip_address.pyc
46${PYSITELIB}/validators/ip_address.pyo 
47${PYSITELIB}/validators/length.py 40${PYSITELIB}/validators/length.py
48${PYSITELIB}/validators/length.pyc 41${PYSITELIB}/validators/length.pyc
49${PYSITELIB}/validators/length.pyo 
50${PYSITELIB}/validators/mac_address.py 42${PYSITELIB}/validators/mac_address.py
51${PYSITELIB}/validators/mac_address.pyc 43${PYSITELIB}/validators/mac_address.pyc
52${PYSITELIB}/validators/mac_address.pyo 
53${PYSITELIB}/validators/slug.py 44${PYSITELIB}/validators/slug.py
54${PYSITELIB}/validators/slug.pyc 45${PYSITELIB}/validators/slug.pyc
55${PYSITELIB}/validators/slug.pyo 
56${PYSITELIB}/validators/truthy.py 
57${PYSITELIB}/validators/truthy.pyc 
58${PYSITELIB}/validators/truthy.pyo 
59${PYSITELIB}/validators/url.py 46${PYSITELIB}/validators/url.py
60${PYSITELIB}/validators/url.pyc 47${PYSITELIB}/validators/url.pyc
61${PYSITELIB}/validators/url.pyo 
62${PYSITELIB}/validators/utils.py 48${PYSITELIB}/validators/utils.py
63${PYSITELIB}/validators/utils.pyc 49${PYSITELIB}/validators/utils.pyc
64${PYSITELIB}/validators/utils.pyo 
65${PYSITELIB}/validators/uuid.py 50${PYSITELIB}/validators/uuid.py
66${PYSITELIB}/validators/uuid.pyc 51${PYSITELIB}/validators/uuid.pyc
67${PYSITELIB}/validators/uuid.pyo 

cvs diff -r1.16 -r1.17 pkgsrc/textproc/py-validators/distinfo (expand / switch to unified diff)

--- pkgsrc/textproc/py-validators/distinfo 2022/08/10 13:48:25 1.16
+++ pkgsrc/textproc/py-validators/distinfo 2023/08/11 13:05:19 1.17
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.16 2022/08/10 13:48:25 adam Exp $ 1$NetBSD: distinfo,v 1.17 2023/08/11 13:05:19 adam Exp $
2 2
3BLAKE2s (validators-0.20.0.tar.gz) = c100288e88841f2cc0dcc1e03174423e7c4eee5a6c36572ad7544bb9e1b4e311 3BLAKE2s (validators-0.21.2.tar.gz) = d8ca8ea558a0d803cdef925ca00cdf58f8df9325da50867111aad9369bc2bf25
4SHA512 (validators-0.20.0.tar.gz) = 2f3d9caac9246b346e10604758168092ac483fe6e4a0c9470900e49719fbbebfd18e03aca525f8cca33cec224589aee28de3ea9bf5cd4941a49715d4216dba20 4SHA512 (validators-0.21.2.tar.gz) = 558630849f6c81b13f7043f5713c160f0cdcc94c7d90c9e13c97ab972c1bf74df9a9d889b50238f7239c6885a34549a8a209b3a325d62291d93073b9cad18d08
5Size (validators-0.20.0.tar.gz) = 30665 bytes 5Size (validators-0.21.2.tar.gz) = 40739 bytes