Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-email-validator/
Date: Mon, 02 May 2022 08:27:11
Message-Id: 1651480018.63edffb29fc92a2e49c7f8a41e57b577789dfe00.mgorny@gentoo
1 commit: 63edffb29fc92a2e49c7f8a41e57b577789dfe00
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 2 07:52:53 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 2 08:26:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63edffb2
7
8 dev-python/python-email-validator: Bump to 1.2.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/python-email-validator/Manifest | 1 +
13 .../python-email-validator-1.2.1.ebuild | 41 ++++++++++++++++++++++
14 2 files changed, 42 insertions(+)
15
16 diff --git a/dev-python/python-email-validator/Manifest b/dev-python/python-email-validator/Manifest
17 index 9dc0ade0f55c..269f89a55846 100644
18 --- a/dev-python/python-email-validator/Manifest
19 +++ b/dev-python/python-email-validator/Manifest
20 @@ -1,2 +1,3 @@
21 DIST python-email-validator-1.1.3.tar.gz 19863 BLAKE2B 10700b4c6a48c50095045b6e3c9218cd565776b26e17c1c043633e208b9fbd346162cedaa4a1116ec2fccf63b4383438c7e1aef6faf9d2ead5512af7f934675c SHA512 d9087bf56783daf389909e13652a9db8f0408badf454f6239aa20f6a5e9510619d3662cf1567a03d0b14c4bbe81644509cd12975b2aa1b544d644b6c2b2854f4
22 DIST python-email-validator-1.2.0.tar.gz 22603 BLAKE2B cc2364e903cf4f1c3983ad4764a46a317188353899f8cd929c72c60387a25a819405b0cf8253488fa11e4ce9be48df98c64bdc0c3df1664a74c2e6c9c4389e6a SHA512 3c4f87e0992615ae4d1f44e6e0fe9909b43d5810f2aca96129f5ee4dcadac7b4ec5a979dbf6e03f60b8bda2ff0d7cf87f9276c4b4c624e2d036627e2d5d8afad
23 +DIST python-email-validator-1.2.1.gh.tar.gz 24348 BLAKE2B 7cd19c07bd0b8c467c0f0ec15376f0677305c6025eff5a86854dfd7cad3fe6971e218e724d86d4040af3f590fe5e841e469dea7dc8526031dccb494845848630 SHA512 e758518ef114e08cca0f83c681e6ff7ec6fad54c1e0bba727ee0f8917e93040ed3873ba0207e21a4830208d98637937294c5c28d67c317dc4ad3351c7d3f99a4
24
25 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
26 new file mode 100644
27 index 000000000000..dd6dc9a517db
28 --- /dev/null
29 +++ b/dev-python/python-email-validator/python-email-validator-1.2.1.ebuild
30 @@ -0,0 +1,41 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="A robust email syntax and deliverability validation library"
42 +HOMEPAGE="
43 + https://github.com/JoshData/python-email-validator/
44 + https://pypi.org/project/email-validator/
45 +"
46 +SRC_URI="
47 + https://github.com/JoshData/python-email-validator/archive/v${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="CC0-1.0"
52 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
53 +SLOT="0"
54 +
55 +RDEPEND="
56 + >=dev-python/idna-2.8[${PYTHON_USEDEP}]
57 + >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}]
58 +"
59 +
60 +distutils_enable_tests pytest
61 +
62 +EPYTEST_DESELECT=(
63 + # these tests rely on access to gmail.com
64 + tests/test_main.py::test_deliverability_found
65 + tests/test_main.py::test_deliverability_fails
66 + # these tests rely on example.com being resolvable
67 + "tests/test_main.py::test_email_example_reserved_domain[me@××××.example]"
68 + "tests/test_main.py::test_email_example_reserved_domain[me@×××××××.com]"
69 + "tests/test_main.py::test_email_example_reserved_domain[me@××××××××××××.com]"
70 + tests/test_main.py::test_validate_email__with_caching_resolver
71 +)