aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py3-netdisco/APKBUILD
blob: f4b1e526b4da2c07c723daadb61552117343e966 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-netdisco
_pkgname=netdisco
pkgver=2.6.0
pkgrel=2
pkgdesc="Python library to scan local network for services and devices"
url="https://github.com/home-assistant/netdisco/"
arch="noarch"
license="Apache-2.0"
depends="py3-zeroconf py3-requests"
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="9892559e6d1f1b84bdb400455c423c9392b0077e56fdbb138f59bfbcc6810a48e2e4698d079316be4bdc9c12d73a7bf97860e5836574f634a1f2700ef7c12771  netdisco-2.6.0.tar.gz"