archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-aiodiscover / trunk / PKGBUILD
blob8a5af087e74688fd5149bea45ec36f041bfdf7e7
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
3 pkgname=python-aiodiscover
4 pkgver=1.4.16
5 pkgrel=1
6 pkgdesc='Discover Hosts via ARP and PTR lookup'
7 arch=(x86_64)
8 url=https://github.com/bdraco/aiodiscover
9 license=(APACHE)
10 depends=(
11   python
12   python-dnspython
13   python-ifaddr
14   python-netifaces
15   python-pyroute2
17 makedepends=(
18   git
19   python-pytest-runner
20   python-setuptools
21   python-wheel
23 _tag=7809bdfd8b56e28318becdd23ac24f9b25df801e
24 source=(git+https://github.com/bdraco/aiodiscover.git#tag=${_tag})
25 b2sums=(SKIP)
27 pkgver() {
28   cd aiodiscover
29   git describe --tags | sed 's/^v//'
32 build() {
33   cd aiodiscover
34   python setup.py build
37 package() {
38   cd aiodiscover
39   python setup.py install --root="${pkgdir}" --optimize=1
42 # vim: ts=2 sw=2 et: