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-lib #26293

Merged
merged 1 commit into from
May 10, 2024
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
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
Comment on lines +12 to +15
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Windows build will fail, but that is expected, and so leaving this as is given #25702 (comment).

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
Loading