Use human readable PyPI URL
{% set name = "pymks" %}
{% set version = "0.3.4a7" %}
{% set sha256 = "030d56481debaa4e68feee4102b1189e5f999c8aa427f4c431fa94c766f35f80" %}
-{% set hash = "ab2f93f57eeaf23b6d06d282dca60438c9a959e2ff97d0ecbdcf69acdfdf3a43" %}
package:
name: {{ name }}
@@ -9,7 +8,7 @@ package:
source:
fn: {{ name }}-{{ version }}.tar.gz
- url: https://pypi.python.org/packages/{{ hash[:2] }}/{{ hash[2:4] }}/{{ hash[4:] }}/{{ name }}-{{ version }}.tar.gz
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
