Skip to content

Commit

Permalink
Merge pull request #29084 from taliboliver/add_dist-s1
Browse files Browse the repository at this point in the history
get dist-s1 into conda-forge
  • Loading branch information
ocefpaf authored Feb 11, 2025
2 parents 98450e2 + ad1f617 commit 7495fcd
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions recipes/dist-s1/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% set name = "dist-s1" %}
{% set version = "0.0.3" %}
{% set python_min = "3.12" %}

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

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/dist_s1-{{ version }}.tar.gz
sha256: fb56ca1cd997be9521321a884ef34b1386c9b90fbef375a5b29d9267731fa032

build:
entry_points:
- dist-s1 = dist_s1.__main__:cli
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python {{ python_min }}
- setuptools >=64.0
- setuptools-scm >=6.2
- pip
run:
- python >={{ python_min }}
- numpy
- asf_search
- geopandas
- rasterio
- pyyaml
- dist_s1_enumerator

test:
imports:
- dist_s1
commands:
- pip check
- dist-s1 --help
requires:
- pip
- python {{ python_min }}
- pyyaml
- dist_s1_enumerator

about:
home: https://github.com/opera-adt/dist-s1
summary: The workflow to generate the DIST-S1 product
license: Apache-2.0
license_file: LICENSE

extra:
recipe-maintainers:
- cmarshak
- taliboliver

0 comments on commit 7495fcd

Please sign in to comment.