Skip to content

Commit 5966d07

Browse files
committed
python3.12-polars: bump to 1.22.0
1 parent 4399077 commit 5966d07

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

tur-pypi-312/python3.12-polars/build.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/pola-rs/polars
22
TERMUX_PKG_DESCRIPTION="Dataframes powered by a multithreaded, vectorized query engine, written in Rust"
33
TERMUX_PKG_LICENSE="MIT"
44
TERMUX_PKG_MAINTAINER="@termux-user-repository"
5-
TERMUX_PKG_VERSION="1.19.0"
5+
TERMUX_PKG_VERSION="1.22.0"
66
TERMUX_PKG_SRCURL=https://github.com/pola-rs/polars/releases/download/py-$TERMUX_PKG_VERSION/polars-$TERMUX_PKG_VERSION.tar.gz
7-
TERMUX_PKG_SHA256=b52ada5c43fcdadf64f282522198c5549ee4e46ea57d236a4d7e572643070d9d
7+
TERMUX_PKG_SHA256=8d94ae25085d92de10d93ab6a06c94f8c911bd5d9c1ff17cd1073a9dca766029
88
TERMUX_PKG_AUTO_UPDATE=true
99
TERMUX_PKG_DEPENDS="libc++, python"
1010
TERMUX_PKG_PYTHON_COMMON_DEPS="wheel"
@@ -68,9 +68,10 @@ termux_step_pre_configure() {
6868
-d ./vendor/jemalloc-sys/ \
6969
< "$TERMUX_PKG_BUILDER_DIR"/jemalloc-sys-0.5.4+5.3.0-patched-src-lib.rs.diff
7070

71-
patch --silent -p1 \
72-
-d "$TERMUX_PKG_SRCDIR" \
73-
< "$TERMUX_PKG_BUILDER_DIR"/patch-root-Cargo.diff
71+
sed -i 's|^\(\[patch\.crates-io\]\)$|\1\narboard = { path = "\./vendor/arboard" }|g' \
72+
Cargo.toml
73+
sed -i 's|^\(\[patch\.crates-io\]\)$|\1\njemalloc-sys = { path = "\./vendor/jemalloc-sys" }|g' \
74+
Cargo.toml
7475

7576
LDFLAGS+=" -Wl,--no-as-needed,-lpython${TERMUX_PYTHON_VERSION},--as-needed"
7677
}

tur-pypi-312/python3.12-polars/patch-root-Cargo.diff

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)