1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_4} )
11 DESCRIPTION="USB support for Python"
12 HOMEPAGE="http://pyusb.sourceforge.net/"
13 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
17 KEYWORDS="~amd64 ~arm ~ppc ~x86"
20 ### This version is compatible with both 0.X and 1.X versions of libusb
21 DEPEND="virtual/libusb:=
22 dev-python/setuptools[${PYTHON_USEDEP}]"
25 DOCS="README.rst docs/tutorial.rst"
27 S="${WORKDIR}/${MY_P}"