# Contributor: Jonas <spameier+alpine@proton.me>
# Maintainer: Jonas <spameier+alpine@proton.me>
pkgname=jackdaw
pkgver=0.3.1
pkgrel=2
pkgdesc="Gathering shiny things from your domain"
url="https://github.com/skelsec/jackdaw"
# s390x: py3-igraph
arch="all !s390x"
license="MIT"
depends="
	py3-aiosmb
	py3-asyauth
	py3-asysocks
	py3-igraph
	py3-minikerberos
	py3-msldap
	py3-networkx
	py3-sqlalchemy
	py3-tqdm
	py3-winacl
	python3
	"
makedepends="
	py3-gpep517
	py3-setuptools
	py3-wheel
	"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/skelsec/jackdaw/archive/refs/tags/$pkgver.tar.gz"
options="!check" # no tests provided

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
142ae1167feec099f082f873128002909ef91e575e285935d7b78a115e5c39192b25291d1cb5300f0d3fb1f80c40aa306963e0296ed70a607e35f605c5132196  jackdaw-0.3.1.tar.gz
"
