From 5747d83aec1e7b9bfeefc9c9c46f7257f9a218cc Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 11 2021 10:53:09 +0000 Subject: Import python-email-validator-1.1.1-3.el9 in CloudSIG xena --- diff --git a/.python-email-validator.metadata b/.python-email-validator.metadata new file mode 100644 index 0000000..f19ae39 --- /dev/null +++ b/.python-email-validator.metadata @@ -0,0 +1 @@ +dcaae0a4702906f90ebdbb5c9cb80ce6c356e6f0 SOURCES/python-email-validator-1.1.1.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..78b1ae1 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# python-email-validator + +The python-email-validator package \ No newline at end of file diff --git a/SPECS/python-email-validator.spec b/SPECS/python-email-validator.spec new file mode 100644 index 0000000..8471740 --- /dev/null +++ b/SPECS/python-email-validator.spec @@ -0,0 +1,99 @@ +%global pypi_name email-validator + +Name: python-%{pypi_name} +Version: 1.1.1 +Release: 3%{?dist} +Summary: A robust email syntax and deliverability validation library + +License: CC0 +URL: https://github.com/JoshData/python-email-validator +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +%description +This library validates that address are of the form x@y.com. This is the sort +of validation you would want for a login form on a website. + +Key features: + +- Good for validating email addresses used for logins/identity. +- Friendly error messages when validation fails (appropriate to show to end + users). +- (optionally) Checks deliverability: Does the domain name resolve? +- Supports internationalized domain names and (optionally) internationalized + local parts. +- Normalizes email addresses (important for internationalized addresses!). + +%package -n python3-%{pypi_name} +Summary: %{summary} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-dns +BuildRequires: python3-idna +BuildRequires: python3-coverage +BuildRequires: python3-pytest +BuildRequires: python3-pytest-cov +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +This library validates that address are of the form x@y.com. This is the sort +of validation you would want for a login form on a website. + +Key features: + +- Good for validating email addresses used for logins/identity. +- Friendly error messages when validation fails (appropriate to show to end + users). +- (optionally) Checks deliverability: Does the domain name resolve? +- Supports internationalized domain names and (optionally) internationalized + local parts. +- Normalizes email addresses (important for internationalized addresses!). + +%prep +%autosetup -n python-%{pypi_name}-%{version} +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%check +PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests \ + -k "not test_deliverability" + +%files -n python3-%{pypi_name} +%license LICENSE +%doc CONTRIBUTING.md README.md +%{_bindir}/email_validator +%{python3_sitelib}/email_validator/ +%{python3_sitelib}/email_validator-%{version}-py*.egg-info + +%changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jun 03 2020 Fabian Affolter - 1.1.1-1 +- Enable tests +- Update to new upstream release 1.1.1 + +* Tue May 26 2020 Miro HronĨok - 1.0.5-4 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Jan 07 2020 Fabian Affolter - 1.0.5-2 +- Implement changes from rhbz#1787419 to match rhbz#1733683 + +* Mon Jan 06 2020 Susi Lehtola - 1.0.5-1 +- Update to 1.0.5. +- Review fixes. + +* Sat Jul 27 2019 Susi Lehtola - 1.0.4-1 +- Initial package.