aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-netdisco/APKBUILD
blob: fd65fa724c781084f94c1b875fa8b6169cd8f5e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-netdisco
_pkgname=netdisco
pkgver=2.8.2
pkgrel=3
pkgdesc="Python library to scan local network for services and devices"
url="https://github.com/home-assistant-libs/netdisco"
arch="noarch"
license="Apache-2.0"
depends="py3-zeroconf py3-requests python3"
checkdepends="py3-pytest"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="668d3549ff26a5dff20546bdb7bb084f5660b7190d7e0c177319c43f79e5bfa57a259ba5a11c6970ba251c76f4be46d6307996c341d7d0bcdebb9ccad53173db  netdisco-2.8.2.tar.gz"