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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B22DD1382C5 for ; Sat, 12 Jun 2021 21:02:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE659E0809; Sat, 12 Jun 2021 21:02:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93B1DE0809 for ; Sat, 12 Jun 2021 21:02:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0ABB6340CC9 for ; Sat, 12 Jun 2021 21:02:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B2DF7A9 for ; Sat, 12 Jun 2021 21:02:05 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1623531721.0c1f264b83fc1c65e4c0f069e20bbdc8788fee89.mgorny@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.1.3.ebuild X-VCS-Directories: dev-python/python-email-validator/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0c1f264b83fc1c65e4c0f069e20bbdc8788fee89 X-VCS-Branch: master Date: Sat, 12 Jun 2021 21:02:05 +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: 8e6569db-f619-4662-b306-054abdd604f7 X-Archives-Hash: 8c54f7f6e44933bca6987dc091105832 commit: 0c1f264b83fc1c65e4c0f069e20bbdc8788fee89 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 12 20:14:22 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jun 12 21:02:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c1f264b dev-python/python-email-validator: Bump to 1.1.3 Signed-off-by: Michał Górny gentoo.org> dev-python/python-email-validator/Manifest | 1 + .../python-email-validator-1.1.3.ebuild | 35 ++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-python/python-email-validator/Manifest b/dev-python/python-email-validator/Manifest index 813d1c7e6ac..c678424339a 100644 --- a/dev-python/python-email-validator/Manifest +++ b/dev-python/python-email-validator/Manifest @@ -1 +1,2 @@ DIST python-email-validator-1.1.2.tar.gz 19421 BLAKE2B 118165ceed5da6fed377180662496f5bc996f1d3c2201e6a014cae8f66a9ff3f447900aff07f778fdec49cd0c680ad6f9316f30f6c152b7eed4f1f57adc1ba74 SHA512 b40f8ecd65a9a5945a1a84b174398fc495afccd27ad5fcd7b4a03ecd26bcff6dd6ac3b5f75ac200cf2647b92d4defb25afe1dda28f82ed86bd8c2bd82708d0aa +DIST python-email-validator-1.1.3.tar.gz 19863 BLAKE2B 10700b4c6a48c50095045b6e3c9218cd565776b26e17c1c043633e208b9fbd346162cedaa4a1116ec2fccf63b4383438c7e1aef6faf9d2ead5512af7f934675c SHA512 d9087bf56783daf389909e13652a9db8f0408badf454f6239aa20f6a5e9510619d3662cf1567a03d0b14c4bbe81644509cd12975b2aa1b544d644b6c2b2854f4 diff --git a/dev-python/python-email-validator/python-email-validator-1.1.3.ebuild b/dev-python/python-email-validator/python-email-validator-1.1.3.ebuild new file mode 100644 index 00000000000..68cc0b7a9cc --- /dev/null +++ b/dev-python/python-email-validator/python-email-validator-1.1.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" +SRC_URI="https://github.com/JoshData/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC0-1.0" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +RDEPEND=" + >=dev-python/idna-2.0.0[${PYTHON_USEDEP}] + >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest + +python_test() { + local deselect=( + # these tests rely on access to gmail.com + tests/test_main.py::test_deliverability_no_records + tests/test_main.py::test_deliverability_found + tests/test_main.py::test_deliverability_fails + tests/test_main.py::test_validate_email__with_caching_resolver + tests/test_main.py::test_validate_email__with_configured_resolver + ) + + epytest ${deselect[@]/#/--deselect } +}