Handle the fact that the url name differs from package name
@@ -6,8 +6,7 @@ package:
version: {{ version }}
source:
- fn: {{ name }}-{{ version }}.tar.gz
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name|replace("-", "_") }}-{{ version }}.tar.gz
sha256: c3ccfc18258822ce82ddd8b84f672378c2452a6600987070db8af864850b465d
build:
