diff --git a/recipes/jinjapy/LICENSE b/recipes/jinjapy/LICENSE new file mode 100644 index 0000000000000..04be0b4933913 --- /dev/null +++ b/recipes/jinjapy/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/jinjapy/recipe.yaml b/recipes/jinjapy/recipe.yaml new file mode 100644 index 0000000000000..a094a468bdf9b --- /dev/null +++ b/recipes/jinjapy/recipe.yaml @@ -0,0 +1,44 @@ +schema_version: 1 + +context: + name: jinjapy + version: 0.2.0 + +package: + name: ${{ name|lower }} + version: ${{ version }} + +source: + url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/jinjapy-${{ version }}.tar.gz + sha256: 260c3000403b14506693b2f41710e2ff086c4325ed3dc2cc3d6f0cd0e7a998a6 + +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: + - jinjapy + pip_check: true + python_version: ${{ python_min }}.* + +about: + homepage: https://github.com/hyperflask/jinjapy + summary: New hybrid file format combining a Jinja template with Python code in a frontmatter + license: MIT + license_file: LICENSE + +extra: + recipe-maintainers: + - thewchan