avoid the jinja excess
-{% set name = "parsimonious" %}
{% set version = "0.8.0" %}
-{% set file_ext = "tar.gz" %}
-{% set hash_type = "sha256" %}
-{% set hash_value = "ae0869d72a6e57703f24313a5f5748e73ebff836e6fe8b3ddf34ea0dc00d086b" %}
package:
- name: '{{ name|lower }}'
- version: '{{ version }}'
+ name: parsimonious
+ version: {{ version }}
source:
- fn: '{{ name }}-{{ version }}.{{ file_ext }}'
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ file_ext }}
- '{{ hash_type }}': '{{ hash_value }}'
+ url: https://pypi.io/packages/source/p/parsimonious/parsimonious-{{ version }}.tar.gz
+ sha256: ae0869d72a6e57703f24313a5f5748e73ebff836e6fe8b3ddf34ea0dc00d086b
build:
noarch: python
