Use pypi to download source.
{% set name = "hyperspyUI" %}
-{% set filename = "hyperspyui" %}
-{% set version = "1.1" %}
-{% set sha256 = "7b965008c3ec70add32b6c8c91b11cc830b9348e59708142644cf0fba4193368" %}
-
+{% set version = "1.1.0" %}
package:
- name: {{ name|lower }}
- version: {{ version }}
+ name: "{{ name|lower }}"
+ version: "{{ version }}"
source:
- #fn: {{ filename }}-{{ version }}.tar.gz
- url: https://github.com/hyperspy/hyperspyUI/archive/master.zip
- # url: https://pypi.io/packages/source/h/hyperspyUI/hyperspyUI-{{ version }}.zip
- sha256: {{ sha256 }}
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ sha256: c666d44e6330cd535590d00e7a11163d200b286ac99f8686aef8d94d063bf635
build:
number: 0
noarch: python
- script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv "
+ script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vv "
requirements:
build:
