Skip to content

Commit

Permalink
Add osx-arm64 build to py2bit (#53398)
Browse files Browse the repository at this point in the history
* Build for osx-arm64

* Update meta.yaml

* Update build.sh

* Delete recipes/py2bit/build.sh

* Update meta.yaml

---------

Co-authored-by: Joshua Zhuang <71105179+mencian@users.noreply.github.com>
  • Loading branch information
wm75 and mencian authored Jan 26, 2025
1 parent 72ab8cc commit 89fad93
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 13 deletions.
3 changes: 0 additions & 3 deletions recipes/py2bit/build.sh

This file was deleted.

30 changes: 20 additions & 10 deletions recipes/py2bit/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
{% set name = "py2bit" %}
{% set version = "0.3.3" %}

package:
name: py2bit
version: "0.3.3"
name: {{ name }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/py2bit-{{ version }}.tar.gz
sha256: 264f5bfc39d729f1acad54c760ac04fa8a20d4184f4b505d9c333d2e03253770

build:
number: 0
number: 1
script: {{ PYTHON }} -m pip install . -vvv --no-deps --no-build-isolation --no-cache-dir
run_exports:
- {{ pin_subpackage('py2bit', max_pin='x.x') }}

source:
url: https://files.pythonhosted.org/packages/24/59/b64b8f59b0d6455e389ae3a8703557dc6b0fcb503b3a1dd7ca0ae0a7c63d/py2bit-0.3.3.tar.gz
sha256: 264f5bfc39d729f1acad54c760ac04fa8a20d4184f4b505d9c333d2e03253770

requirements:
build:
- {{ compiler('c') }}
host:
- python
- pip
- setuptools
run:
- python
Expand All @@ -26,10 +31,15 @@ test:
- py2bitTest

about:
home: https://github.com/deeptools/py2bit
license: 'MIT'
summary: 'A package for accessing 2bit files using lib2bit'
home: "https://github.com/deeptools/py2bit"
license: MIT
license_family: MIT
license_file: "LICENSE.txt"
summary: 'A package for accessing 2bit files using lib2bit.'
dev_url: "https://github.com/deeptools/py2bit"
doc_url: "https://github.com/deeptools/py2bit/blob/{{ version }}/README.md"

extra:
additional-platforms:
- linux-aarch64
- osx-arm64

0 comments on commit 89fad93

Please sign in to comment.