mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 04:05:40 +03:00
29 lines
881 B
Text
29 lines
881 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-netdisco
|
|
_pkgname=netdisco
|
|
pkgver=2.7.0
|
|
pkgrel=0
|
|
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 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="bd2af11e4e8fdf6048448bf9c71ef70a0529e8ca8881dcee3994e3514a99b713cb12a23d9d1b01d797b3008532d1a79ebc06592e890df8e1bcc7a7e79d01b5d5 netdisco-2.7.0.tar.gz"
|