package/python-email-validator: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2024-03-11 17:12:30 -06:00 committed by Thomas Petazzoni
parent 4c561a7adf
commit 7760e9a1d8
4 changed files with 29 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -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))