Try PyPI URL
{% set name = "cube_helper" %}
{% set version = "2.1.1" %}
+{% set sha256 = "9ad53aad29d1482805f1e7e5a8e93b75fe22b4e9abe24664ea9b39b2b700708f" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
- url: https://github.com/MetOffice/cube_helper/archive/v{{ version }}.tar.gz
- sha256: 5461190e0027cc5edea9357284961ee20138e8d132d236e586f58a07036dd441
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ sha256: {{ sha256 }}
build:
noarch: python
