diff --git a/package/Config.in b/package/Config.in index 8aff995f63..053baa292f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1084,6 +1084,7 @@ menu "External python modules" source "package/python-dpkt/Config.in" source "package/python-dtschema/Config.in" source "package/python-ecdsa/Config.in" + source "package/python-email-validator/Config.in" source "package/python-engineio/Config.in" source "package/python-entrypoints/Config.in" source "package/python-esptool/Config.in" diff --git a/package/python-email-validator/Config.in b/package/python-email-validator/Config.in new file mode 100644 index 0000000000..3b1ffc905c --- /dev/null +++ b/package/python-email-validator/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_EMAIL_VALIDATOR + bool "python-email-validator" + select BR2_PACKAGE_PYTHON_DNSPYTHON # runtime + select BR2_PACKAGE_PYTHON_IDNA # runtime + help + A robust email address syntax and deliverability validation + library. + + https://github.com/JoshData/python-email-validator diff --git a/package/python-email-validator/python-email-validator.hash b/package/python-email-validator/python-email-validator.hash new file mode 100644 index 0000000000..4342f8d91b --- /dev/null +++ b/package/python-email-validator/python-email-validator.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/email-validator/json +md5 a836759afeb7efdc5d493fbdf8a1bae6 email_validator-2.1.1.tar.gz +sha256 200a70680ba08904be6d1eef729205cc0d687634399a5924d842533efb824b84 email_validator-2.1.1.tar.gz +# Locally computed sha256 checksums +sha256 672179752e109134a3fb2bdd0780b29fdb7a03974f0f586a13aead5129562d4c LICENSE diff --git a/package/python-email-validator/python-email-validator.mk b/package/python-email-validator/python-email-validator.mk new file mode 100644 index 0000000000..8d82eb092f --- /dev/null +++ b/package/python-email-validator/python-email-validator.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-email-validator +# +################################################################################ + +PYTHON_EMAIL_VALIDATOR_VERSION = 2.1.1 +PYTHON_EMAIL_VALIDATOR_SOURCE = email_validator-$(PYTHON_EMAIL_VALIDATOR_VERSION).tar.gz +PYTHON_EMAIL_VALIDATOR_SITE = https://files.pythonhosted.org/packages/63/82/2914bff80ebee8c027802a664ad4b4caad502cd594e358f76aff395b5e56 +PYTHON_EMAIL_VALIDATOR_SETUP_TYPE = setuptools +PYTHON_EMAIL_VALIDATOR_LICENSE = Unlicense +PYTHON_EMAIL_VALIDATOR_LICENSE_FILES = LICENSE + +$(eval $(python-package))