Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add hepdata-validator #26279

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions recipes/hepdata-validator/meta.yaml
Original file line number Diff line number Diff line change
@@ -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