File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Dataframes powered by a multithreaded, vectorized query
33TERMUX_PKG_LICENSE=" MIT"
44TERMUX_PKG_MAINTAINER=" @termux-user-repository"
55TERMUX_PKG_VERSION=" 1.39.3"
6+ TERMUX_PKG_REVISION=1
67TERMUX_PKG_SRCURL=" https://github.com/pola-rs/polars/archive/refs/tags/py-$TERMUX_PKG_VERSION .tar.gz"
78TERMUX_PKG_SHA256=02e29fd1d514721a6ed563244e2beedf0855c7ff4efcc503f772f83e9ffa71c9
89TERMUX_PKG_AUTO_UPDATE=true
@@ -38,14 +39,16 @@ termux_step_pre_configure() {
3839 find ./vendor \
3940 -mindepth 1 -maxdepth 1 -type d \
4041 ! -wholename ./vendor/arboard \
42+ ! -wholename ./vendor/x11rb-protocol \
4143 -exec rm -rf ' {}' \;
4244
43- find vendor/arboard -type f -print0 | \
45+ find vendor/{ arboard,x11rb-protocol} -type f -print0 | \
4446 xargs -0 sed -i \
45- -e ' s|" android"|" disabling_this_because_it_is_for_building_an_apk" |g' \
46- -e ' s|"linux"|"android"|g '
47+ -e ' s|android| disabling_this_because_it_is_for_building_an_apk|g' \
48+ -e " s|/tmp| $TERMUX_PREFIX /tmp|g "
4749
4850 sed -i ' /\[patch.crates-io\]/a arboard = { path = "./vendor/arboard" }' Cargo.toml
51+ sed -i ' /\[patch.crates-io\]/a x11rb-protocol = { path = "./vendor/x11rb-protocol" }' Cargo.toml
4952
5053 export TERMUX_PKG_SRCDIR+=" /py-polars"
5154 export TERMUX_PKG_BUILDDIR=" $TERMUX_PKG_SRCDIR "
You can’t perform that action at this time.
0 commit comments