python-pyusb: new package

[Thomas: converted to the Python package infrastructure, added missing
libusb dependency in the .mk file, added missing newline in the
Config.in file, fix the package description]

Signed-off-by: Wojciech M. Zabolotny <wzab01@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Wojciech M. Zabolotny
2013-12-11 21:26:59 +01:00
committed by Peter Korsgaard
parent d3e6511813
commit 973b3f7556
3 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
################################################################################
#
# python-pyusb
#
################################################################################
PYTHON_PYUSB_VERSION = 0546cad8980783c39f96db717005a550059b730f
PYTHON_PYUSB_SITE = $(call github,walac,pyusb,$(PYTHON_PYUSB_VERSION))
PYTHON_PYUSB_LICENSE = BSD-3c
PYTHON_PYUSB_LICENSE_FILES = LICENSE
PYTHON_PYUSB_SETUP_TYPE = distutils
PYTHON_PYUSB_DEPENDENCIES = libusb
$(eval $(python-package))