From 09f7c6dd7662daa7a126d7b1ebf0d9b770c87a44 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Wed, 28 Aug 2024 09:22:15 +0200 Subject: [PATCH] feat: Add plothist * c.f. https://github.com/cyrraz/plothist * Recipe generated with grayskull via 'grayskull pypi plothist' and then edited to add additional information. * Add wget and unzip as 'run' requirements. --- recipes/plothist/meta.yaml | 55 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 recipes/plothist/meta.yaml diff --git a/recipes/plothist/meta.yaml b/recipes/plothist/meta.yaml new file mode 100644 index 0000000000000..8814567059e75 --- /dev/null +++ b/recipes/plothist/meta.yaml @@ -0,0 +1,55 @@ +{% set name = "plothist" %} +{% set version = "1.2.5" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/plothist-{{ version }}.tar.gz + sha256: b4606d9ff7db3cc1a7f6f5d5440fd959e1d1292818910cc0d142b23e65e4de76 + +build: + entry_points: + - install_latin_modern_fonts = plothist.scripts.install_latin_modern_fonts:install_latin_modern_fonts + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.7 + - flit-core >=3.2,<4 + - pip + run: + - python >=3.7 + - boost-histogram >=1.4.0,<1.5.dev0 + - numpy >=1.14.5 + - matplotlib-base >=3.0 + - pyyaml >=5.3.1 + - scipy >=1.6.0 + # Needed for install_latin_modern_fonts + - wget + - unzip + +test: + imports: + - plothist + commands: + - pip check + # On macOS need /Users//Library/Fonts + - install_latin_modern_fonts # [linux] + requires: + - pip + +about: + home: https://github.com/cyrraz/plothist + summary: Plot histograms in a scalable way and a beautiful style. + license: BSD-3-Clause + license_file: LICENSE + doc_url: https://plothist.readthedocs.io/ + dev_url: https://github.com/cyrraz/plothist + +extra: + recipe-maintainers: + - 0ctagon