# Maintainer: Maxr1998 _name=netdisco pkgname=python-netdisco pkgver=2.3.0 pkgrel=1 pkgdesc='Library for Python that discovers devices on your local network' arch=('any') url=https://github.com/home-assistant/netdisco license=('Apache') depends=('python' 'python-zeroconf' 'python-requests' 'python-setuptools') source=("https://files.pythonhosted.org/packages/source/n/netdisco/$_name-$pkgver.tar.gz") sha256sums=("2571fc094f3bf8c60be211e90474515f565f3ef1c92e857176daab8577493a3b") build() { cd $_name-$pkgver python setup.py build } package() { cd $_name-$pkgver python setup.py install --root="$pkgdir" --optimize=1 --skip-build install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et: