summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bb07995d78582c0ecb8b94adc040193bcf278a01 (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
# Maintainer: KiWi42 < pullthisplug dash aur at yahoo dot com >
# Contributor: algebro

pkgname=python-libnmap
pkgver=0.7.3
pkgrel=1
pkgdesc="Python NMAP library enabling you to start async nmap tasks, parse and compare/diff scan results. Python 3 version from PyPi"
arch=('any')
url="https://github.com/savon-noir/python-libnmap"
license=('Apache-2.0')
depends=('python')
optdepends=('python-sqlalchemy' 'python-pymongo' 'python-boto' 'python-defusedxml')
makedepends=(python-build python-installer python-wheel)
source=("https://files.pythonhosted.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('d03629256c2ee9ab37390c28d4c4c2ae9637cd0861dd8ab9e0f32779545936c0')

build() {
    cd $pkgname-$pkgver
    python -m build --wheel --no-isolation
}

package() {
    cd $pkgname-$pkgver
    python -m installer --destdir="$pkgdir" dist/*.whl
}