From 6c53302743004d9c5c43908d5c800486c52793b6 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Feb 26 2024 23:53:35 +0000 Subject: Update to 2.1.1 (close RHBZ#2266191) --- diff --git a/.gitignore b/.gitignore index 6e47a7f..27f7392 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /python-email-validator-1.3.1.tar.gz /python-email-validator-2.0.0.tar.gz /python-email-validator-2.1.0.tar.gz +/python-email-validator-2.1.1.tar.gz diff --git a/python-email-validator.spec b/python-email-validator.spec index 1fd0fe7..7a756d7 100644 --- a/python-email-validator.spec +++ b/python-email-validator.spec @@ -1,23 +1,9 @@ Name: python-email-validator -Version: 2.1.0 +Version: 2.1.1 Release: %autorelease Summary: A robust email syntax and deliverability validation library -# The CC0-1.0 license is *not allowed* in Fedora for code, but this package -# falls under the following blanket exception: -# -# Existing uses of CC0-1.0 on code files in Fedora packages prior to -# 2022-08-01, and subsequent upstream versions of those files in those -# packages, continue to be allowed. We encourage Fedora package maintainers -# to ask upstreams to relicense such files. -# -# https://gitlab.com/fedora/legal/fedora-license-data/-/issues/91#note_1151947383 -# -# Upstream was asked to consider relicensing: -# -# Please consider an alternative license -# https://github.com/JoshData/python-email-validator/issues/113 -License: CC0-1.0 +License: Unlicense URL: https://github.com/JoshData/python-email-validator Source: %{url}/archive/v%{version}/python-email-validator-%{version}.tar.gz @@ -37,8 +23,8 @@ email message). Key features: - • Checks that an email address has the correct syntax – good for - registration/login forms or other uses related to identifying users. + • Checks that an email address has the correct syntax – great for + email-based registration/login forms or validing data. • Gives friendly English error messages when validation fails that you can display to end-users. • Checks deliverability (optional): Does the domain name resolve? (You can @@ -73,12 +59,7 @@ Summary: %{summary} %pyproject_save_files -l email_validator %check -# Even though we have disabled the “network” mark, these still require DNS. -ignore="${ignore-} --ignore=tests/test_deliverability.py" -ignore="${ignore-} --ignore=tests/test_main.py" -%pytest -v tests -m 'not network' ${ignore-} -# Just to be sure, since we have disabled some tests: -%pyproject_check_import +%pytest -v tests -m 'not network' %files -n python3-email-validator -f %{pyproject_files} %doc CHANGELOG.md README.md diff --git a/sources b/sources index 1c8f737..059e67d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-email-validator-2.1.0.tar.gz) = d285404f6735e0cd33385060c483a4dd4e12ace4b2e7027f8cd360901bc640ae999eb5d3ec2b98530e53af48f8e6c180d65cb53eec4de5a1617149ab76027901 +SHA512 (python-email-validator-2.1.1.tar.gz) = fbc34d63a2fd7004a1efd7ce88cce8279069a7e2008666a06da173cb807f3cf51fbec16b6b26385de45b6b024e9359769147947f2a560e9ada614be162d51534