From edc9747565b714e5fa30dea51542fed4b54fca58 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Fri, 8 Nov 2024 17:29:33 +0100 Subject: [PATCH 1/4] Add wpca --- recipes/wpca/meta.yaml | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 recipes/wpca/meta.yaml diff --git a/recipes/wpca/meta.yaml b/recipes/wpca/meta.yaml new file mode 100644 index 0000000000000..0c13108be0b0e --- /dev/null +++ b/recipes/wpca/meta.yaml @@ -0,0 +1,43 @@ +{% set name = "wpca" %} +{% set version = "0.1" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/wpca-{{ version }}.tar.gz + sha256: f5fa0b5756e0d3cc52c2c3166aec65630d3a31236c772145b6df225738a25652 + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python + - pip + run: + - python + - numpy + - scipy + - scikit-learn + +test: + imports: + - wpca + commands: + - pip check + requires: + - pip + +about: + home: http://github.com/jakevdp/wpca/ + summary: Weighted Principal Component Analysis + license: BSD-3-Clause + license_file: LICENSE + +extra: + recipe-maintainers: + - martinRenou From 28c2284b217658f110ba06448841fd79d783eda8 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Fri, 8 Nov 2024 17:35:07 +0100 Subject: [PATCH 2/4] Lint --- recipes/wpca/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/wpca/meta.yaml b/recipes/wpca/meta.yaml index 0c13108be0b0e..6dc2152b7d2f3 100644 --- a/recipes/wpca/meta.yaml +++ b/recipes/wpca/meta.yaml @@ -16,10 +16,10 @@ build: requirements: host: - - python + - python >=3.6 - pip run: - - python + - python >=3.6 - numpy - scipy - scikit-learn From 5c34b7ae2a9a5a513799678fd53a22e81a814282 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Fri, 8 Nov 2024 17:49:22 +0100 Subject: [PATCH 3/4] Missing setuptools --- recipes/wpca/meta.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/wpca/meta.yaml b/recipes/wpca/meta.yaml index 6dc2152b7d2f3..9b892fbe47dcd 100644 --- a/recipes/wpca/meta.yaml +++ b/recipes/wpca/meta.yaml @@ -18,6 +18,7 @@ requirements: host: - python >=3.6 - pip + - setuptools run: - python >=3.6 - numpy From eac8c4d549758c2bf9f326c95bf6bdfb9edfaeee Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 12 Nov 2024 10:27:09 +0100 Subject: [PATCH 4/4] Linter --- recipes/wpca/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/wpca/meta.yaml b/recipes/wpca/meta.yaml index 9b892fbe47dcd..5c28fe898c909 100644 --- a/recipes/wpca/meta.yaml +++ b/recipes/wpca/meta.yaml @@ -16,11 +16,11 @@ build: requirements: host: - - python >=3.6 + - python {{ python_min }} - pip - setuptools run: - - python >=3.6 + - python {{ python_min }} - numpy - scipy - scikit-learn