Skip to content

Commit

Permalink
Add recipe for pyskani Python package (#52606)
Browse files Browse the repository at this point in the history
* Add recipe for `pyskani` Python package

* Bump `pyskani` to `v0.1.3`
  • Loading branch information
althonos authored Dec 6, 2024
1 parent ede96a8 commit 5c7155e
Showing 1 changed file with 47 additions and 0 deletions.
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
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

0 comments on commit 5c7155e

Please sign in to comment.