Fixed recipe
as described in example:
Using Variables, sha256v and by using --single-version-externally-managed --record record.txt
+{% set name = "dectate" %}
+{% set version = "0.13" %}
+{% set sha256 = "299a5d3d674d7cd095c8489331ecece22e5a567ee8a7636e8b57bbb220c568e4" %}
+
package:
- name: dectate
- version: "0.13"
+ name: {{ name|lower }}
+ version: {{ version }}
source:
- fn: dectate-0.13.tar.gz
- url: https://pypi.python.org/packages/0d/b8/9ce9e0ee72372d4dc8817e48d26a16d63d4397424cf3b8936b6e565be4ad/dectate-0.13.tar.gz
- md5: bdf02fb5bf121cf156ae01b36aaab9d4
+ fn: {{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ sha256: {{ sha256 }}
build:
- preserve_egg_dir: True
number: 0
- script: python setup.py install
+ script: python setup.py install --single-version-externally-managed --record record.txt
+ preserve_egg_dir: True
requirements:
build:
