Skip to content

Commit 20d68f3

Browse files
authored
python-polars: bump to 1.22.0 (#1510)
1 parent fa19920 commit 20d68f3

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

tur/python-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"
@@ -58,9 +58,10 @@ termux_step_pre_configure() {
5858
-d ./vendor/jemalloc-sys/ \
5959
< "$TERMUX_PKG_BUILDER_DIR"/jemalloc-sys-0.5.4+5.3.0-patched-src-lib.rs.diff
6060

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

6566
LDFLAGS+=" -Wl,--no-as-needed,-lpython${TERMUX_PYTHON_VERSION},--as-needed"
6667
}

tur/python-polars/patch-root-Cargo.diff

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

0 commit comments

Comments
 (0)