# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka pkgname=py3-pefile pkgver=2023.2.7 pkgrel=0 pkgdesc="Python library for working with PE files" url="https://github.com/erocarrera/pefile" arch="noarch" options="!check" # no tests shipped license="MIT" depends="python3" makedepends="" subpackages="" source="https://github.com/erocarrera/pefile/releases/download/v$pkgver/pefile-$pkgver.tar.gz" builddir="$srcdir"/pefile-$pkgver build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" --no-compile } sha512sums="241d9846954f094ed39e61d80e7d8c1612829ec909650175e75657f9cf69c9bef9e2a115d4106bb14757125c0ffaa3e93abfb2f078e80326e78ac5818c7c2fd3 pefile-2023.2.7.tar.gz"