From b0b956e80d21df4acc9c56c9c78bc6649f0e7eaa Mon Sep 17 00:00:00 2001 From: Wolfgang Maier Date: Wed, 22 Jan 2025 14:44:48 +0100 Subject: [PATCH 1/5] Build for osx-arm64 --- recipes/py2bit/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/py2bit/meta.yaml b/recipes/py2bit/meta.yaml index a5dbc0ced623c..e72deee1bc6c9 100644 --- a/recipes/py2bit/meta.yaml +++ b/recipes/py2bit/meta.yaml @@ -3,7 +3,7 @@ package: version: "0.3.3" build: - number: 0 + number: 1 run_exports: - {{ pin_subpackage('py2bit', max_pin='x.x') }} @@ -33,3 +33,4 @@ about: extra: additional-platforms: - linux-aarch64 + - osx-arm64 From 4f4f3e679371dbe0bb665b62297baa96c470c809 Mon Sep 17 00:00:00 2001 From: Joshua Zhuang <71105179+mencian@users.noreply.github.com> Date: Sat, 25 Jan 2025 16:51:27 -0600 Subject: [PATCH 2/5] Update meta.yaml --- recipes/py2bit/meta.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes/py2bit/meta.yaml b/recipes/py2bit/meta.yaml index e72deee1bc6c9..3129a94a8c187 100644 --- a/recipes/py2bit/meta.yaml +++ b/recipes/py2bit/meta.yaml @@ -16,6 +16,7 @@ requirements: - {{ compiler('c') }} host: - python + - pip - setuptools run: - python @@ -28,7 +29,11 @@ test: about: home: https://github.com/deeptools/py2bit license: 'MIT' - summary: 'A package for accessing 2bit files using lib2bit' + 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: From aafeae075138ee5c16a818c2efe94128e0087cc7 Mon Sep 17 00:00:00 2001 From: Joshua Zhuang <71105179+mencian@users.noreply.github.com> Date: Sat, 25 Jan 2025 16:51:57 -0600 Subject: [PATCH 3/5] Update build.sh --- recipes/py2bit/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/py2bit/build.sh b/recipes/py2bit/build.sh index 3786386a73c83..3d55a3b0064ab 100644 --- a/recipes/py2bit/build.sh +++ b/recipes/py2bit/build.sh @@ -1,3 +1,3 @@ #!/bin/bash -$PYTHON setup.py install --single-version-externally-managed --record=record.txt +$PYTHON -m pip install . -vv --no-deps --no-build-isolation From fc1a15876ac1adff08eca6f39d396a08e649cd6f Mon Sep 17 00:00:00 2001 From: Joshua Zhuang <71105179+mencian@users.noreply.github.com> Date: Sat, 25 Jan 2025 16:52:24 -0600 Subject: [PATCH 4/5] Delete recipes/py2bit/build.sh --- recipes/py2bit/build.sh | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 recipes/py2bit/build.sh diff --git a/recipes/py2bit/build.sh b/recipes/py2bit/build.sh deleted file mode 100644 index 3d55a3b0064ab..0000000000000 --- a/recipes/py2bit/build.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -$PYTHON -m pip install . -vv --no-deps --no-build-isolation From b22b830e6534bbcf226fdf87cd392cf268a65b71 Mon Sep 17 00:00:00 2001 From: Joshua Zhuang <71105179+mencian@users.noreply.github.com> Date: Sat, 25 Jan 2025 16:54:10 -0600 Subject: [PATCH 5/5] Update meta.yaml --- recipes/py2bit/meta.yaml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/recipes/py2bit/meta.yaml b/recipes/py2bit/meta.yaml index 3129a94a8c187..0a0dcc824f75b 100644 --- a/recipes/py2bit/meta.yaml +++ b/recipes/py2bit/meta.yaml @@ -1,16 +1,20 @@ +{% 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: 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') }} @@ -27,13 +31,13 @@ test: - py2bitTest about: - home: https://github.com/deeptools/py2bit - license: 'MIT' + home: "https://github.com/deeptools/py2bit" + license: MIT license_family: MIT - license_file: LICENSE.txt + 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 + dev_url: "https://github.com/deeptools/py2bit" + doc_url: "https://github.com/deeptools/py2bit/blob/{{ version }}/README.md" extra: additional-platforms: