contrib/python3-apipkg/Pkgfile

17 lines
508 B
Plaintext

# Description: Namespace control and lazy-import mechanism
# URL: https://github.com/pytest-dev/apipkg
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-hatch-vcs
name=python3-apipkg
version=3.0.1
release=1
source=(https://files.pythonhosted.org/packages/source/a/apipkg/apipkg-$version.tar.gz)
build() {
cd apipkg-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}