Moves the hash type and value to template variables
{% set name = "bdbag" %}
{% set version = "1.5.6" %}
+{% set hash_type = "md5"%}
+{% set hash_value = "66a6878203aebc055cef6683322d2f73"%}
package:
name: {{ name|lower }}
@@ -7,7 +9,7 @@ package:
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
- md5: 66a6878203aebc055cef6683322d2f73
+ {{ hash_type }}: {{ hash_value }}
build:
noarch: python
