contrib/python3-pefile/Pkgfile

17 lines
518 B
Plaintext

# Description: Python PE parsing module
# URL: https://github.com/erocarrera/pefile
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-build python3-installer python3-wheel
name=python3-pefile
version=2023.2.7
release=1
source=(https://github.com/erocarrera/pefile/archive/v$version/$name-$version.tar.gz)
build() {
cd pefile-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}