python-xlib: new package

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>
This commit is contained in:
Joseph Kogut 2018-01-05 13:13:07 -08:00 committed by Thomas Petazzoni
parent 920d2adfaa
commit 355e41e400
5 changed files with 28 additions and 0 deletions

View 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/

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

View File

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

View File

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

View File

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