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

add pyudunits2 #29055

Merged
merged 4 commits into from
Feb 11, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member Author

Choose a reason for hiding this comment

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

@pelson is it OK to add you here?

Loading