pantry/projects/markupsafe.palletsprojects.com/package.yml

16 lines
466 B
YAML
Raw Normal View History

distributable:
url: https://github.com/pallets/markupsafe/releases/download/{{version}}/MarkupSafe-{{version}}.tar.gz
strip-components: 1
versions:
github: pallets/markupsafe
dependencies:
python.org: ^3.11
runtime:
env:
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.marketing}}/site-packages:$PYTHONPATH"
build:
script:
- python -m pip install . --prefix="{{prefix}}"
test:
script:
- python -c "from markupsafe import escape"