summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-11-06 09:04:21 +0100
committerMichał Górny <mgorny@gentoo.org>2020-11-06 09:04:21 +0100
commitb786183e84fe62cb4b133b3dbe5923c68f48b9d6 (patch)
tree914102b41bce9161772eeae58e7c5566e0790e40 /dev-python
parentdev-python/zope-interface: Bump to 5.2.0 (diff)
downloadgentoo-b786183e84fe62cb4b133b3dbe5923c68f48b9d6.tar.gz
gentoo-b786183e84fe62cb4b133b3dbe5923c68f48b9d6.tar.bz2
gentoo-b786183e84fe62cb4b133b3dbe5923c68f48b9d6.zip
dev-python/python-email-validator: Bump to 1.1.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/python-email-validator/Manifest1
-rw-r--r--dev-python/python-email-validator/python-email-validator-1.1.2.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/python-email-validator/Manifest b/dev-python/python-email-validator/Manifest
index 1000c658d639..979aae20708b 100644
--- a/dev-python/python-email-validator/Manifest
+++ b/dev-python/python-email-validator/Manifest
@@ -1 +1,2 @@
DIST python-email-validator-1.1.1.tar.gz 18497 BLAKE2B a65a5603854920d022062fb4f1575eafe7274e5501ae00fdb58a53a75c6582353ce2c46e20a6a172e7a4a1bbe2b25515b543ace2af4151102c5201ff1ac27132 SHA512 fb4dc5b728adca6041129aa3eecb3efbb358ecf47bf383737936132df7b24c3b9e47e56918d375d8eb4a2535d56ce22c9e03dc126dafd8894911b43fe30f5162
+DIST python-email-validator-1.1.2.tar.gz 19421 BLAKE2B 118165ceed5da6fed377180662496f5bc996f1d3c2201e6a014cae8f66a9ff3f447900aff07f778fdec49cd0c680ad6f9316f30f6c152b7eed4f1f57adc1ba74 SHA512 b40f8ecd65a9a5945a1a84b174398fc495afccd27ad5fcd7b4a03ecd26bcff6dd6ac3b5f75ac200cf2647b92d4defb25afe1dda28f82ed86bd8c2bd82708d0aa
diff --git a/dev-python/python-email-validator/python-email-validator-1.1.2.ebuild b/dev-python/python-email-validator/python-email-validator-1.1.2.ebuild
new file mode 100644
index 000000000000..8cd9e9bd41e1
--- /dev/null
+++ b/dev-python/python-email-validator/python-email-validator-1.1.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} pypy3 )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+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"
+S="${WORKDIR}/${PN}-${PV}"
+
+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_prepare_all() {
+ # deliverability tests fail within network-sandbox
+ sed -e 's:test_deliverability_:_&:' \
+ -i tests/test_main.py || die
+
+ distutils-r1_python_prepare_all
+}