mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
37 lines
766 B
YAML
37 lines
766 B
YAML
distributable:
|
|
url: https://github.com/pypa/flit/archive/refs/tags/{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: pypa/flit/tags
|
|
|
|
dependencies:
|
|
python.org: '>=3<3.12'
|
|
|
|
build: python-venv.sh {{prefix}}/bin/flit
|
|
|
|
provides:
|
|
- bin/flit
|
|
|
|
test:
|
|
fixture: |
|
|
[build-system]
|
|
requires = ["flit_core"]
|
|
build-backend = "flit_core.buildapi"
|
|
|
|
[project]
|
|
name = "sample"
|
|
version = "0.1"
|
|
description = "Sample description"
|
|
authors = [{name = "Sample Author"}]
|
|
|
|
[tool.flit.sdist]
|
|
include = ["pyproject.toml", "sample.py"]
|
|
script: |
|
|
flit --version | grep {{version}}
|
|
mv $FIXTURE pyproject.toml
|
|
touch sample.py
|
|
flit build
|
|
test -f dist/sample-0.1-py2.py3-none-any.whl
|
|
test -f dist/sample-0.1.tar.gz
|