mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-19 23:51:58 +01:00
29 lines
847 B
Plaintext
29 lines
847 B
Plaintext
# 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"
|