aports/community/py3-evtx/APKBUILD
2024-08-28 12:48:13 +00:00

33 lines
976 B
Plaintext

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-evtx
_pkgname=python-evtx
pkgver=0.8.0
pkgrel=0
pkgdesc="Pure Python3 parser for recent Windows Event Log files (.evtx)"
url="https://github.com/williballenthin/python-evtx"
arch="noarch !s390x" # most of the tests failing
license="Apache-2.0"
depends="python3 py3-six py3-hexdump"
makedepends="py3-setuptools py3-wheel"
checkdepends="py3-pytest py3-parsing py3-lxml"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/williballenthin/python-evtx/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
ee7ae9d2bc977a27ea85d424496f80ef1fd56d8160a908bfcc05baab149ff465d796a4c693dc71c8a7f77e7dba8d91f23d1282a7e5ae9be3dfc5b5b5edba8cc3 py3-evtx-0.8.0.tar.gz
"