python-logbook: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 16 Jan 2017 15:46:19 +0000 (16:46 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 24 Jan 2017 09:42:08 +0000 (22:42 +1300)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-logbook/Config.in [new file with mode: 0644]
package/python-logbook/python-logbook.hash [new file with mode: 0644]
package/python-logbook/python-logbook.mk [new file with mode: 0644]

index e483b0b5cdac320a0bdb021c62df2d4b3f29f8c0..a3bd1d114e108026cd840cf0d182c5023ce1f07a 100644 (file)
@@ -709,6 +709,7 @@ menu "External python modules"
        source "package/python-keyring/Config.in"
        source "package/python-libconfig/Config.in"
        source "package/python-lmdb/Config.in"
+       source "package/python-logbook/Config.in"
        source "package/python-lxml/Config.in"
        source "package/python-mad/Config.in"
        source "package/python-mako/Config.in"
diff --git a/package/python-logbook/Config.in b/package/python-logbook/Config.in
new file mode 100644 (file)
index 0000000..9ae9144
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_LOGBOOK
+       bool "python-logbook"
+       help
+         A logging replacement for Python.
+
+         http://logbook.pocoo.org/
diff --git a/package/python-logbook/python-logbook.hash b/package/python-logbook/python-logbook.hash
new file mode 100644 (file)
index 0000000..1a79046
--- /dev/null
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/logbook/json, sha256 locally computed
+md5    22fea705e067c118925898f0c30b0508  Logbook-1.0.0.tar.gz
+sha256 87da2515a6b3db866283cb9d4e5a6ec44e52a1d556ebb2ea3b6e7e704b5f1872  Logbook-1.0.0.tar.gz
diff --git a/package/python-logbook/python-logbook.mk b/package/python-logbook/python-logbook.mk
new file mode 100644 (file)
index 0000000..2912379
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-logbook
+#
+################################################################################
+
+PYTHON_LOGBOOK_VERSION = 1.0.0
+PYTHON_LOGBOOK_SOURCE = Logbook-$(PYTHON_LOGBOOK_VERSION).tar.gz
+PYTHON_LOGBOOK_SITE = https://pypi.python.org/packages/34/e8/6419c217bbf464fe8a902418120cccaf476201bd03b50958db24d6e90f65
+PYTHON_LOGBOOK_SETUP_TYPE = setuptools
+PYTHON_LOGBOOK_LICENSE = BSD-3c
+
+$(eval $(python-package))