python-xlib: new package
authorJoseph Kogut <joseph.kogut@gmail.com>
Fri, 5 Jan 2018 21:13:07 +0000 (13:13 -0800)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 6 Jan 2018 14:11:19 +0000 (15:11 +0100)
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: fix license, it's LGPL-2.1+.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
DEVELOPERS
package/Config.in
package/python-xlib/Config.in [new file with mode: 0644]
package/python-xlib/python-xlib.hash [new file with mode: 0644]
package/python-xlib/python-xlib.mk [new file with mode: 0644]

index a9a9ac5a394435d04638c2d30fd0a945dcd54e01..999e7d3300b65e7681cfe496e32763d3498758e7 100644 (file)
@@ -848,6 +848,7 @@ F:  package/gconf/
 F:     package/python-raven/
 F:     package/python-schedule/
 F:     package/python-websockets/
+F:     package/python-xlib/
 
 N:     Johan Derycke <johanderycke@gmail.com>
 F:     package/python-libconfig/
index 37b1e9fe4fe28c419ac8cf3935c1b79d9c0b6f83..729d660d525bee62faaaec5aab43f03ed1e54732 100644 (file)
@@ -941,6 +941,7 @@ menu "External python modules"
        source "package/python-whoosh/Config.in"
        source "package/python-ws4py/Config.in"
        source "package/python-wsaccel/Config.in"
+       source "package/python-xlib/Config.in"
        source "package/python-xlrd/Config.in"
        source "package/python-xlsxwriter/Config.in"
        source "package/python-xlutils/Config.in"
diff --git a/package/python-xlib/Config.in b/package/python-xlib/Config.in
new file mode 100644 (file)
index 0000000..081af6a
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_XLIB
+       bool "python-xlib"
+       select BR2_PACKAGE_PYTHON_SIX # runtime
+       help
+         XLib in pure Python (Py2/Py3 compatible)
+
+         https://github.com/python-xlib/python-xlib
diff --git a/package/python-xlib/python-xlib.hash b/package/python-xlib/python-xlib.hash
new file mode 100644 (file)
index 0000000..5cb9806
--- /dev/null
@@ -0,0 +1,4 @@
+# md5 from https://pypi.python.org/pypi/python-xlib/json, sha256 locally computed
+md5 cdf342aa145c2be0ccae46cfb7b62551 python-xlib-0.21.tar.bz2
+sha256 25aad0056172920552c01a163e979b02336abaf47b0792dae9c93ecb29500431 python-xlib-0.21.tar.bz2
+sha256 5ce9459bc19ced99cc9eb135d4f559ed01e336354bdf16dd998be85aa688c233 LICENSE
diff --git a/package/python-xlib/python-xlib.mk b/package/python-xlib/python-xlib.mk
new file mode 100644 (file)
index 0000000..93de424
--- /dev/null
@@ -0,0 +1,15 @@
+###############################################################################
+#
+# python-xlib
+#
+###############################################################################
+
+PYTHON_XLIB_VERSION = 0.21
+PYTHON_XLIB_SOURCE = python-xlib-$(PYTHON_XLIB_VERSION).tar.bz2
+PYTHON_XLIB_SITE = https://pypi.python.org/packages/eb/de/b0eaaea7b8512dc41504db071824eef30293ff55c58d83081ebaebe85a38
+PYTHON_XLIB_SETUP_TYPE = setuptools
+PYTHON_XLIB_LICENSE = LGPL-2.1+
+PYTHON_XLIB_LICENSE_FILES = LICENSE
+PYTHON_XLIB_DEPENDENCIES = host-python-setuptools-scm
+
+$(eval $(python-package))