mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 19:36:48 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
# Contributor: Will Sinatra <wpsinatra@gmail.com>
|
|
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
|
|
pkgname=sigma
|
|
pkgver=0.23.1
|
|
pkgrel=1
|
|
pkgdesc="Generic Signature Format for SIEM Systems"
|
|
url="https://github.com/sigmahq/sigma"
|
|
license="LGPL-3.0-only"
|
|
arch="noarch"
|
|
makedepends="py3-build py3-installer py3-setuptools py3-wheel"
|
|
depends="python3"
|
|
_pkg=sigmatools
|
|
subpackages="$pkgname-pyc"
|
|
source="sigma-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/s/$_pkg/$_pkg-$pkgver.tar.gz
|
|
remove_data_file_installation.patch"
|
|
builddir="$srcdir/$_pkg-$pkgver"
|
|
options="!check"
|
|
|
|
build() {
|
|
python3 -m build --wheel --no-isolation
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer --destdir="$pkgdir" dist/*.whl
|
|
install -Dm644 config/*.yml -t "$pkgdir/etc/sigma/"
|
|
install -Dm644 config/generic/*.yml -t "$pkgdir/etc/sigma/"
|
|
}
|
|
|
|
sha512sums="
|
|
8c91a66111765b02876e5b9341518aaa7a51eddc51cc16da077c2144673d7f8192fb0e997367d9f546d436a086244c0ae135e6e3348a0879ad6621f778f15c88 sigma-0.23.1.tar.gz
|
|
ab129d3c74750b149655697f3e61f27e2119e0fef52e89c2abee6a23f32582dd3ea66ff20e78bc2d57fe0d5c92e4acea7fd6440af6bcd18073eaf40dca0de70e remove_data_file_installation.patch
|
|
"
|