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

Adding h5glance and htmlgen #22647

Merged
merged 13 commits into from
Apr 24, 2023
53 changes: 53 additions & 0 deletions recipes/h5glance/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% set name = "h5glance" %}
{% set org = "European-XFEL" %}
{% set version = "0.8.1" %}

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

source:
url: https://github.com/{{ org }}/{{ name }}/archive/{{ version }}.tar.gz
sha256: dd848a967112f0a0d1d04a1739afbe7dc7bac682b93b8017e5d5a11ca8260c5d
tdegeus marked this conversation as resolved.
Show resolved Hide resolved

build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv
entry_points:
- h5glance = {{ name }}.terminal:main
- h5glance-html = {{ name }}.html_cli:main

requirements:
host:
- python >=3.7
- flit-core >=3.2,<4
- pip
run:
- python >=3.7
- h5py >=2.10
- htmlgen

test:
requires:
- pip
imports:
- {{ name }}
commands:
- pip check
- h5glance --version | grep {{ version }}
- h5glance-html -h

about:
home: https://github.com/European-XFEL/h5glance
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
summary: Lets you explore HDF5 files in the terminal or an HTML interface.
description: Lets you explore HDF5 files in the terminal or an HTML interface.
doc_url: https://github.com/European-XFEL/h5glance
dev_url: https://github.com/European-XFEL/h5glance

extra:
recipe-maintainers:
- tdegeus
46 changes: 46 additions & 0 deletions recipes/htmlgen/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{% set name = "htmlgen" %}
{% set org = "srittau" %}
{% set version = "2.0.0" %}

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

source:
url: https://github.com/{{ org }}/python-{{ name }}/archive/v{{ version }}.tar.gz
sha256: 891ac5a30266d658a6d4e708e53f1c4a0621a36cbdbda4c4c4e9ac09a06ea863

build:
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . -vv

requirements:
host:
- python >=3.7
- pip
- poetry-core >=1.0.0
run:
- python >=3.7

test:
requires:
- pip
imports:
- {{ name }}
commands:
- pip check

about:
home: https://github.com/srittau/python-htmlgen
license: MIT
license_family: MIT
license_file: LICENSE
summary: Library to generate HTML from classes.
description: Library to generate HTML from classes.
doc_url: https://github.com/srittau/python-htmlgen
dev_url: https://github.com/srittau/python-htmlgen

extra:
recipe-maintainers:
- tdegeus