blob: e3c63121ca8a594156866b5986f12eda137e9209 (
plain)
1 # Description: A low-level library for calling build-backends in pyproject.toml-based project
2 # URL: https://github.com/pypa/pyproject-hooks
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-pip
5
6 name=python3-pyproject-hooks
7 version=1.0.0
8 release=1
9 source=(https://files.pythonhosted.org/packages/source/p/pyproject_hooks/pyproject_hooks-$version.tar.gz)
10
11 build() {
12 cd pyproject_hooks-$version
13 /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps pyproject-hooks==$version
14 rm -rf $PKG/usr/lib/python$_pyver/site-packages/tomli-$version.dist-info/{INSTALLER,REQUESTED}
15 }
|