summaryrefslogtreecommitdiffstats
path: root/package/python-pyusb/Config.in
diff options
context:
space:
mode:
authorWojciech M. Zabolotny <wzab01@gmail.com>2013-12-11 21:26:59 +0100
committerPeter Korsgaard <peter@korsgaard.com>2013-12-15 13:41:28 +0100
commit973b3f75568be74cbe39c19527c6c4a889505e6b (patch)
tree04b02b178c15a78b2eea72a2cfea2194c4fd730c /package/python-pyusb/Config.in
parentd3e65118132968b6575a98431337a5300e38879d (diff)
downloadbuildroot-973b3f75568be74cbe39c19527c6c4a889505e6b.tar.gz
buildroot-973b3f75568be74cbe39c19527c6c4a889505e6b.zip
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>
Diffstat (limited to 'package/python-pyusb/Config.in')
-rw-r--r--package/python-pyusb/Config.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/python-pyusb/Config.in b/package/python-pyusb/Config.in
new file mode 100644
index 0000000000..de5b487014
--- /dev/null
+++ b/package/python-pyusb/Config.in
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_PYTHON_PYUSB
+ bool "python-pyusb"
+ depends on BR2_PACKAGE_PYTHON
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+ select BR2_PACKAGE_LIBUSB
+ help
+ The PyUSB module provides easy access to the Universal
+ Serial Bus (USB) from Python.
+
+ http://sourceforge.net/apps/trac/pyusb/
+
+comment "python-pyusb needs a toolchain w/ threads"
+ depends on BR2_PACKAGE_PYTHON
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud