python-daemon: new package
authorDavid Bachelart <david.bachelart@bbright.com>
Thu, 24 Jul 2014 15:43:23 +0000 (17:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 27 Jul 2014 14:01:31 +0000 (16:01 +0200)
[Thomas: adjust license information to use SPDX code for Python
license, add GPLv2+ which is used for the tests, and fix the license
file variable.]

Signed-off-by: David Bachelart <david.bachelart@bbright.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/python-daemon/Config.in [new file with mode: 0644]
package/python-daemon/python-daemon.mk [new file with mode: 0644]

index 6b80ee223903994d1d997bd33358249118f40eae..559b8954d746aae2215682b1a33d7e0cec0d8cd2 100644 (file)
@@ -471,6 +471,7 @@ menu "external python modules"
        source "package/python-bottle/Config.in"
        source "package/python-configobj/Config.in"
        source "package/python-crc16/Config.in"
+       source "package/python-daemon/Config.in"
        source "package/python-dialog/Config.in"
        source "package/python-dpkt/Config.in"
        source "package/python-flup/Config.in"
diff --git a/package/python-daemon/Config.in b/package/python-daemon/Config.in
new file mode 100644 (file)
index 0000000..b3cc8a2
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_DAEMON
+       bool "python-daemon"
+       depends on BR2_PACKAGE_PYTHON
+       help
+         Library to implement a well-behaved Unix daemon process.
+
+         https://pypi.python.org/pypi/python-daemon/
diff --git a/package/python-daemon/python-daemon.mk b/package/python-daemon/python-daemon.mk
new file mode 100644 (file)
index 0000000..d66842c
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-daemon
+#
+################################################################################
+
+PYTHON_DAEMON_VERSION = 1.5.5
+PYTHON_DAEMON_SITE = https://pypi.python.org/packages/source/p/python-daemon/
+PYTHON_DAEMON_LICENSE = Python-2.0 (library), GPLv2+ (test)
+PYTHON_DAEMON_LICENSE_FILES = LICENSE.PSF-2 LICENSE.GPL-2
+PYTHON_DAEMON_SETUP_TYPE = setuptools
+
+$(eval $(python-package))