Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions recipes/jinjapy/LICENSE
Original file line number Diff line number Diff line change
@@ -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.
44 changes: 44 additions & 0 deletions recipes/jinjapy/recipe.yaml
Original file line number Diff line number Diff line change
@@ -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