Patchwork [meta-oe] python-pyusb: add recipe to support usb development in Python

login
register
mail settings
Submitter Peter Bigot
Date Dec. 31, 2011, 5:40 p.m.
Message ID <1325353221-558-1-git-send-email-bigotp@acm.org>
Download mbox | patch
Permalink /patch/17927/
State Accepted
Commit 62332b8522f131d59136b4170dc8073638ec5641
Headers show

Comments

Peter Bigot - Dec. 31, 2011, 5:40 p.m.
From: "Peter A. Bigot" <bigotp@acm.org>

---
 .../python/python-pyusb_1.0.0a2.bb                 |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/python/python-pyusb_1.0.0a2.bb

Patch

diff --git a/meta-oe/recipes-devtools/python/python-pyusb_1.0.0a2.bb b/meta-oe/recipes-devtools/python/python-pyusb_1.0.0a2.bb
new file mode 100644
index 0000000..4048f4b
--- /dev/null
+++ b/meta-oe/recipes-devtools/python/python-pyusb_1.0.0a2.bb
@@ -0,0 +1,17 @@ 
+DESCRIPTION = "PyUSB provides USB access on the Python language"
+HOMEPAGE = "http://pyusb.sourceforge.net/"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a53a9c39efcfb812e2464af14afab013"
+DEPENDS = "libusb1"
+
+SRC_URI = "\
+  ${SOURCEFORGE_MIRROR}/pyusb/${SRCNAME}-${PV}.tar.gz \
+"
+SRC_URI[md5sum] = "9136b3dc019272c62a5b6d4eb624f89f"
+SRC_URI[sha256sum] = "dacbf7d568c0bb09a974d56da66d165351f1ba3c4d5169ab5b734266623e1736"
+
+SRCNAME = "pyusb"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils