Add tests, and fix download URL
@@ -6,8 +6,11 @@ package:
version: "{{ version }}"
source:
- url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
+ - url: https://pypi.io/packages/source/b/boost_histogram/boost-histogram-{{ version }}.tar.gz
sha256: 8b4492302815b853e8cde2bb39f3d4fc59e50b616dbb117ddcdb59e3f8800d05
+ - url: https://github.com/scikit-hep/boost-histogram/archive/v{{ version }}.tar.gz
+ sha256: ff173a9612261fb200895922f926e322d3494cff5c38fac7663fddf4eeacec04
+ folder: github-sources
build:
number: 0
@@ -23,13 +26,16 @@ requirements:
- {{ pin_compatible('numpy') }}
test:
+ source_files:
+ - github-sources/tests
imports:
- boost_histogram
requires:
- futures # [py2k]
- - numpy
- pytest
- pytest-benchmark
+ commands:
+ - pytest ./github-sources/
about:
home: https://github.com/scikit-hep/boost-histogram
@@ -43,3 +49,4 @@ about:
extra:
recipe-maintainers:
- chrisburr
+ - henryiii
