Skip to content

Commit

Permalink
Update pybigtools to 0.2.2 (#50026)
Browse files Browse the repository at this point in the history
* Update pybigtools to 0.2.1

* edit build.sh

* Update pybigtools to 0.2.2

---------

Co-authored-by: mencian <[email protected]>
  • Loading branch information
BiocondaBot and mencian authored Nov 5, 2024
1 parent 8291da0 commit c2c357d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
12 changes: 1 addition & 11 deletions recipes/pybigtools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 .
mv pybigtools/LICENSE .
13 changes: 7 additions & 6 deletions recipes/pybigtools/meta.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
Expand All @@ -11,7 +11,7 @@ source:
sha256: {{ sha256 }}

build:
number: 1
number: 0
run_exports:
- {{ pin_subpackage('pybigtools', max_pin="x.x") }}

Expand All @@ -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

0 comments on commit c2c357d

Please sign in to comment.