From 9358849689eb8c164649a1f31ea8046fb23af2aa Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Thu, 28 Nov 2024 19:29:13 +0000 Subject: [PATCH] bump(main/uv): 0.5.5 Upstream fixed the issues with termux. https://github.com/astral-sh/uv/commit/91c3ebc6f7bf07c4a5b9c9bd22f9d65e31c38c75 --- packages/uv/0002-venv.patch | 34 ---------------------------------- packages/uv/build.sh | 4 ++-- 2 files changed, 2 insertions(+), 36 deletions(-) delete mode 100644 packages/uv/0002-venv.patch diff --git a/packages/uv/0002-venv.patch b/packages/uv/0002-venv.patch deleted file mode 100644 index ca8dcb6d60c34bf..000000000000000 --- a/packages/uv/0002-venv.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff --git a/crates/uv-python/python/get_interpreter_info.py b/crates/uv-python/python/get_interpreter_info.py -index d056d385..63edefd9 100644 ---- a/crates/uv-python/python/get_interpreter_info.py -+++ b/crates/uv-python/python/get_interpreter_info.py -@@ -461,6 +461,7 @@ def get_operating_system_and_architecture(): - # noinspection PyProtectedMember - from .packaging._musllinux import _get_musl_version - -+ """ - musl_version = _get_musl_version(sys.executable) - glibc_version = _get_glibc_version() - if musl_version: -@@ -478,6 +479,12 @@ def get_operating_system_and_architecture(): - else: - print(json.dumps({"result": "error", "kind": "libc_not_found"})) - sys.exit(0) -+ """ -+ operating_system = { -+ "name": "linux", -+ "major": 1, -+ "minor": 0, -+ } - elif operating_system == "win": - operating_system = { - "name": "windows", -@@ -544,7 +551,7 @@ def main() -> None: - } - os_and_arch = get_operating_system_and_architecture() - -- manylinux_compatible = True -+ manylinux_compatible = False - if os_and_arch["os"]["name"] == "manylinux": - # noinspection PyProtectedMember - from .packaging._manylinux import _get_glibc_version, _is_compatible diff --git a/packages/uv/build.sh b/packages/uv/build.sh index 643019ab35468e0..79e0fbc76bcf056 100644 --- a/packages/uv/build.sh +++ b/packages/uv/build.sh @@ -3,9 +3,9 @@ TERMUX_PKG_DESCRIPTION="An extremely fast Python package installer and resolver, TERMUX_PKG_LICENSE="Apache-2.0, MIT" TERMUX_PKG_LICENSE_FILE="LICENSE-APACHE, LICENSE-MIT" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="0.5.4" +TERMUX_PKG_VERSION="0.5.5" TERMUX_PKG_SRCURL=https://github.com/astral-sh/uv/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=3c1c95bcc99930b929e18665d7691b219ce4bef3555711a9be80139c183b9595 +TERMUX_PKG_SHA256=48108de0a14dd91acf4ce73e1b28abb24f54969a3a477389b81e362ec2c098e5 TERMUX_PKG_BUILD_DEPENDS="zstd" TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_AUTO_UPDATE=true