Sync from SUSE:SLFO:Main python-validators revision 5516aa664a4cb6fd333bab7327089d92
This commit is contained in:
commit
a13a36aec6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
179
python-validators.changes
Normal file
179
python-validators.changes
Normal file
@ -0,0 +1,179 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:38:30 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 13 22:45:48 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Make calling of %{sle15modernpython} optional.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 17 10:44:31 UTC 2023 - pgajdos@suse.com
|
||||
|
||||
- python-six is not required
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 15 16:24:35 UTC 2022 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 0.20.0
|
||||
* Add ipv4 digit lenghts validation
|
||||
(gh#kvesteri/validators#191)
|
||||
* Fix error with international URLs that have more than 2 hyphens
|
||||
(gh#kvesteri/validators#184)
|
||||
Changes in 0.19.0:
|
||||
* Improve IPv6 validation
|
||||
(gh#kvesteri/validators#201 gh#kvesteri/validators#107)
|
||||
* Drop support for Python 3.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 11 19:05:52 UTC 2020 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 0.18.1:
|
||||
* Made uuid validator accept UUID objects
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 20 04:53:07 UTC 2020 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 0.18.0:
|
||||
* Added bitcoin address validator
|
||||
Changes from 0.17.0 to 0.17.1:
|
||||
* Fixed python_requires using twine
|
||||
Changes from 0.16.0 to 0.17.0:
|
||||
* Fix URL validator ip_last_octet regex
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 16 21:30:59 UTC 2020 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 0.16.0:
|
||||
* Added support for emojis and more IDNA URLs
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 11 11:00:04 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- remove isort build requirement. It is not called.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 8 08:28:01 UTC 2020 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
- Update to 0.15.0:
|
||||
* Added bank card validators
|
||||
- Changes for 0.14.3:
|
||||
* Handle None values gracefully in domain validator
|
||||
* Local part of the email address should be less or equal than
|
||||
64 bytes
|
||||
* Removed py27 support
|
||||
* Removed pypy2 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 21:49:23 UTC 2020 - Martin Herkt <9+suse@cirno.systems>
|
||||
|
||||
- Update to 0.14.2:
|
||||
* Made domain validation case-insensitive
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 23:15:30 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
|
||||
|
||||
- Update to 0.14.1:
|
||||
* Updated domain validator regex to not allow numeric only TLDs
|
||||
* Allow for idna encoded domains
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 09:25:32 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.14.0:
|
||||
* Added new validators ipv4_cidr, ipv6_cidr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 24 19:11:44 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.13.0:
|
||||
* Added new validator: es_doi, es_nif, es_cif, es_nie (#121, pull request courtesy kingbuzzman)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 22 15:16:16 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- version update to 0.12.6
|
||||
* Fixed domain validator for single character domains
|
||||
CVE-2019-19588 - boo#1158542
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 16 16:01:41 UTC 2019 - Martin Herkt <9+suse@cirno.systems>
|
||||
|
||||
- Update to 0.12.5
|
||||
* Fixed py37 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 29 10:01:10 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- version update to 0.12.4
|
||||
* Use inspect.getfullargspec() in py3
|
||||
* Added `allow_temporal_ssn` parameter to fi_ssn validator
|
||||
* Remove py33 support
|
||||
* Fixed IPv4 formatted IP address returning True on ipv6
|
||||
* Fixed IPv6 address parsing
|
||||
* Fixed domain validator for international domains and certain
|
||||
edge cases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:55:45 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Remove superfluous devel dependency for noarch package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 24 18:10:49 UTC 2018 - toddrme2178@gmail.com
|
||||
|
||||
- Run tests
|
||||
- Spec file cleanups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 30 13:34:37 UTC 2018 - 9+suse@cirno.systems
|
||||
|
||||
- Update to 0.12.1
|
||||
* Fixed IDNA encoded TLDs in domain validator
|
||||
* Fixed URL validator for URLs with invalid characters in
|
||||
userinfo part
|
||||
- Use %license macro
|
||||
- Remove superfluous service
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 27 00:58:17 UTC 2017 - 9@cirno.systems
|
||||
|
||||
- Convert package to singlespec
|
||||
- Add download _service
|
||||
- Update to 0.12.0
|
||||
* 0.8.0 (2015-06-24)
|
||||
+ Added new validator: iban
|
||||
* 0.9.0 (2015-10-10)
|
||||
+ Added new validator: domain
|
||||
* 0.10.0 (2016-01-09)
|
||||
+ Added support for internationalized domain names in
|
||||
domain validator
|
||||
* 0.10.1 (2016-04-09)
|
||||
+ Fixed domain name validation for numeric domain names
|
||||
+ Fixed IBAN validation for Norwegian and Belgian IBANs
|
||||
* 0.10.2 (2016-06-11)
|
||||
+ Fixed various URL validation issues
|
||||
* 0.10.3 (2016-06-13)
|
||||
+ Added public parameter to url validator
|
||||
* 0.11.0 (2016-08-30)
|
||||
+ Fixed public url validation
|
||||
+ Made URL validator case insensitive
|
||||
+ Drop Python 2.6 support
|
||||
* 0.11.1 (2016-11-19)
|
||||
+ Fixed pyp2rpm build problem
|
||||
* 0.11.2 (2017-01-08)
|
||||
+ Fixed URL validator for urls with query parameters but
|
||||
without path
|
||||
* 0.11.3 (2017-03-27)
|
||||
+ Fixed URL validator for URLs containing localhost
|
||||
* 0.12.0 (2017-06-03)
|
||||
+ Added hash validators for md5, sha1, sha224, sha256
|
||||
and sha512
|
||||
+ Made ipv6 validator support IPv4-mapped IPv6 addresses
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 6 21:05:10 UTC 2015 - prusnak@opensuse.org
|
||||
|
||||
- created package (version 0.7)
|
||||
|
61
python-validators.spec
Normal file
61
python-validators.spec
Normal file
@ -0,0 +1,61 @@
|
||||
#
|
||||
# spec file for package python-validators
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-validators
|
||||
Version: 0.20.0
|
||||
Release: 0
|
||||
Summary: Python Data Validation
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/kvesteri/validators
|
||||
Source: https://files.pythonhosted.org/packages/source/v/validators/validators-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-decorator >= 3.4.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module decorator >= 3.4.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Python Data Validation for Humans.
|
||||
|
||||
%prep
|
||||
%setup -q -n validators-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGES.rst README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
BIN
validators-0.20.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
validators-0.20.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user