contrib/python3-shippinglabel/Pkgfile

17 lines
549 B
Plaintext

# Description: Utilities for handling packages
# URL: https://github.com/domdfcoding/shippinglabel
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-apeye python3-dist-meta python3-dom-toml
name=python3-shippinglabel
version=1.7.1
release=1
source=(https://pypi.org/packages/source/s/shippinglabel/shippinglabel-$version.tar.gz)
build() {
cd shippinglabel-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}