Use jinja template variables
+{% set name = "paprika" %}
+{% set version = "0.0.4" %}
+
+
package:
- name: paprika
- version: "0.1.0"
+ name: {{ name|lower }}
+ version: {{ version }}
+
source:
- url: https://github.com/slochower/pAPRika/archive/v0.0.4.tar.gz
+ url: https://github.com/simplejson/{{ name }}/archive/{{ version }}.tar.gz
sha256: 22a97f6362b6ef9aea9210bd811e2c713dc29158bb61d17af9568a052778cf49
- path: ../..
build:
number: 0
noarch: python
- script: python -m pip install . --no-deps -vv
+ script: "{{ PYTHON }} -m pip install . --no-deps -vv"
+
requirements:
host:
