aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py2-evtx/APKBUILD
blob: f656be34794321b72231e9a46ff590b9ba273a77 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py2-evtx
_pkgname=python-evtx
pkgver=0.3.1
pkgrel=0
pkgdesc="Pure Python parser for recent Windows Event Log files (.evtx)"
url="http://www.williballenthin.com/evtx/index.html"
arch="noarch"
license="APACHE2"
depends="python2"
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/williballenthin/$_pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build || return 1
}

package() {
	cd "$builddir"
	python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
}

md5sums="bf0e8970694e986ecc988b6f4912a959  py2-evtx-0.3.1.tar.gz"
sha256sums="5cb8129455952a4f7925cf6fdb82a5516078d5e7b8fee1e82e3c688794addd25  py2-evtx-0.3.1.tar.gz"
sha512sums="9be45b65118ee3363445b240d3c33f5ec32ca957d07a68ecc9f5b16e86680d856a34ecb0abef3258fb6cd08befe82841a3437d74428b4660eba07d347373ef7b  py2-evtx-0.3.1.tar.gz"