aports/testing/volatility3/APKBUILD
2025-02-13 07:39:57 +00:00

34 lines
1,004 B
Text

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=volatility3
pkgver=2.11.0
pkgrel=0
pkgdesc="Volatile memory forensics toolkit"
url="https://github.com/volatilityfoundation/volatility3"
arch="noarch !armhf !armv7" # py3-yara
license="custom"
depends="py3-crypto py3-capstone py3-yara py3-pefile"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
subpackages="$pkgname-doc $pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/volatilityfoundation/volatility3/archive/v$pkgver.tar.gz"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
check() {
python3 setup.py check
}
package() {
python3 -m installer -d "$pkgdir" .dist/*.whl
install -Dm644 LICENSE.txt \
-t "$pkgdir"/usr/share/licenses/$pkgname/
}
sha512sums="
6cb02e2db34a64e26115883c7ac545c25effcc5600ec075c7d115c4ec825350788957bc8798370753fb5872467d4438cc45d11f40e8b772dac9ded3ac0148831 volatility3-2.11.0.tar.gz
"