package/python-wtforms: new package
authorGrzegorz Blach <grzegorz@blach.pl>
Wed, 7 Nov 2018 15:59:53 +0000 (16:59 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 3 Dec 2018 22:03:31 +0000 (23:03 +0100)
A flexible forms validation and rendering library for
Python web development.

https://wtforms.readthedocs.io/

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-wtforms/Config.in [new file with mode: 0644]
package/python-wtforms/python-wtforms.hash [new file with mode: 0644]
package/python-wtforms/python-wtforms.mk [new file with mode: 0644]

index cd13fb7b98cea1c24366f6e17b4be027e5882f6a..84f846b39ababefdc45d9756d1783d5cbd3d10b8 100644 (file)
@@ -906,6 +906,7 @@ F:  package/pigpio/
 F:     package/python-falcon/
 F:     package/python-mimeparse/
 F:     package/python-pigpio/
+F:     package/python-wtforms/
 
 N:     Guillaume Gardet <guillaume.gardet@oliseo.fr>
 F:     package/c-icap/
index 912d31d6b8278de51eeb104ca7fd265fcf849e2d..d34b0c6171e31577af2b89dee801ee853768f52b 100644 (file)
@@ -1072,6 +1072,7 @@ menu "External python modules"
        source "package/python-wrapt/Config.in"
        source "package/python-ws4py/Config.in"
        source "package/python-wsaccel/Config.in"
+       source "package/python-wtforms/Config.in"
        source "package/python-xlib/Config.in"
        source "package/python-xlrd/Config.in"
        source "package/python-xlsxwriter/Config.in"
diff --git a/package/python-wtforms/Config.in b/package/python-wtforms/Config.in
new file mode 100644 (file)
index 0000000..96ed96d
--- /dev/null
@@ -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 (file)
index 0000000..34beb08
--- /dev/null
@@ -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 (file)
index 0000000..2715320
--- /dev/null
@@ -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))