Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipe for pyskani Python package #52606

Merged
merged 2 commits into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions recipes/pyskani/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{% set name = "pyskani" %}
{% set version = "0.1.3" %}

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

source:
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
sha256: "cb8b05f18f12d49a989d21d8bfe9180c9ddb00c595eb8481a3532716b94c4db3"

build:
number: 0
script: "{{ PYTHON }} -m pip install . --no-deps --no-build-isolation --no-cache-dir --use-pep517 -vvv"
skip: True # [osx or py27 or py36]
run_exports:
- {{ pin_subpackage('pyskani', max_pin="x.x") }}

requirements:
build:
- {{ compiler('rust') }}
host:
- python
- pip
- maturin
martin-g marked this conversation as resolved.
Show resolved Hide resolved
run:
- python

test:
imports:
- {{ name }}
commands:
- python -m unittest -vv {{ name }}.tests

about:
home: "https://github.com/althonos/pyskani/"
license: "MIT"
license_family: "MIT"
license_file: "COPYING"
summary: "PyO3 bindings and Python interface to skani, a method for fast fast genomic identity calculation using sparse chaining."
doc_url: "https://pyskani.readthedocs.io"

extra:
additional-platforms:
- linux-aarch64
recipe-maintainers:
- althonos
Loading