Port details |
- py-validators Simple data validation in Python
- 0.34.0 devel =3 0.33.0Version of this port present on the latest quarterly branch.
- Maintainer: dbaio@FreeBSD.org
- Port Added: 2018-04-07 00:35:29
- Last Update: 2025-01-11 12:25:25
- Commit Hash: 2e88d5f
- People watching this port, also watch:: picoc, roxterm, monit, notmuch, php81-pecl-scrypt
- Also Listed In: python
- License: MIT
- WWW:
- https://pypi.org/project/validators/
- Description:
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}validators>0:devel/py-validators@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-validators/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-validators
- pkg install py311-validators
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-validators listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-validators
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1736597290
SHA256 (validators-0.34.0.tar.gz) = 647fe407b45af9a74d245b943b18e6a816acf4926974278f6dd617778e1e781f
SIZE (validators-0.34.0.tar.gz) = 70955
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=61 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/py-frictionless
- ports-mgmt/distilator
Configuration Options:
- No options to configure
- Options name:
- devel_py-validators
- USES:
- cpe python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.34.0 11 Jan 2025 12:25:25 |
Danilo G. Baio (dbaio) |
devel/py-validators: Update to 0.34.0
Changelog: https://github.com/python-validators/validators/blob/master/CHANGES.md#0340-2024-09-03 |
0.33.0 03 Aug 2024 14:03:12 |
Danilo G. Baio (dbaio) |
devel/py-validators: Update to 0.33.0
Changelog: https://github.com/python-validators/validators/blob/0.33.0/CHANGES.md |
0.22.0 07 Oct 2023 22:23:58 |
Danilo G. Baio (dbaio) |
devel/py-validators: Update to 0.22.0
Changelog: https://github.com/kvesteri/validators/blob/0.22.0/CHANGES.md |
0.21.2 17 Aug 2023 00:52:56 |
Danilo G. Baio (dbaio) |
devel/py-validators: Update to 0.21.2
Changelog: https://github.com/kvesteri/validators/blob/0.21.2/CHANGES.md |
0.20.0 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.20.0 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.20.0 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.20.0 18 Jun 2022 02:38:56 |
Danilo G. Baio (dbaio) |
devel/py-validators: Update to 0.20.0
Changelog: https://github.com/kvesteri/validators/blob/0.20.0/CHANGES.rst |
0.19.0 13 May 2022 01:12:19 |
Danilo G. Baio (dbaio) |
devel/py-validators: Update to 0.19.0 |
0.18.2 14 Oct 2021 21:30:44 |
Stefan Eßer (se) |
devel/py-validators: Add CPE information
Approved by: portmgr (blanket) |
0.18.2 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.18.2 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.18.2 19 Dec 2020 19:31:37 |
dbaio |
devel/py-validators: Update to 0.18.2 |
0.18.1 08 Sep 2020 23:20:57 |
dbaio |
devel/py-validators: Update to 0.18.1
Changelog: https://github.com/kvesteri/validators/blob/0.18.1/CHANGES.rst |
0.17.1 11 Aug 2020 23:11:51 |
dbaio |
devel/py-validators: Update to 0.17.1 |
0.16.0 21 Jul 2020 21:43:25 |
dbaio |
devel/py-validators: Update to 0.16.0
Changelog: https://github.com/kvesteri/validators/blob/0.16.0/CHANGES.rst |
0.15.0 12 May 2020 02:10:56 |
dbaio |
devel/py-validators: Update to 0.15.0
Drop support for Python 2.7
Changelog: https://github.com/kvesteri/validators/blob/0.15.0/CHANGES.rst |
0.14.3 05 Apr 2020 13:52:07 |
dbaio |
devel/py-validators: Update to 0.14.3 |
0.14.2 28 Jan 2020 13:50:31 |
dbaio |
devel/py-validators: Update to 0.14.2
Changelog:
- Made domain validation case-insensitive
(#136, pull request courtesy ehmkah) |
0.14.1 08 Dec 2019 22:14:15 |
dbaio |
devel/py-validators: Update to 0.14.1
Changelog:
- Updated domain validator regex to not allow numeric only TLDs
(#133, pull request courtesy jmeridth)
- Allow for idna encoded domains (#133, pull request courtesy jmeridth) |
0.14.0 24 Aug 2019 13:00:29 |
dbaio |
devel/py-validators: Update to 0.14.0
Changelog:
- Added new validators ``ipv4_cidr``, ``ipv6_cidr``
(#117, pull request courtesy woodruffw) |
0.13.0 23 May 2019 22:22:17 |
dbaio |
devel/py-validators: Update to 0.13.0
Changelog:
- Added new validator: es_doi, es_nif, es_cif, es_nie
(#121, pull request courtesy kingbuzzman) |
0.12.6 11 May 2019 23:53:41 |
dbaio |
devel/py-validators: Update to 0.12.6
Changelog:
- Fixed domain validator for single character domains
(#118, pull request courtesy kingbuzzman) |
0.12.5 04 May 2019 20:25:58 |
dbaio |
devel/py-validators: Update to 0.12.5
Changelog:
- Fixed py37 support (#113, pull request courtesy agiletechnologist) |
0.12.4 03 Jan 2019 21:59:11 |
dbaio |
devel/py-validators: Update to 0.12.4
Changelog:
- Use inspect.getfullargspec() in py3
(#110, pull request courtesy riconnon) |
0.12.3 14 Nov 2018 23:37:32 |
dbaio |
devel/py-validators: Update to 0.12.3
Changelog:
- Added allow_temporal_ssn parameter to fi_ssn validator
(#97, pull request courtesy quantus)
- Remove py33 support |
0.12.2 20 Jun 2018 17:05:44 |
mat |
Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.
Sponsored by: Absolight |
0.12.2 07 Jun 2018 18:17:49 |
dbaio |
devel/py-validators: Update to 0.12.2
- Fixed IPv4 formatted IP address returning True on ipv6
(#85, pull request courtesy johndlong)
- Fixed IPv6 address parsing
(#83, pull request courtesy JulianKahnert)
- Fixed domain validator for international domains and certain edge cases
(#76, pull request courtesy Ni-Knight) |
0.12.1 25 Apr 2018 16:42:38 |
amdmi3 |
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.
Approved by: portmgr blanket, mat |
0.12.1 07 Apr 2018 00:35:14 |
dbaio |
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 |