diff --git a/recipes/snapatac2/build.sh b/recipes/snapatac2/build.sh index 3f270cc862d95..b9259f5b409d3 100644 --- a/recipes/snapatac2/build.sh +++ b/recipes/snapatac2/build.sh @@ -6,6 +6,6 @@ RUST_BACKTRACE=1 maturin build -m snapatac2-python/Cargo.toml -b pyo3 --interpreter "${PYTHON}" --release --strip # Install *.whl files using pip -${PYTHON} -m pip install snapatac2-python/target/wheels/*.whl --no-deps --no-build-isolation --no-cache-dir -vvv +${PYTHON} -m pip install target/wheels/*.whl --no-deps --no-build-isolation --no-cache-dir -vvv cd ${SRC_DIR}/snapatac2-python/ && cargo clean && rm -rf ${BUILD_PREFIX}/.cargo diff --git a/recipes/snapatac2/meta.yaml b/recipes/snapatac2/meta.yaml index ace1bae3532d1..04b6501a2c45d 100644 --- a/recipes/snapatac2/meta.yaml +++ b/recipes/snapatac2/meta.yaml @@ -1,13 +1,13 @@ {% set name = "snapatac2" %} -{% set version = "2.7.0" %} -{% set sha256 = "a37e86001da1e8f812d2e2dfda157ce131b8a0b54a44ae5bd72733c0171d4f1d" %} +{% set version = "2.7.1" %} +{% set sha256 = "18c206153112fbf9ca97c690d6d8d1e51cb5d125739ead6e8a3aece8f01cbd66" %} package: name: {{ name }} version: {{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/snapatac2-{{ version }}.tar.gz + url: https://github.com/kaizhang/SnapATAC2/archive/refs/tags/v{{ version }}.tar.gz sha256: {{ sha256 }} patches: - cargo.toml.patch @@ -50,6 +50,7 @@ requirements: - scikit-learn >=1.0 - tqdm >=4.62 - typing_extensions + - typeguard >=4.0 test: imports: @@ -60,7 +61,7 @@ about: summary: "SnapATAC2: Single-cell epigenomics analysis pipeline." license: MIT license_family: MIT - license_file: LICENSE + license_file: snapatac2-python/LICENSE doc_url: "https://kzhang.org/SnapATAC2" dev_url: "https://github.com/kaizhang/SnapATAC2" diff --git a/recipes/snapatac2/pyproject.toml.patch b/recipes/snapatac2/pyproject.toml.patch index 1c87870e9049d..920d2e5eb30fb 100644 --- a/recipes/snapatac2/pyproject.toml.patch +++ b/recipes/snapatac2/pyproject.toml.patch @@ -1,14 +1,13 @@ -diff --git a/pyproject.toml b/pyproject.toml -index 0cc0ca0..eeb5899 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -7,6 +7,9 @@ features = ["pyo3/extension-module"] +diff --git a/snapatac2-python/pyproject.toml b/snapatac2-python/pyproject.toml +index 15d7b75..82f9c43 100644 +--- a/snapatac2-python/pyproject.toml ++++ b/snapatac2-python/pyproject.toml +@@ -6,6 +6,8 @@ build-backend = "maturin" + features = ["pyo3/extension-module"] python-source = "python" module-name = "snapatac2._snapatac2" - manifest-path = "snapatac2-python/Cargo.toml" +strip = true +profile = "release" -+locked = true [project] name = "snapatac2"