From 6d1af754e7ab9509e476c882bf3786bde8f2a305 Mon Sep 17 00:00:00 2001 From: Katy Brown Date: Sun, 1 May 2022 10:42:03 +0100 Subject: [PATCH] [ci skip] Merge PR 34567 Merge PR #34567, commits were: * Update meta.yaml * changed matplotlib to matplotlib-base * added cialign recipe * changed version numbers for python and numpy * added cialign meta.yaml --- recipes/cialign/meta.yaml | 41 +++++++++++++++++++++++++++++++++++++ recipes/cialign/run_test.py | 8 ++++++++ 2 files changed, 49 insertions(+) create mode 100644 recipes/cialign/meta.yaml create mode 100644 recipes/cialign/run_test.py diff --git a/recipes/cialign/meta.yaml b/recipes/cialign/meta.yaml new file mode 100644 index 0000000000000..8dd4c679a911a --- /dev/null +++ b/recipes/cialign/meta.yaml @@ -0,0 +1,41 @@ +{% set name = "cialign" %} +{% set version = "1.0.18" %} + +package: + name: "{{ name|lower }}" + version: "{{ version }}" + +source: + url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" + sha256: bb0b0645ac7d94b7101b712ce0913b8096c1ebee72a4d7fd1209cbdaabf4adb1 + +build: + number: 0 + script: "{{ PYTHON }} -m pip install . -vv" + noarch: python + +requirements: + host: + - configargparse + - matplotlib-base + - numpy + - pillow + - pip + - python>=3.6 + run: + - configargparse + - matplotlib-base + - numpy + - pillow + - python>=3.6 + +test: + imports: + - CIAlign + - tests + +about: + home: "https://github.com/KatyBrown/CIAlign" + license: MIT + license_family: MIT + summary: "Toolkit for cleaning and interpreting multiple sequence alignments" diff --git a/recipes/cialign/run_test.py b/recipes/cialign/run_test.py new file mode 100644 index 0000000000000..0df1b53eaedd1 --- /dev/null +++ b/recipes/cialign/run_test.py @@ -0,0 +1,8 @@ +import unittest +def my_test_suite(): + test_loader = unittest.TestLoader() + test_suite = test_loader.discover('tests', pattern='test_*.py') + return test_suite + +if __name__ == '__main__': + my_test_suite()