diff --git a/recipes/napping/meta.yaml b/recipes/napping/meta.yaml new file mode 100644 index 0000000000000..742140edf2462 --- /dev/null +++ b/recipes/napping/meta.yaml @@ -0,0 +1,60 @@ +{% set name = "napping" %} +{% set version = "0.2.4" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/napping-{{ version }}.tar.gz + sha256: f3d46b3001d4321c7afb650c43b640c734cd006b6081e3e8cba33100c66687da + +build: + entry_points: + - napping = napping.__main__:main + noarch: python + script: {{ PYTHON }} -m pip install . -vv + number: 0 + script_env: + - QT_QPA_PLATFORM=offscreen + +requirements: + host: + - pip + - python >=3.8 + - setuptools >=45 + - setuptools-scm >=6.0 + - wheel + run: + - imagecodecs + - imageio # Imported but not declared as dependency + - napari >=0.4.16 + - numpy + - pandas + - pillow # Imported but not declared as dependency + - python >=3.8 + - qtpy + - scikit-image + +test: + imports: + - napping + commands: + - pip list + - pip check + # - napping --help # This is openning the napari application and hanging the CI as it never closes + requires: + - pip + - pyqt # napari does not ship a binding by default, is up to the user to install pyside or pyqt + +about: + home: https://pypi.org/project/napping + summary: Control point mapping and coordination transformation using napari + license: MIT + license_file: LICENSE + dev_url: https://github.com/BodenmillerGroup/napping + +extra: + recipe-maintainers: + - goanpeca + - jaimergp diff --git a/recipes/napping/yum_requirements.txt b/recipes/napping/yum_requirements.txt new file mode 100644 index 0000000000000..7b288b0ae8555 --- /dev/null +++ b/recipes/napping/yum_requirements.txt @@ -0,0 +1,2 @@ +mesa-libGL-devel +xorg-x11-server-Xvfb