fix(pypa/build)

v1.1.0 used a `v` in the tag name. 1.1.1 built fine. switched to `bkpyvenv`.

closes #5417
This commit is contained in:
Jacob Heider 2024-03-07 19:10:15 -05:00 committed by Jacob Heider
parent c95101b4b2
commit 9f817e2745

View file

@ -1,18 +1,22 @@
distributable:
url: https://github.com/pypa/build/archive/refs/tags/{{version}}.tar.gz
url: https://github.com/pypa/build/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1
versions:
github: pypa/build/tags
dependencies:
python.org: '>=3<3.12'
pkgx.sh: ^1
build: python-venv.sh {{prefix}}/bin/pyproject-build
build:
dependencies:
python.org: '>=3<3.12'
script:
- bkpyvenv stage {{prefix}} {{version}}
- ${{prefix}}/venv/bin/pip install .
- bkpyvenv seal {{prefix}} pyproject-build
provides:
- bin/pyproject-build
test:
script: |
pyproject-build --version | grep {{version}}
test: pyproject-build --version | grep {{version}}