Skip to content

Commit

Permalink
Add napari-update-checker recipe (#28714)
Browse files Browse the repository at this point in the history
Co-authored-by: jaimergp <[email protected]>
  • Loading branch information
goanpeca and jaimergp authored Dec 29, 2024
1 parent 3d99597 commit 023a38a
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
56 changes: 56 additions & 0 deletions recipes/napari-update-checker/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{% set name = "napari-update-checker" %}
{% set version = "0.1.0" %}

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

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

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- napari
- pip
- python {{ python_min }}
- setuptools >=42
- setuptools-scm >=3.4
- wheel
run:
- napari >=0.5
- pip
- python >={{ python_min }}
- qtpy
- superqt

test:
imports:
- napari_update_checker
- napari_update_checker.qt_update_checker
commands:
- pip list
- pip check
requires:
- pip
- pyqt
- python {{ python_min }}
- numpy <2.0a0 # TODO: Remove once python_min is 3.10 or later

about:
home: https://pypi.org/project/napari-update-checker/
dev_url: https://github.com/napari/update-checker/
doc_url: https://napari.org/update-checker
summary: Updates checker plugin for napari.
license: BSD-3-Clause
license_file: LICENSE.txt

extra:
recipe-maintainers:
- goanpeca
- jaimergp
2 changes: 2 additions & 0 deletions recipes/napari-update-checker/yum_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mesa-libGL-devel
xorg-x11-server-Xvfb

0 comments on commit 023a38a

Please sign in to comment.