Parametrize only sha256 value
{% set name = "bareditor" %}
{% set version = "0.17" %}
-{% set hash_type = "sha256" %}
-{% set hash_value = "6dbf897ff03a75182c23c3367dc110bf676857df9548e4bca6b0b452fdf0f432" %}
+{% set sha256 = "6dbf897ff03a75182c23c3367dc110bf676857df9548e4bca6b0b452fdf0f432" %}
package:
name: {{ name|lower }}
@@ -9,7 +8,7 @@ package:
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
- {{ hash_type }}: {{ hash_value }}
+ sha256: {{ sha256 }}
build:
noarch: python
