From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 93AD4158094 for ; Mon, 19 Sep 2022 18:35:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 310B2E082B; Mon, 19 Sep 2022 18:35:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D97F3E0828 for ; Mon, 19 Sep 2022 18:35:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1218340815 for ; Mon, 19 Sep 2022 18:35:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FAFF5E2 for ; Mon, 19 Sep 2022 18:35:20 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1663612086.148a35dfc8adabecbb79fab30c8c6c6f379c708c.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-email-validator/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-email-validator/Manifest dev-python/python-email-validator/python-email-validator-1.3.0.ebuild X-VCS-Directories: dev-python/python-email-validator/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 148a35dfc8adabecbb79fab30c8c6c6f379c708c X-VCS-Branch: master Date: Mon, 19 Sep 2022 18:35:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: db6726cd-22e6-4216-9b2d-25cd668d2e27 X-Archives-Hash: 3765f75bc2a36b72fa334db94d775e5c commit: 148a35dfc8adabecbb79fab30c8c6c6f379c708c Author: Arthur Zamarin gentoo org> AuthorDate: Mon Sep 19 17:44:44 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Sep 19 18:28:06 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=148a35df dev-python/python-email-validator: add 1.3.0 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/python-email-validator/Manifest | 1 + .../python-email-validator-1.3.0.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/python-email-validator/Manifest b/dev-python/python-email-validator/Manifest index b21b5e7cbffb..cf4b72441739 100644 --- a/dev-python/python-email-validator/Manifest +++ b/dev-python/python-email-validator/Manifest @@ -1,2 +1,3 @@ DIST python-email-validator-1.1.3.tar.gz 19863 BLAKE2B 10700b4c6a48c50095045b6e3c9218cd565776b26e17c1c043633e208b9fbd346162cedaa4a1116ec2fccf63b4383438c7e1aef6faf9d2ead5512af7f934675c SHA512 d9087bf56783daf389909e13652a9db8f0408badf454f6239aa20f6a5e9510619d3662cf1567a03d0b14c4bbe81644509cd12975b2aa1b544d644b6c2b2854f4 DIST python-email-validator-1.2.1.gh.tar.gz 24348 BLAKE2B 7cd19c07bd0b8c467c0f0ec15376f0677305c6025eff5a86854dfd7cad3fe6971e218e724d86d4040af3f590fe5e841e469dea7dc8526031dccb494845848630 SHA512 e758518ef114e08cca0f83c681e6ff7ec6fad54c1e0bba727ee0f8917e93040ed3873ba0207e21a4830208d98637937294c5c28d67c317dc4ad3351c7d3f99a4 +DIST python-email-validator-1.3.0.gh.tar.gz 28555 BLAKE2B 7b13b4093be2b97260d01c562a205d299570e63bfba2f8e411000bc19319e9b538e95f2f4d33962b03fe5dc47c3690b8a0134b792f6822386ab6b20b260a991e SHA512 b10139f8eb221fa15a12c44f2c87d17449e317c6edfd4c6a99dc122a9178dcc4c3ef20f99f0feefb6a5b4a9460169b22d835871d2be88efd59f1474ff3d9aa06 diff --git a/dev-python/python-email-validator/python-email-validator-1.3.0.ebuild b/dev-python/python-email-validator/python-email-validator-1.3.0.ebuild new file mode 100644 index 000000000000..d1d134328779 --- /dev/null +++ b/dev-python/python-email-validator/python-email-validator-1.3.0.ebuild @@ -0,0 +1,44 @@ +# 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..11} 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 + tests/test_main.py::test_main_single_good_input + tests/test_main.py::test_main_multi_input + tests/test_main.py::test_main_input_shim +)