diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-23 04:30:59 -0800 |
---|---|---|
committer | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-23 04:30:59 -0800 |
commit | b22b93574fc69af83bdcf4a78987cde64ee300d7 (patch) | |
tree | 07668e213f46f4ebd9ceeb1dee8ffb69c41f1159 | |
parent | 1007bf80ebc97c5a61de4c594f96a2ca0f55ffec (diff) | |
download | packages-b22b93574fc69af83bdcf4a78987cde64ee300d7.tar.gz packages-b22b93574fc69af83bdcf4a78987cde64ee300d7.tar.bz2 packages-b22b93574fc69af83bdcf4a78987cde64ee300d7.tar.xz packages-b22b93574fc69af83bdcf4a78987cde64ee300d7.zip |
user/py3-pefile: new package
-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" |