Skip to content

Commit

Permalink
feat: Add hepdata-lib
Browse files Browse the repository at this point in the history
* c.f. https://github.com/HEPData/hepdata_lib
* Recipe generated with grayskull via 'grayskull pypi hepdata-lib'
  and then edited to add additional information.
  • Loading branch information
matthewfeickert committed May 10, 2024
1 parent c65cb54 commit 2e566bc
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions recipes/hepdata-lib/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{% set name = "hepdata-lib" %}
{% set version = "0.15.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/hepdata_lib-{{ version }}.tar.gz
sha256: 88325da7e9ee9408eafebb518117ff3c39f438048766f1a19f59ef22f6c6d1d4

build:
# Will fail on Windows as imagemagick does not support Windows builds, but
# failing on a noarch is preferred by the conda-forge maintainers
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python >=3.6
- pip
run:
- python >=3.6
- numpy
- pyyaml >=4.0
- future
- hist
- scipy
- hepdata-validator >=0.3.5
- imagemagick
# Treat ROOT as an optional dependency and so don't include it

test:
imports:
- hepdata_lib
commands:
- pip check
- convert --version
# TODO: Add test suite checks with ROOT
requires:
- pip

about:
home: https://github.com/HEPData/hepdata_lib
summary: Library for getting your data into HEPData
doc_url: https://hepdata-lib.readthedocs.io/
dev_url: https://github.com/HEPData/hepdata_lib
license: MIT
license_file: LICENSE

extra:
recipe-maintainers:
- clelange
- matthewfeickert

0 comments on commit 2e566bc

Please sign in to comment.