Get recipe source from pypi
{% set name = "intake-cmip" %}
-{% set version = "0.0.1" %}
+{% set version = "2019.1.0" %}
package:
name: {{ name }}
version: {{ version }}
source:
- fn: {{ name }}-{{ version }}.tar.gz
- url: https://github.com/NCAR/intake-cmip/archive/v{{ version }}.tar.gz
- sha256: 711ec3d30f784268065d73b95e16538f6584fa1dcb1f4fba64c1337ac61247fb
+ url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ sha256: 7640e1439cc59e31eeda2b1ecb5025ad08ff162306b345c38970d388c7326b0c
build:
@@ -29,8 +28,14 @@ requirements:
- dask
test:
+ source_files:
+ - tests
+ requires:
+ - pytest
imports:
- intake_cmip
+ commands:
+ - pytest --verbose
about:
