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 stacrs #28293

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
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
53 changes: 53 additions & 0 deletions recipes/stacrs/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
context:
name: stacrs
version: 0.2.2

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

source:
url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/stacrs-${{ version }}.tar.gz
sha256: 9fb07ee3852623dc3140338ec024c7da0119bb62059da7f82a4dcd4f768cdd0f

build:
number: 0
script:
- cargo-bundle-licenses --format yaml --output THIRDPARTY.yml
- ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation

requirements:
build:
- cargo-bundle-licenses
- ${{ stdlib("c") }}
- ${{ compiler("rust") }}
host:
- python
- maturin >=1.7,<2.0
- pip
run:
- python

tests:
- python:
imports:
- stacrs
- requirements:
run:
- pip
script:
- pip check

about:
summary: A no-dependency Python package for STAC, using Rust under the hood.
license: Apache-2.0
license_file:
- LICENSE-APACHE
- LICENSE-MIT
- THIRDPARTY.yml
homepage: https://stac-utils.github.io/stac-rs
repository: https://github.com/stac-utils/stac-rs

extra:
recipe-maintainers:
- weiji14
Loading