diff options
author | Tim Biermann <tbier@posteo.de> | 2023-01-12 18:52:55 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2023-01-12 18:58:36 +0000 |
commit | e678cc200811002d7e34c4745ba0f041e8d73964 (patch) | |
tree | b387832d749ab070b2d6be8346e94e42c65afa5d /python3-pyproject-hooks/Pkgfile | |
parent | 843ad4541ce9065a57b90b59e070291fa4301834 (diff) | |
download | opt-e678cc200811002d7e34c4745ba0f041e8d73964.tar.gz opt-e678cc200811002d7e34c4745ba0f041e8d73964.tar.xz |
python3-pyproject-hooks: initial commit, version 1.0.0
Diffstat (limited to 'python3-pyproject-hooks/Pkgfile')
-rw-r--r-- | python3-pyproject-hooks/Pkgfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/python3-pyproject-hooks/Pkgfile b/python3-pyproject-hooks/Pkgfile new file mode 100644 index 000000000..e3c63121c --- /dev/null +++ b/python3-pyproject-hooks/Pkgfile @@ -0,0 +1,15 @@ +# Description: A low-level library for calling build-backends in pyproject.toml-based project +# URL: https://github.com/pypa/pyproject-hooks +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: python3-pip + +name=python3-pyproject-hooks +version=1.0.0 +release=1 +source=(https://files.pythonhosted.org/packages/source/p/pyproject_hooks/pyproject_hooks-$version.tar.gz) + +build() { + cd pyproject_hooks-$version + /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps pyproject-hooks==$version + rm -rf $PKG/usr/lib/python$_pyver/site-packages/tomli-$version.dist-info/{INSTALLER,REQUESTED} +} |