diff options
Diffstat (limited to 'user/py3-pefile/APKBUILD')
-rw-r--r-- | user/py3-pefile/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-pefile/APKBUILD b/user/py3-pefile/APKBUILD new file mode 100644 index 000000000..fb29cbae2 --- /dev/null +++ b/user/py3-pefile/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +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" |