diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-08-29 20:35:32 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-29 21:08:28 -0300 |
commit | e6d9cb721fe606513f91ae51962cdb48359fd8c2 (patch) | |
tree | 3d23d42b168043ad53a2b84660b2029c4e298563 /unmaintained/py3-netdisco | |
parent | c3d8911c7d4aa2a5e624d665897d7e27af3a325d (diff) | |
download | aports-e6d9cb721fe606513f91ae51962cdb48359fd8c2.tar.bz2 aports-e6d9cb721fe606513f91ae51962cdb48359fd8c2.tar.xz |
unmaintained/py3-netdisco: move from testing
- upstream no longer maintains it
Diffstat (limited to 'unmaintained/py3-netdisco')
-rw-r--r-- | unmaintained/py3-netdisco/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/unmaintained/py3-netdisco/APKBUILD b/unmaintained/py3-netdisco/APKBUILD new file mode 100644 index 0000000000..f4b1e526b4 --- /dev/null +++ b/unmaintained/py3-netdisco/APKBUILD @@ -0,0 +1,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" |