Skip to content

Commit

Permalink
Merge pull request #29055 from ocefpaf/pyudunits2
Browse files Browse the repository at this point in the history
add pyudunits2
  • Loading branch information
ocefpaf authored Feb 11, 2025
2 parents 1050b8f + 848c70a commit ebb3a5e
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions recipes/pyudunits2/meta.yaml
Original file line number Diff line number Diff line change
@@ -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:
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

extra:
recipe-maintainers:
- pelson

0 comments on commit ebb3a5e

Please sign in to comment.