python-pyusb: make recipe available as python3 version

Refactored existing python-pyusb recipe so that pyusb can also be built
for python3.

Signed-off-by: S. Lockwood-Childs <sjl@vctlabs.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
S. Lockwood-Childs
2017-08-02 14:51:23 -07:00
committed by Martin Jansa
parent 2d78e2cfab
commit 3a13b1b4e3
3 changed files with 14 additions and 10 deletions

View File

@@ -0,0 +1,2 @@
inherit distutils3
require python-pyusb.inc