python-constantly: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 19 Dec 2016 08:22:34 +0000 (09:22 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 19 Dec 2016 21:26:00 +0000 (22:26 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-constantly/Config.in [new file with mode: 0644]
package/python-constantly/python-constantly.hash [new file with mode: 0644]
package/python-constantly/python-constantly.mk [new file with mode: 0644]

index be0d1506f20333296efa7f682ecf81cda4ecad9b..3a49167fbd7d027077a6c1e5220f4a754886c0ca 100644 (file)
@@ -660,6 +660,7 @@ menu "External python modules"
        source "package/python-coherence/Config.in"
        source "package/python-configobj/Config.in"
        source "package/python-configshell-fb/Config.in"
+       source "package/python-constantly/Config.in"
        source "package/python-couchdb/Config.in"
        source "package/python-crc16/Config.in"
        source "package/python-crcmod/Config.in"
diff --git a/package/python-constantly/Config.in b/package/python-constantly/Config.in
new file mode 100644 (file)
index 0000000..13bb2e8
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_CONSTANTLY
+       bool "python-constantly"
+       help
+         A library that provides symbolic constant support. It
+         includes collections and constants with text, numeric,
+         and bit flag values.
+
+         https://github.com/twisted/constantly
diff --git a/package/python-constantly/python-constantly.hash b/package/python-constantly/python-constantly.hash
new file mode 100644 (file)
index 0000000..fb77877
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/constantly/json, sha256 locally computed
+md5    f0762f083d83039758e53f8cf0086eef  constantly-15.1.0.tar.gz
+sha256 586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35  constantly-15.1.0.tar.gz
diff --git a/package/python-constantly/python-constantly.mk b/package/python-constantly/python-constantly.mk
new file mode 100644 (file)
index 0000000..783d198
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-constantly
+#
+################################################################################
+
+PYTHON_CONSTANTLY_VERSION = 15.1.0
+PYTHON_CONSTANTLY_SOURCE = constantly-$(PYTHON_CONSTANTLY_VERSION).tar.gz
+PYTHON_CONSTANTLY_SITE = https://pypi.python.org/packages/95/f1/207a0a478c4bb34b1b49d5915e2db574cadc415c9ac3a7ef17e29b2e8951
+PYTHON_CONSTANTLY_SETUP_TYPE = setuptools
+PYTHON_CONSTANTLY_LICENSE = MIT
+PYTHON_CONSTANTLY_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))