Skip to content

Commit

Permalink
feat: Add hepdata-validator
Browse files Browse the repository at this point in the history
* c.f. https://github.com/HEPData/hepdata-validator
* Recipe generated with grayskull via 'grayskull pypi hepdata-validator'
  and then edited to add additional information.
  • Loading branch information
matthewfeickert committed May 8, 2024
1 parent 654885f commit d67fd52
Showing 1 changed file with 50 additions and 0 deletions.
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
license_file: LICENSE.txt

extra:
recipe-maintainers:
- GraemeWatt
- matthewfeickert

0 comments on commit d67fd52

Please sign in to comment.