From d6034c88c1e6993f0afa438bf129c1985c54d83b Mon Sep 17 00:00:00 2001 From: Leon Hafner Date: Tue, 29 Oct 2024 19:43:40 +0100 Subject: [PATCH 1/2] Added meta.yaml --- recipes/doubletdetection/meta.yaml | 65 ++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 recipes/doubletdetection/meta.yaml diff --git a/recipes/doubletdetection/meta.yaml b/recipes/doubletdetection/meta.yaml new file mode 100644 index 0000000000000..33a4c23ac6bf3 --- /dev/null +++ b/recipes/doubletdetection/meta.yaml @@ -0,0 +1,65 @@ +{% set name = "doubletdetection" %} +{% set version = "4.2" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/doubletdetection-{{ version }}.tar.gz + sha256: 77273d543a7c9b4f4e795b7b664c28bce0613b3a3a7c7f5137974012400a0a6c + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >=3.6,<4.0 + - poetry >=1.0 + - setuptools + - poetry-core + - pip + run: + - python >=3.6.1,<4.0 + - anndata >=0.6 + - ipywidgets + - leidenalg + - louvain + - matplotlib-base >=3.1 + - numpy >=1.14.2 + - pandas >=0.22.0 + - phenograph + - scanpy >1.4.4 + - scipy >=1.0.1 + - tqdm + run_constrained: + - black >=20.8b1 + - flake8 >=3.7.7 + - furo * + - myst-parser * + - nbsphinx * + - nbsphinx-link * + - pre-commit >=2.7.1 + - pytest >=4.4 + - sphinx >=4.1,<4.4 + - sphinx-autodoc-typehints * + +test: + imports: + - doubletdetection + commands: + - pip check + requires: + - pip + +about: + home: https://github.com/JonathanShor/DoubletDetection + summary: Method to detect and enable removal of doublets from single-cell RNA-sequencing. + license: MIT + license_file: LICENSE.txt + +extra: + recipe-maintainers: + - LeonHafner From 34838642e5ff4ac844fa67847ca0a2b0a27403f5 Mon Sep 17 00:00:00 2001 From: Joshua Zhuang <71105179+mencian@users.noreply.github.com> Date: Tue, 29 Oct 2024 16:46:35 -0500 Subject: [PATCH 2/2] clean up recipe --- recipes/doubletdetection/meta.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/recipes/doubletdetection/meta.yaml b/recipes/doubletdetection/meta.yaml index 33a4c23ac6bf3..4b1d68ee91681 100644 --- a/recipes/doubletdetection/meta.yaml +++ b/recipes/doubletdetection/meta.yaml @@ -11,8 +11,10 @@ source: build: noarch: python - script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + script: {{ PYTHON }} -m pip install . -vvv --no-deps --no-build-isolation --no-cache-dir number: 0 + run_exports: + - {{ pin_subpackage('doubletdetection', max_pin="x") }} requirements: host: @@ -49,16 +51,15 @@ requirements: test: imports: - doubletdetection - commands: - - pip check - requires: - - pip about: home: https://github.com/JonathanShor/DoubletDetection summary: Method to detect and enable removal of doublets from single-cell RNA-sequencing. license: MIT + license_family: MIT license_file: LICENSE.txt + dev_url: https://github.com/JonathanShor/DoubletDetection + doc_url: https://doubletdetection.readthedocs.io extra: recipe-maintainers: