diff --git a/recipes/jinja-layout/LICENSE b/recipes/jinja-layout/LICENSE new file mode 100644 index 0000000000000..04be0b4933913 --- /dev/null +++ b/recipes/jinja-layout/LICENSE @@ -0,0 +1,19 @@ +Copyright (C) 2024 Maxime Bouroumeau-Fuseau + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/recipes/jinja-layout/recipe.yaml b/recipes/jinja-layout/recipe.yaml new file mode 100644 index 0000000000000..81da370ad0e6f --- /dev/null +++ b/recipes/jinja-layout/recipe.yaml @@ -0,0 +1,44 @@ +schema_version: 1 + +context: + name: jinja-layout + version: 0.5.0 + +package: + name: ${{ name|lower }} + version: ${{ version }} + +source: + url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/jinja_layout-${{ version }}.tar.gz + sha256: 80c3120e3726d14b652ff3a1976f6cf44ec568897fcf8bd0c20451e5f03929f0 + +build: + number: 0 + noarch: python + script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + +requirements: + host: + - python ${{ python_min }}.* + - uv-build >=0.8.11,<0.9.0 + - pip + run: + - python >=${{ python_min }} + - jinja2 >=3.0.0,<4.0.0 + +tests: + - python: + imports: + - jinja_layout + pip_check: true + python_version: ${{ python_min }}.* + +about: + homepage: https://github.com/hyperflask/jinja-layout + summary: Extended layout system for Jinja + license: MIT + license_file: LICENSE + +extra: + recipe-maintainers: + - thewchan