Use jinja replace
@@ -6,7 +6,7 @@ package:
version: {{ version }}
source:
- url: https://pypi.io/packages/source/a/alteryx-open-src-update-checker/alteryx_open_src_update_checker-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-', '_') }}-{{ version }}.tar.gz
sha256: 814003ab6952c406263643ea6dc9d37049ba2d53bab91775d383ebb08e39c894
