From 3e56bf86bb35423cbf271dada5de565dc96dcb4b Mon Sep 17 00:00:00 2001 From: Marcel Martin Date: Wed, 15 Jan 2020 14:07:43 +0100 Subject: [PATCH 1/3] Add tinyalign recipe --- recipes/tinyalign/meta.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes/tinyalign/meta.yaml diff --git a/recipes/tinyalign/meta.yaml b/recipes/tinyalign/meta.yaml new file mode 100644 index 0000000000000..1948e3b3727ae --- /dev/null +++ b/recipes/tinyalign/meta.yaml @@ -0,0 +1,34 @@ +{% set version = "0.2" %} + +package: + name: tinyalign + version: {{ version }} + +source: + url: https://files.pythonhosted.org/packages/20/2c/a5c5f356e3d491941fe29aba4d71078e90eb4ea83b26af616b1ac9502ab7/tinyalign-0.2.tar.gz + sha256: 33601ea7b3171d7fb495f59ef533d29fba7e0091dd69c1225ff1c2eed10b8a59 + +build: + number: 0 + script: "{{ PYTHON }} -m pip install . --no-deps -vv" + skip: True # [py27] + +requirements: + build: + - {{ compiler('c') }} + host: + - pip + - python + - cython + - setuptools_scm + run: + - python + +test: + imports: + - tinyalign + +about: + home: https://github.com/marcelm/tinyalign/ + license: MIT License + summary: 'Banded edit distance' From 839020ef4c0c661e93ffe90b151b3a6382ae8c1e Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Wed, 15 Jan 2020 18:31:59 +0000 Subject: [PATCH 2/3] tinyalign: use generic PyPI URL; add license_file --- recipes/tinyalign/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/tinyalign/meta.yaml b/recipes/tinyalign/meta.yaml index 1948e3b3727ae..ff66f355e93d7 100644 --- a/recipes/tinyalign/meta.yaml +++ b/recipes/tinyalign/meta.yaml @@ -5,7 +5,7 @@ package: version: {{ version }} source: - url: https://files.pythonhosted.org/packages/20/2c/a5c5f356e3d491941fe29aba4d71078e90eb4ea83b26af616b1ac9502ab7/tinyalign-0.2.tar.gz + url: https://pypi.io/packages/source/t/tinyalign/tinyalign-{{ version }}.tar.gz sha256: 33601ea7b3171d7fb495f59ef533d29fba7e0091dd69c1225ff1c2eed10b8a59 build: @@ -31,4 +31,5 @@ test: about: home: https://github.com/marcelm/tinyalign/ license: MIT License + license_file: LICENSE summary: 'Banded edit distance' From 409ce42d771ad04a059ba2f4f6eb5ab2e3273950 Mon Sep 17 00:00:00 2001 From: Marcel Martin Date: Wed, 15 Jan 2020 20:34:15 +0100 Subject: [PATCH 3/3] Update recipes/tinyalign/meta.yaml Co-Authored-By: Marcel Bargull --- recipes/tinyalign/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/tinyalign/meta.yaml b/recipes/tinyalign/meta.yaml index ff66f355e93d7..276a15004863d 100644 --- a/recipes/tinyalign/meta.yaml +++ b/recipes/tinyalign/meta.yaml @@ -32,4 +32,4 @@ about: home: https://github.com/marcelm/tinyalign/ license: MIT License license_file: LICENSE - summary: 'Banded edit distance' + summary: A small Python module providing edit distance and Hamming distance computation.