From 7f8529581051bf7de76b3b01b22c7e4f0288524b Mon Sep 17 00:00:00 2001 From: Andrii Riabchenko Date: Mon, 22 Jan 2024 18:20:47 +0200 Subject: [PATCH] new file: projects/palletsprojects.com/jinja/package.yml --- .../palletsprojects.com/jinja/package.yml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 projects/palletsprojects.com/jinja/package.yml diff --git a/projects/palletsprojects.com/jinja/package.yml b/projects/palletsprojects.com/jinja/package.yml new file mode 100644 index 00000000..8d29583f --- /dev/null +++ b/projects/palletsprojects.com/jinja/package.yml @@ -0,0 +1,23 @@ +distributable: + url: git+https://github.com/pallets/jinja.git + ref: ${{version.tag}} + +display-name: python-jinja + +versions: + github: pallets/jinja + +dependencies: + python.org: '>=3.11' + markupsafe.palletsprojects.com: '>=2.1' + +runtime: + env: + PYTHONPATH: ${{prefix}}/lib/python3/site-packages:$PYTHONPATH + +build: + - python -m pip install --prefix={{prefix}} . + - run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}} + working-directory: ${{prefix}}/lib + +test: python -c "import jinja2; print(jinja2.__version__)" | grep {{version}} \ No newline at end of file