Use '-' and '_' where appropriate in name/PyPI URL
{% set name = "iam-units" %}
+{% set name_ = "iam_units" %}
{% set version = "2020.4.21" %}
{% set hash = "042f298a86888aa5fe7771b85549c2f90ffc39255c00670c0ec73c058df647b5" %}
package:
- name: {{ name|lower }}
+ name: {{ name }}
version: {{ version }}
source:
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name_ }}/{{ name_ }}-{{ version }}.tar.gz
sha256: {{ hash }}
build:
