diff --git a/recipes/pybigtools/build.sh b/recipes/pybigtools/build.sh index 9f7a317e6924c..ea4ae484cce66 100644 --- a/recipes/pybigtools/build.sh +++ b/recipes/pybigtools/build.sh @@ -4,10 +4,6 @@ # -x = print every executed command set -ex -# Add workaround for SSH-based Git connections from Rust/cargo. See https://github.com/rust-lang/cargo/issues/2078 for details. -# We set CARGO_HOME because we don't pass on HOME to conda-build, thus rendering the default "${HOME}/.cargo" defunct. -export CARGO_NET_GIT_FETCH_WITH_CLI=true CARGO_HOME="${BUILD_PREFIX}/.cargo" - # There is some issue here building with Python 3.8 on macOS >= 11 # See https://github.com/pypa/cibuildwheel/issues/1410 export MACOSX_DEPLOYMENT_TARGET=12.7 @@ -23,12 +19,6 @@ if [[ $target_platform == osx-* ]]; then done fi -# Use a custom temporary directory as home on macOS. -# (not sure why this is useful, but people use it in bioconda recipes) -if [ `uname` == Darwin ]; then - export HOME=`mktemp -d` -fi - # Build statically linked binary with Rust # Note: This sdist is a bit wonky because it was generated from a monorepo by running maturin sdist RUST_BACKTRACE=1 @@ -44,4 +34,4 @@ maturin build -m pybigtools/Cargo.toml -b pyo3 --interpreter "${PYTHON}" --relea ${PYTHON} -m pip install pybigtools/target/wheels/*.whl --no-deps --no-build-isolation --no-cache-dir -vvv # Move the LICENSE file to the root dir -mv pybigtools/LICENSE . \ No newline at end of file +mv pybigtools/LICENSE . diff --git a/recipes/pybigtools/meta.yaml b/recipes/pybigtools/meta.yaml index ccc184ca0c425..c1fe465fc0dd2 100644 --- a/recipes/pybigtools/meta.yaml +++ b/recipes/pybigtools/meta.yaml @@ -1,6 +1,6 @@ {% set name = "pybigtools" %} -{% set version = "0.2.0" %} -{% set sha256 = "7c5d1676c5042b92f3f11bae3166cda92f5b33eb1a0a8c3411eb4c54ed94dd12" %} +{% set version = "0.2.2" %} +{% set sha256 = "8fe5e5f04cadca7d1f58653203928455e405a25fbc26d272ce5e443b70533ba3" %} package: name: {{ name }} @@ -11,7 +11,7 @@ source: sha256: {{ sha256 }} build: - number: 1 + number: 0 run_exports: - {{ pin_subpackage('pybigtools', max_pin="x.x") }} @@ -32,16 +32,17 @@ test: - pybigtools about: - home: https://github.com/jackh726/bigtools/ + home: "https://github.com/jackh726/bigtools" license: MIT summary: 'pybigtools: Python bindings to the Bigtools Rust library for high-performance BigWig and BigBed I/O' license_family: MIT license_file: LICENSE - doc_url: https://bigtools.readthedocs.io - dev_url: https://github.com/jackh726/bigtools/ + doc_url: "https://bigtools.readthedocs.io" + dev_url: "https://github.com/jackh726/bigtools" extra: additional-platforms: - linux-aarch64 + - osx-arm64 identifiers: - doi:10.5281/zenodo.10606493