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