### this file is sourced not run
PKGVER=1.0.2
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=pyusb-$PKGVER.tar.gz
MD5SUM=862b56452c64948c787ad8ef9498590b
SRC_URL=https://files.pythonhosted.org/packages/5f/34/2095e821c01225377dda4ebdbd53d8316d6abb243c9bee43d3888fa91dd6/$TARBALL
BUNDLE=

SLACKREQ='python libusb' 
SLACKDESC="python-pyusb: python-pyusb $PKGVER (USB library for Python)
python-pyusb: 
python-pyusb: PyUSB offers easy USB devices communication in Python. It should work 
python-pyusb: without additional code in any environment with Python >= 2.4, ctypes 
python-pyusb: and an pre-built usb backend library (currently, libusb 0.1.x, libusb 
python-pyusb: 1.x, and OpenUSB).
python-pyusb: 
python-pyusb: https://pypi.org/project/pyusb/#description
python-pyusb: 
python-pyusb: 
python-pyusb:
"

### default pkg_download
### defaulg pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/pyusb* &&
	python setup.py build &&
	python setup.py install \
		--single-version-externally-managed \
		--root / &&
	pkg_build_slackdesc
}


