From: Joseph Kogut Date: Fri, 5 Jan 2018 21:13:07 +0000 (-0800) Subject: python-xlib: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=355e41e400ed5fa3a621157c8c2ce296e839a033;p=buildroot.git python-xlib: new package Signed-off-by: Joseph Kogut Reviewed-by: Yegor Yefremov [Thomas: fix license, it's LGPL-2.1+.] Signed-off-by: Thomas Petazzoni --- diff --git a/DEVELOPERS b/DEVELOPERS index a9a9ac5a39..999e7d3300 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -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 F: package/python-libconfig/ diff --git a/package/Config.in b/package/Config.in index 37b1e9fe4f..729d660d52 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..081af6a2fc --- /dev/null +++ b/package/python-xlib/Config.in @@ -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 index 0000000000..5cb9806856 --- /dev/null +++ b/package/python-xlib/python-xlib.hash @@ -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 index 0000000000..93de424a3e --- /dev/null +++ b/package/python-xlib/python-xlib.mk @@ -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))