summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-23 17:59:47 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-23 18:02:32 +0200
commit37b2f25fbaecb8eab31ce07f9ef74c8d9508a7f0 (patch)
treea06a4212e05048b66979497e4cef3619fcdda86a /dev-python/email-validator
parentdev-python/path: Enable py3.12 (diff)
downloadgentoo-37b2f25fbaecb8eab31ce07f9ef74c8d9508a7f0.tar.gz
gentoo-37b2f25fbaecb8eab31ce07f9ef74c8d9508a7f0.tar.bz2
gentoo-37b2f25fbaecb8eab31ce07f9ef74c8d9508a7f0.zip
Rename dev-python/{python-email-validator → email-validator}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/email-validator')
-rw-r--r--dev-python/email-validator/Manifest1
-rw-r--r--dev-python/email-validator/email-validator-2.0.0_p2.ebuild31
-rw-r--r--dev-python/email-validator/metadata.xml25
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/email-validator/Manifest b/dev-python/email-validator/Manifest
new file mode 100644
index 000000000000..b28949611faf
--- /dev/null
+++ b/dev-python/email-validator/Manifest
@@ -0,0 +1 @@
+DIST email_validator-2.0.0.post2.tar.gz 45253 BLAKE2B b213ebab2a10acf6c2ab95d382fa78ef92f41ff85ce25c1cfa5a65403e728fd05c66df3dccbaec77eea469d0665701ad5d8047c31e69b57ed8e6fe52f3a1f9c5 SHA512 8c4abc955d909ef05ca89d6c6931bce06de199c33c5f8d0744d44ff00ee69c1841f295882af3da03963cc90ef031da46cdaef90249f73e0c7b47f19dfb816b62
diff --git a/dev-python/email-validator/email-validator-2.0.0_p2.ebuild b/dev-python/email-validator/email-validator-2.0.0_p2.ebuild
new file mode 100644
index 000000000000..e91d099396a3
--- /dev/null
+++ b/dev-python/email-validator/email-validator-2.0.0_p2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN=email-validator
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A robust email syntax and deliverability validation library"
+HOMEPAGE="
+ https://github.com/JoshData/python-email-validator/
+ https://pypi.org/project/email-validator/
+"
+
+LICENSE="CC0-1.0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips 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
+
+python_test() {
+ epytest -m "not network"
+}
diff --git a/dev-python/email-validator/metadata.xml b/dev-python/email-validator/metadata.xml
new file mode 100644
index 000000000000..d11066533df9
--- /dev/null
+++ b/dev-python/email-validator/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>andrewammerlaan@gentoo.org</email>
+ <name>Andrew Ammerlaan</name>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>xp.vit.blr@gmail.com</email>
+ <name>Viktar Patotski</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">JoshData/python-email-validator</remote-id>
+ <remote-id type="pypi">email-validator</remote-id>
+ </upstream>
+</pkgmetadata>