diff --git a/recipes/hepdata-validator/meta.yaml b/recipes/hepdata-validator/meta.yaml new file mode 100644 index 0000000000000..2df3784357c8d --- /dev/null +++ b/recipes/hepdata-validator/meta.yaml @@ -0,0 +1,50 @@ +{% set name = "hepdata-validator" %} +{% set version = "0.3.5" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/hepdata_validator-{{ version }}.tar.gz + sha256: d93a23e4eeb41df03011494482b619ac59088f13054bd389718111d135f2ab10 + +build: + entry_points: + - hepdata-validate=hepdata_validator.cli:validate + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.6 + - pytest + - pip + run: + - python >=3.6 + - click + - jsonschema + - packaging + - pyyaml >=5.4.1 + - requests + +test: + imports: + - hepdata_validator + commands: + - pip check + - hepdata-validate --help + requires: + - pip + +about: + home: https://github.com/hepdata/hepdata-validator + summary: JSON schema and validation code for HEPData submissions + license: GPL-2.0-only + license_file: LICENSE.txt + +extra: + recipe-maintainers: + - GraemeWatt + - matthewfeickert