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/{{ org }}/{{ name }}
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/{{ org }}/{{ name }}
dev_url: https://github.com/{{ org }}/{{ name }}
Copy link
Member

Choose a reason for hiding this comment

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

I'd rather not use Jinja here so humans can copy paste URLs from the recipe directly. Makes it more difficult to parse. It's not like that org or repo names will change often anyway.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fine. I developed this habit to avoid copy/past mistakes for new feedstock, but I will change

tdegeus marked this conversation as resolved.
Show resolved Hide resolved

extra:
recipe-maintainers:
- tdegeus
49 changes: 49 additions & 0 deletions recipes/htmlgen/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{% 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
entry_points:
- h5glance = "{{ name }}.terminal:main"
- h5glance-html = "{{ name }}.html_cli:main"
tdegeus marked this conversation as resolved.
Show resolved Hide resolved

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/{{ org }}/python-{{ name }}
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/{{ org }}/python-{{ name }}
dev_url: https://github.com/{{ org }}/python-{{ name }}
tdegeus marked this conversation as resolved.
Show resolved Hide resolved

extra:
recipe-maintainers:
- tdegeus