From 01b31a32ecaf2aead8a9697a05aac38712092669 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Fri, 7 Feb 2025 10:46:27 +0100 Subject: [PATCH 1/3] add pyudunits2 --- recipes/pyudunits2/meta.yaml | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 recipes/pyudunits2/meta.yaml diff --git a/recipes/pyudunits2/meta.yaml b/recipes/pyudunits2/meta.yaml new file mode 100644 index 0000000000000..5f43470142aee --- /dev/null +++ b/recipes/pyudunits2/meta.yaml @@ -0,0 +1,47 @@ +{% set name = "pyudunits2" %} +{% set version = "0.1" %} +{% set python_min = "3.10" %} + + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/pyudunits2-{{ version }}.tar.gz + sha256: 791d234d402d8877e55a8baaad4a329c7537a187eda5bfc1b19d33150e0a170a + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python {{ python_min }} + - setuptools + - wheel + - setuptools-scm >=8 + - pip + run: + - python >={{ python_min }} + - sympy + +test: + imports: + - pyudunits2 + commands: + - pip check + requires: + - python {{ python_min }} + - pip + +about: + summary: A pure Python library designed for handling units of physical quantities, fully based on the UDUNITS2 grammar and XML database + license: Apache-2.0 + license_file: LICENSE + +extra: + recipe-maintainers: + - pelson + - ocefpaf From 4c8843a5addc80c63774295f75886f9e032ad904 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Fri, 7 Feb 2025 11:15:29 +0100 Subject: [PATCH 2/3] add home url --- recipes/pyudunits2/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/pyudunits2/meta.yaml b/recipes/pyudunits2/meta.yaml index 5f43470142aee..9c97ba0a438fd 100644 --- a/recipes/pyudunits2/meta.yaml +++ b/recipes/pyudunits2/meta.yaml @@ -37,6 +37,7 @@ test: - pip about: + home: https://github.com/pelson/pyudunits2 summary: A pure Python library designed for handling units of physical quantities, fully based on the UDUNITS2 grammar and XML database license: Apache-2.0 license_file: LICENSE From 091691d77dececa7abee711b3193b35b18d90e00 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Tue, 11 Feb 2025 17:09:20 +0100 Subject: [PATCH 3/3] remove pelson for now --- recipes/pyudunits2/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/pyudunits2/meta.yaml b/recipes/pyudunits2/meta.yaml index 9c97ba0a438fd..c67bd5dbfefea 100644 --- a/recipes/pyudunits2/meta.yaml +++ b/recipes/pyudunits2/meta.yaml @@ -45,4 +45,3 @@ about: extra: recipe-maintainers: - pelson - - ocefpaf