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 recipes for lsst-sphgeom and lsst-versions #24930

Merged
merged 10 commits into from
Jan 12, 2024
56 changes: 56 additions & 0 deletions recipes/lsst-sphgeom/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% set name = "lsst-sphgeom" %}
{% set version = "26.2024.200" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/lsst-sphgeom-{{ version }}.tar.gz
sha256: a5616d8ec40609ac797f10b0ba12bce08f08ec86f3e3499edc7af4b95ce4d67c

build:
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
script_env: PYTHONUTF8=1
number: 0

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- python
- setuptools
- lsst-versions >=1.3.0
- wheel
- pybind11 >=2.5.0
- numpy >=1.18
- pip
run:
- python
- hpgeom >=0.8.0
- {{ pin_compatible('numpy') }}

test:
imports:
- lsst.sphgeom
commands:
- pip check
requires:
- pip

about:
home: https://github.com/lsst/sphgeom
summary: A spherical geometry library.
license: BSD-3-Clause AND GPL-3.0-only
license_file:
- LICENSE
- bsd_license.txt
- gpl-v3.0.txt

extra:
recipe-maintainers:
- erykoff
- timj
- TallJimbo
- camposandro
55 changes: 55 additions & 0 deletions recipes/lsst-versions/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{% set name = "lsst-versions" %}
{% set version = "1.5.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/lsst-versions-{{ version }}.tar.gz
sha256: e111718a5a13a9552648c71e78edb5a480dbf02d6733ba1424dff7650b491066

build:
entry_points:
- lsst-version = lsst_versions._cmd:main
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
script_env: PYTHONUTF8=1
number: 0

requirements:
host:
- python >=3.8
- setuptools
- tomli >1.0
- gitpython
- packaging
- pip
run:
- python >=3.8
- setuptools >=46.0
- tomli >1.0.0
- gitpython >=3.1
- packaging

test:
imports:
- lsst_versions
commands:
- pip check
- lsst-version --help
requires:
- pip

about:
home: https://github.com/lsst/lsst_versions
summary: Calculate package versions following LSST code conventions.
license: BSD-3-Clause
license_file: LICENSE

extra:
recipe-maintainers:
- erykoff
- timj
- TallJimbo
- camposandro