Prefer releases over archive
@@ -13,8 +13,10 @@ package:
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
# If getting the source from GitHub, remove the line above,
- # uncomment the line below, and modify as needed.
+ # uncomment the line below, and modify as needed. Use releases if available:
# url: https://github.com/simplejson/{{ name }}/releases/{{ version }}.tar.gz
+ # and otherwise fall back to archive:
+ # url: https://github.com/simplejson/{{ name }}/archive/{{ version }}.tar.gz
sha256: d58439c548433adcda98e695be53e526ba940a4b9c44fb9a05d92cd495cdd47f
# sha256 is the preferred checksum -- you can get it for a file with:
# `openssl sha256 <file name>`.
