diff options
| author | Michał Górny <mgorny@gentoo.org> | 2022-05-02 09:52:53 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2022-05-02 10:26:58 +0200 |
| commit | 63edffb29fc92a2e49c7f8a41e57b577789dfe00 (patch) | |
| tree | 8a621df5ba894e63af8dde4f2bb2a5693fd9a821 /dev-python/python-email-validator/python-email-validator-1.2.1.ebuild | |
| parent | 9c108e450a3e4f2a674c7836bd4b466b6948f52a (diff) | |
| download | gentoo-63edffb29fc92a2e49c7f8a41e57b577789dfe00.tar.gz gentoo-63edffb29fc92a2e49c7f8a41e57b577789dfe00.tar.bz2 gentoo-63edffb29fc92a2e49c7f8a41e57b577789dfe00.zip | |
dev-python/python-email-validator: Bump to 1.2.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/python-email-validator/python-email-validator-1.2.1.ebuild')
| -rw-r--r-- | dev-python/python-email-validator/python-email-validator-1.2.1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/python-email-validator/python-email-validator-1.2.1.ebuild b/dev-python/python-email-validator/python-email-validator-1.2.1.ebuild new file mode 100644 index 000000000000..dd6dc9a517db --- /dev/null +++ b/dev-python/python-email-validator/python-email-validator-1.2.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A robust email syntax and deliverability validation library" +HOMEPAGE=" + https://github.com/JoshData/python-email-validator/ + https://pypi.org/project/email-validator/ +" +SRC_URI=" + https://github.com/JoshData/python-email-validator/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="CC0-1.0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="0" + +RDEPEND=" + >=dev-python/idna-2.8[${PYTHON_USEDEP}] + >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # these tests rely on access to gmail.com + tests/test_main.py::test_deliverability_found + tests/test_main.py::test_deliverability_fails + # these tests rely on example.com being resolvable + "tests/test_main.py::test_email_example_reserved_domain[me@mail.example]" + "tests/test_main.py::test_email_example_reserved_domain[me@example.com]" + "tests/test_main.py::test_email_example_reserved_domain[me@mail.example.com]" + tests/test_main.py::test_validate_email__with_caching_resolver +) |
