summaryrefslogtreecommitdiffstats
path: root/package/python-wtforms
diff options
context:
space:
mode:
Diffstat (limited to 'package/python-wtforms')
-rw-r--r--package/python-wtforms/Config.in7
-rw-r--r--package/python-wtforms/python-wtforms.hash5
-rw-r--r--package/python-wtforms/python-wtforms.mk14
3 files changed, 26 insertions, 0 deletions
diff --git a/package/python-wtforms/Config.in b/package/python-wtforms/Config.in
new file mode 100644
index 0000000000..96ed96da0a
--- /dev/null
+++ b/package/python-wtforms/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_WTFORMS
+ bool "python-wtforms"
+ help
+ A flexible forms validation and rendering library for
+ Python web development.
+
+ https://wtforms.readthedocs.io/
diff --git a/package/python-wtforms/python-wtforms.hash b/package/python-wtforms/python-wtforms.hash
new file mode 100644
index 0000000000..34beb08010
--- /dev/null
+++ b/package/python-wtforms/python-wtforms.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/wtforms/json
+md5 41c0008dbe7bd98892c58f7457a46a4a WTForms-2.2.1.tar.gz
+sha256 0cdbac3e7f6878086c334aa25dc5a33869a3954e9d1e015130d65a69309b3b61 WTForms-2.2.1.tar.gz
+# Locally computed sha256 checksums
+sha256 64cba207423f4478e3262c2e54209f8cd2057d687e200a50e0203db5659947a5 LICENSE.rst
diff --git a/package/python-wtforms/python-wtforms.mk b/package/python-wtforms/python-wtforms.mk
new file mode 100644
index 0000000000..2715320d27
--- /dev/null
+++ b/package/python-wtforms/python-wtforms.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-wtforms
+#
+################################################################################
+
+PYTHON_WTFORMS_VERSION = 2.2.1
+PYTHON_WTFORMS_SOURCE = WTForms-$(PYTHON_WTFORMS_VERSION).tar.gz
+PYTHON_WTFORMS_SITE = https://files.pythonhosted.org/packages/cd/1d/7221354ebfc32b868740d02e44225c2ce00769b0d3dc370e463e2bc4b446
+PYTHON_WTFORMS_SETUP_TYPE = setuptools
+PYTHON_WTFORMS_LICENSE = BSD-3-Clause
+PYTHON_WTFORMS_LICENSE_FILES = LICENSE.rst
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud