瀏覽代碼

python-constantly: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yegor Yefremov 8 年之前
父節點
當前提交
4f37e027df

+ 1 - 0
package/Config.in

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

+ 8 - 0
package/python-constantly/Config.in

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

+ 3 - 0
package/python-constantly/python-constantly.hash

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

+ 14 - 0
package/python-constantly/python-constantly.mk

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