Skip to content

Commit

Permalink
simlord: add aarch64/arm64 builds (#52731)
Browse files Browse the repository at this point in the history
* simlord: add aarch64/arm64 builds

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* Fix package name in pin_subpackage

* No license_file

* Do not build with Python 3.12+

* Pin Python to 3.10 at most

* Pin numpy to 1.x

* Do not build osx-arm64. There is a problem with the version of numpy

---------

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g authored Dec 12, 2024
1 parent 12b29ab commit 90a9c08
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 214 deletions.
104 changes: 0 additions & 104 deletions recipes/simlord/build_failure.linux-64.yaml

This file was deleted.

104 changes: 0 additions & 104 deletions recipes/simlord/build_failure.osx-64.yaml

This file was deleted.

21 changes: 15 additions & 6 deletions recipes/simlord/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{% set name = "simlord" %}
{% set version = "1.0.4" %}

package:
name: simlord
version: "1.0.4"
name: {{ name }}
version: {{ version }}

source:
url: https://files.pythonhosted.org/packages/b7/41/0deb50e6d2b003799371dda32a2b81d254e5b665f8435c75d656a7d6d080/simlord-1.0.4.zip
url: https://files.pythonhosted.org/packages/b7/41/0deb50e6d2b003799371dda32a2b81d254e5b665f8435c75d656a7d6d080/simlord-{{ version }}.zip
sha256: 8f3f018da10b91ad865c602eb3926513dcdbfd3b0108f5d5006aee4bca4a74b6

build:
number: 4
skip: True # [py2k]
number: 5
skip: True # [py2k or py>=311]
script: {{ PYTHON }} -m pip install . --ignore-installed --no-deps -vv
entry_points:
- simlord = simlord.simlord:main
run_exports:
{{ pin_subpackage(name, max_pin="x") }}

requirements:
build:
Expand All @@ -22,7 +27,7 @@ requirements:
- cython
run:
- python
- numpy
- numpy <2
- scipy
- pysam >=0.8.4
- dinopy
Expand All @@ -38,3 +43,7 @@ about:
home: https://bitbucket.org/genomeinformatics/simlord/
license: MIT License
summary: 'SimLoRD is a read simulator for long reads from third generation sequencing. Currently, it supports the Pacific Biosciences SMRT error model.'

extra:
additional-platforms:
- linux-aarch64

0 comments on commit 90a9c08

Please sign in to comment.