aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-evtx/APKBUILD
blob: db00038d3751c2df343b0ebfed3192792be8292f (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-evtx
_pkgname=python-evtx
pkgver=0.6.1
pkgrel=2
pkgdesc="Pure Python3 parser for recent Windows Event Log files (.evtx)"
url="http://www.williballenthin.com/evtx/index.html"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/williballenthin/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-evtx" # Backwards compatibility
provides="py-evtx=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="e0b0a5a002b2aa82262b49b269ab84be8ee57f1de69daf5b3e9e5167915fa63b756da240856fc37cacbabf7910189d3b5270e0d18905d09a8fd1f44ec8b3d1e2  py3-evtx-0.6.1.tar.gz"