summaryrefslogtreecommitdiff
path: root/dev-python/uv/uv-9999.ebuild
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-08-15 13:44:04 -0500
committerroot <root@alpha.trunkmasters.com>2026-08-15 13:44:04 -0500
commit21c3dc7c74c628a492c0e00a53479cc5c5a8317b (patch)
tree927b7d7c65249c395bbdf19026e4c00febbbadd1 /dev-python/uv/uv-9999.ebuild
parentf07999efce5fffb65c91843a4a73476787ac195e (diff)
downloadbaldeagleos-repo-21c3dc7c74c628a492c0e00a53479cc5c5a8317b.tar.gz
baldeagleos-repo-21c3dc7c74c628a492c0e00a53479cc5c5a8317b.tar.xz
baldeagleos-repo-21c3dc7c74c628a492c0e00a53479cc5c5a8317b.zip
Adding metadata
Diffstat (limited to 'dev-python/uv/uv-9999.ebuild')
-rw-r--r--dev-python/uv/uv-9999.ebuild20
1 files changed, 4 insertions, 16 deletions
diff --git a/dev-python/uv/uv-9999.ebuild b/dev-python/uv/uv-9999.ebuild
index 5498bfbc3c21..1c1a92fd75d9 100644
--- a/dev-python/uv/uv-9999.ebuild
+++ b/dev-python/uv/uv-9999.ebuild
@@ -70,24 +70,10 @@ src_prepare() {
# enable system libraries where supported
export ZSTD_SYS_USE_PKG_CONFIG=1
- # TODO: unbundle libz-ng-sys, tikv-jemalloc-sys?
+ # TODO: unbundle tikv-jemalloc-sys?
# remove unbundled sources, just in case
- find "${ECARGO_VENDOR}"/{bzip2,lzma,zstd}-sys-*/ -name '*.c' -delete || die
-
- # bzip2-sys requires a pkg-config file
- # https://github.com/alexcrichton/bzip2-rs/issues/104
- mkdir "${T}/pkg-config" || die
- export PKG_CONFIG_PATH=${T}/pkg-config${PKG_CONFIG_PATH+:${PKG_CONFIG_PATH}}
- cat >> "${T}/pkg-config/bzip2.pc" <<-EOF || die
- Name: bzip2
- Version: 9999
- Description:
- Libs: -lbz2
- EOF
-
- # uv is now forcing bundled liblzma, sigh
- sed -i -e '/xz/s:"static"::' Cargo.toml || die
+ find "${ECARGO_VENDOR}"/zstd-sys-*/ -name '*.c' -delete || die
}
src_configure() {
@@ -98,6 +84,8 @@ src_configure() {
)
cargo_src_configure --no-default-features
+ # otherwise, rustc/llvm runs out of address space
+ use arm && export RUSTFLAGS="${RUSTFLAGS} -Copt-level=0"
}
src_compile() {