blob: b859ff9bc16f732cb935b4e7d4ac8c617d9f65d2 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Stefan Tatschner <stefan@rumpelsepp.org>
pkgname=gallia
pkgver=1.9.0
pkgrel=1
pkgdesc='Extendable Pentesting Framework'
arch=(any)
url="https://github.com/Fraunhofer-AISEC/gallia"
license=("apache")
depends=(
"python"
"python-pydantic"
"python-aiohttp"
"python-aiofiles"
"python-aiosqlite"
"python-argcomplete"
"python-zstandard"
"python-can"
"python-tabulate"
"python-pygit2"
"python-msgspec"
"python-pydantic"
"python-exitcode"
"python-platformdirs"
"python-httpx"
"python-psutil"
"python-construct"
)
makedepends=("python-poetry" "python-build" "python-installer" "git")
source=("https://github.com/Fraunhofer-AISEC/gallia/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('e66d2bc412aefa3786438b7026c9d2aa00a5a810db98bbecfcbc176ee61edcd3')
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
register-python-argcomplete --shell bash gallia | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/bash-completion/completions/gallia
register-python-argcomplete --shell fish gallia | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/fish/vendor_completions.d/gallia.fish
}
|