forked from bioconda/bioconda-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
scoring-matrices
Python package (bioconda#47698)
* Add recipe for `scoring-matrices` Python package * Add `aarch64` target for `scoring-matrices` * Use the `name` jinja variable in pin_subpackage() --------- Co-authored-by: Martin Grigorov <[email protected]>
- Loading branch information
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{% set name = "scoring-matrices" %} | ||
{% set module = "scoring_matrices" %} | ||
{% set version = "0.2.0" %} | ||
|
||
package: | ||
name: "{{ name|lower }}" | ||
version: "{{ version }}" | ||
|
||
source: | ||
url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz" | ||
sha256: cb41deca61bc113b6153c8bc18a1c0aa16729c881e0a8d3a464802e1feb897a4 | ||
|
||
build: | ||
number: 0 | ||
skip: True # [py < 36] | ||
script: "{{ PYTHON }} -m pip install . --no-deps --no-build-isolation --no-cache-dir --use-pep517 -vvv" | ||
run_exports: | ||
- {{ pin_subpackage(name, max_pin="x.x") }} | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('c') }} | ||
host: | ||
- python | ||
- pip | ||
- cython | ||
run: | ||
- python | ||
|
||
test: | ||
imports: | ||
- {{ module }} | ||
commands: | ||
- python -m unittest -vv {{ module }}.tests | ||
|
||
about: | ||
home: https://github.com/althonos/scoring-matrices | ||
license: MIT | ||
license_family: MIT | ||
license_file: COPYING | ||
summary: Dependency free, Cython-compatible scoring matrices to use with biological sequences. | ||
doc_url: https://scoring-matrices.readthedocs.org/ | ||
dev_url: https://github.com/althonos/scoring-matrices | ||
|
||
extra: | ||
recipe-maintainers: | ||
- althonos | ||
additional-platforms: | ||
- linux-aarch64 |