# Description: python module for opening DBF files # URL: https://github.com/olemb/dbfread # Maintainer: John McQuah, jmcquah at disroot dot org # Depends on: python3-build name=python3-dbfread version=2.0.7 release=1 _commit=a5891681f5012724d062a4ca63ec2ff539c73d5804ba594e7e0e72099d3f source=(https://files.pythonhosted.org/packages/ad/ae/$_commit/dbfread-$version.tar.gz) build() { cd dbfread-$version /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation /usr/bin/python3 -m installer --compile-bytecode 2 --destdir="$PKG" dist/*.whl rm -rf "$PKG"/usr/lib/python3*/site-packages/*.dist-info/{licenses,METADATA,WHEEL} }