# Contributor: Thomas Liske <thomas@fiasko-nw.net>
# Maintainer: Thomas Liske <thomas@fiasko-nw.net>
pkgname=py3-apds9960
_pkgname=apds9960
pkgver=0.2
pkgrel=3
pkgdesc="python APDS-9960 library"
url="https://github.com/liske/python-apds9960/"
license="GPL-3.0-or-later"
arch="all"
depends="python3"
makedepends="py3-setuptools"
options="!check" # no testsuite
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir" --skip-build
}

sha512sums="
fc79bda53f1a0c9a021b7a0edd8434665e90374a7498e64d6fb640c7961eabf2f121901e603e6a1aa201704ef80cea4125bc29bea977c9cfc7eeea7b79cdc313  apds9960-0.2.tar.gz
"
