From 9eb42539ec3059d0a1ff82d082abaaf8327d6401 Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Fri, 21 Apr 2023 10:01:53 +0200 Subject: [PATCH 01/13] Adding h5glance --- recipes/h5glance/meta.yaml | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 recipes/h5glance/meta.yaml diff --git a/recipes/h5glance/meta.yaml b/recipes/h5glance/meta.yaml new file mode 100644 index 0000000000000..572fbcb246d19 --- /dev/null +++ b/recipes/h5glance/meta.yaml @@ -0,0 +1,51 @@ +{% 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 + +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: + - pip + - python >=3 + run: + - 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 3-Clause + license_file: LICENSE + summary: Simple command-line tools to clean / merge conda environment files. + description: Simple command-line tools to clean / merge conda environment files. + doc_url: https://{{ name }}.readthedocs.io/ + dev_url: https://github.com/{{ org }}/{{ name }} + +extra: + recipe-maintainers: + - tdegeus From 50cd42858d8df534307d105533ee0820b32a5b11 Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Fri, 21 Apr 2023 10:03:28 +0200 Subject: [PATCH 02/13] Changing license --- recipes/h5glance/meta.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes/h5glance/meta.yaml b/recipes/h5glance/meta.yaml index 572fbcb246d19..be40ce9fcfe8d 100644 --- a/recipes/h5glance/meta.yaml +++ b/recipes/h5glance/meta.yaml @@ -38,12 +38,12 @@ test: about: home: https://github.com/{{ org }}/{{ name }} - license: BSD 3-Clause - license_family: BSD 3-Clause + license: BSD + license_family: BSD license_file: LICENSE - summary: Simple command-line tools to clean / merge conda environment files. - description: Simple command-line tools to clean / merge conda environment files. - doc_url: https://{{ name }}.readthedocs.io/ + 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 }} extra: From 4eb904aa08f354ef3dd2e6391879f62c6d8720ad Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Fri, 21 Apr 2023 10:05:08 +0200 Subject: [PATCH 03/13] Setting Python version --- recipes/h5glance/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/h5glance/meta.yaml b/recipes/h5glance/meta.yaml index be40ce9fcfe8d..bc4b8eb13316d 100644 --- a/recipes/h5glance/meta.yaml +++ b/recipes/h5glance/meta.yaml @@ -12,7 +12,7 @@ source: build: number: 0 - noarch: python + noarch: python >=3.7 script: {{ PYTHON }} -m pip install . -vv entry_points: - h5glance = "{{ name }}.terminal:main" @@ -21,7 +21,7 @@ build: requirements: host: - pip - - python >=3 + - python >=3.7 run: - h5py >=2.10 - htmlgen From de82fd421f1492ff0c5dd29a90f07e6a93cca87d Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Fri, 21 Apr 2023 10:05:36 +0200 Subject: [PATCH 04/13] Fixing typo --- recipes/h5glance/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/h5glance/meta.yaml b/recipes/h5glance/meta.yaml index bc4b8eb13316d..683b0f2216cef 100644 --- a/recipes/h5glance/meta.yaml +++ b/recipes/h5glance/meta.yaml @@ -12,7 +12,7 @@ source: build: number: 0 - noarch: python >=3.7 + noarch: python script: {{ PYTHON }} -m pip install . -vv entry_points: - h5glance = "{{ name }}.terminal:main" @@ -23,6 +23,7 @@ requirements: - pip - python >=3.7 run: + - python >=3.7 - h5py >=2.10 - htmlgen From ab5b10bae77f656e9293dce0022e7cb3f86489b7 Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Fri, 21 Apr 2023 10:12:04 +0200 Subject: [PATCH 05/13] Changing license --- recipes/h5glance/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/h5glance/meta.yaml b/recipes/h5glance/meta.yaml index 683b0f2216cef..71c44eb9b6c5e 100644 --- a/recipes/h5glance/meta.yaml +++ b/recipes/h5glance/meta.yaml @@ -39,7 +39,7 @@ test: about: home: https://github.com/{{ org }}/{{ name }} - license: BSD + license: BSD-3-Clause license_family: BSD license_file: LICENSE summary: Lets you explore HDF5 files in the terminal or an HTML interface. From 5ca59916a2e57f7d6993d4073f4658763b4a942c Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Fri, 21 Apr 2023 10:25:26 +0200 Subject: [PATCH 06/13] Adding htmlgen --- recipes/htmlgen/meta.yaml | 49 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 recipes/htmlgen/meta.yaml diff --git a/recipes/htmlgen/meta.yaml b/recipes/htmlgen/meta.yaml new file mode 100644 index 0000000000000..502f6da64a4fa --- /dev/null +++ b/recipes/htmlgen/meta.yaml @@ -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" + +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 }} + +extra: + recipe-maintainers: + - tdegeus From d6ca79c335f7b3404b5be74122a08ef5dc53769d Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Fri, 21 Apr 2023 10:41:38 +0200 Subject: [PATCH 07/13] Adding deps --- recipes/h5glance/meta.yaml | 2 +- recipes/htmlgen/meta.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/h5glance/meta.yaml b/recipes/h5glance/meta.yaml index 71c44eb9b6c5e..94a391911e310 100644 --- a/recipes/h5glance/meta.yaml +++ b/recipes/h5glance/meta.yaml @@ -20,8 +20,8 @@ build: requirements: host: - - pip - python >=3.7 + - pip run: - python >=3.7 - h5py >=2.10 diff --git a/recipes/htmlgen/meta.yaml b/recipes/htmlgen/meta.yaml index 502f6da64a4fa..8ced3d721bb5c 100644 --- a/recipes/htmlgen/meta.yaml +++ b/recipes/htmlgen/meta.yaml @@ -22,6 +22,7 @@ requirements: host: - python >=3.7 - pip + - flit - poetry-core >=1.0.0 run: - python >=3.7 From 3bba0ae56c7e9df495ba22679bc2b4521503815d Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Fri, 21 Apr 2023 10:48:42 +0200 Subject: [PATCH 08/13] Fixing deps --- recipes/h5glance/meta.yaml | 1 + recipes/htmlgen/meta.yaml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/h5glance/meta.yaml b/recipes/h5glance/meta.yaml index 94a391911e310..2eec95e0c0298 100644 --- a/recipes/h5glance/meta.yaml +++ b/recipes/h5glance/meta.yaml @@ -21,6 +21,7 @@ build: requirements: host: - python >=3.7 + - flit >=3.2,<4 - pip run: - python >=3.7 diff --git a/recipes/htmlgen/meta.yaml b/recipes/htmlgen/meta.yaml index 8ced3d721bb5c..502f6da64a4fa 100644 --- a/recipes/htmlgen/meta.yaml +++ b/recipes/htmlgen/meta.yaml @@ -22,7 +22,6 @@ requirements: host: - python >=3.7 - pip - - flit - poetry-core >=1.0.0 run: - python >=3.7 From 236c4e1c33de4e5b1a1995ecc7a7f13271009ae5 Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Fri, 21 Apr 2023 10:56:55 +0200 Subject: [PATCH 09/13] Removing quotes that might be problematic --- recipes/h5glance/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/h5glance/meta.yaml b/recipes/h5glance/meta.yaml index 2eec95e0c0298..5b08cd86fdac9 100644 --- a/recipes/h5glance/meta.yaml +++ b/recipes/h5glance/meta.yaml @@ -15,8 +15,8 @@ build: noarch: python script: {{ PYTHON }} -m pip install . -vv entry_points: - - h5glance = "{{ name }}.terminal:main" - - h5glance-html = "{{ name }}.html_cli:main" + - h5glance = {{ name }}.terminal:main + - h5glance-html = {{ name }}.html_cli:main requirements: host: From fce75d8172c0b15a7b6333a98fa0fd364890ac18 Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Fri, 21 Apr 2023 15:33:43 +0200 Subject: [PATCH 10/13] Update recipes/h5glance/meta.yaml Co-authored-by: Thomas Kluyver --- recipes/h5glance/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/h5glance/meta.yaml b/recipes/h5glance/meta.yaml index 5b08cd86fdac9..98091d14a8fa2 100644 --- a/recipes/h5glance/meta.yaml +++ b/recipes/h5glance/meta.yaml @@ -21,7 +21,7 @@ build: requirements: host: - python >=3.7 - - flit >=3.2,<4 + - flit-core >=3.2,<4 - pip run: - python >=3.7 From 452145b6efa95242dcdfe1ef48ae3a2e9b59b312 Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Sun, 23 Apr 2023 16:33:37 +0200 Subject: [PATCH 11/13] Update recipes/htmlgen/meta.yaml --- recipes/htmlgen/meta.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/recipes/htmlgen/meta.yaml b/recipes/htmlgen/meta.yaml index 502f6da64a4fa..24abb2a74889b 100644 --- a/recipes/htmlgen/meta.yaml +++ b/recipes/htmlgen/meta.yaml @@ -14,9 +14,6 @@ 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: From 74408c9bfc19afecd80f617e0b4c3e0a78ed8b8a Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Sun, 23 Apr 2023 16:36:22 +0200 Subject: [PATCH 12/13] Update recipes/h5glance/meta.yaml --- recipes/h5glance/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/h5glance/meta.yaml b/recipes/h5glance/meta.yaml index 98091d14a8fa2..2d197ca246cbf 100644 --- a/recipes/h5glance/meta.yaml +++ b/recipes/h5glance/meta.yaml @@ -39,14 +39,14 @@ test: - h5glance-html -h about: - home: https://github.com/{{ org }}/{{ name }} + 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/{{ org }}/{{ name }} - dev_url: https://github.com/{{ org }}/{{ name }} + doc_url: https://github.com/European-XFEL/h5glance + dev_url: https://github.com/European-XFEL/h5glance extra: recipe-maintainers: From 10dc9760e2f5369ac09ef8cc85923c36c0aaeb53 Mon Sep 17 00:00:00 2001 From: Tom de Geus Date: Sun, 23 Apr 2023 16:37:07 +0200 Subject: [PATCH 13/13] Update recipes/htmlgen/meta.yaml --- recipes/htmlgen/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/htmlgen/meta.yaml b/recipes/htmlgen/meta.yaml index 24abb2a74889b..61783af073a81 100644 --- a/recipes/htmlgen/meta.yaml +++ b/recipes/htmlgen/meta.yaml @@ -32,14 +32,14 @@ test: - pip check about: - home: https://github.com/{{ org }}/python-{{ name }} + 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/{{ org }}/python-{{ name }} - dev_url: https://github.com/{{ org }}/python-{{ name }} + doc_url: https://github.com/srittau/python-htmlgen + dev_url: https://github.com/srittau/python-htmlgen extra: recipe-maintainers: