Skip to content

Instantly share code, notes, and snippets.

@bollwyvl
Created June 19, 2018 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bollwyvl/074660a23f90d7f4d90a9488b34cc7a6 to your computer and use it in GitHub Desktop.
Save bollwyvl/074660a23f90d7f4d90a9488b34cc7a6 to your computer and use it in GitHub Desktop.
ruamel.yaml.jinja2
{% set name = "ruamel.yaml.jinja2" %}
{% set version = "0.2.2" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 087e9e30437ff082bdc06fa89c86f6a04f862da0f66613aaf54b673f05aa9cf2
build:
number: 0
script: python -m pip install --no-deps --ignore-installed .
noarch: python
requirements:
build:
- python
- pip
run:
- python
- ruamel.yaml
test:
imports:
- ruamel.yaml.jinja2
about:
home: https://bitbucket.org/ruamel/yaml.jinja2
license: MIT
license_family: MIT
license_file: LICENSE
summary: jinja2 pre and post-processor to update with YAML
description: >
jinja2 templates for YAML files can normally not be loaded as YAML before
rendering. This plugin allows pre and post-processing based on the
round-trip processor.
extra:
recipe-maintainers:
- NotThisGuy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment