commit:     dea58de4edad756dc92906b2ae7bc7aff46bd9a5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  3 16:47:29 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep  3 18:15:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea58de4

dev-util/pixi: Bump to 0.54.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/pixi/Manifest           |   2 +
 dev-util/pixi/pixi-0.54.1.ebuild | 141 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 143 insertions(+)

diff --git a/dev-util/pixi/Manifest b/dev-util/pixi/Manifest
index 46948857522e..82ddfe3529de 100644
--- a/dev-util/pixi/Manifest
+++ b/dev-util/pixi/Manifest
@@ -2,6 +2,8 @@ DIST pixi-0.53.0-crates.tar.xz 61389760 BLAKE2B 
6a750451bc9ea9f9f04489f34b0222a1
 DIST pixi-0.53.0.tar.gz 10111331 BLAKE2B 
c5af3fbabac9ede1840686424ded5434a03af991e67c77c1d6dd9c7331dfef39f42c1123c757560324f03a4ae063a3d2472e920b44c326ab45489f28ea2d12ca
 SHA512 
16fbd6181661b318542a43d4fcdb0cff4d8242a19c775d4a804b64ac1de02e611e2edcab9afb17374d40db694b23c5b0807e2bd3b0d8e71e8c0fe8cc0b33facf
 DIST pixi-0.54.0-crates.tar.xz 61285916 BLAKE2B 
d073ed902dac27bc4a2da1b37b8d86839a529b6c6fa92e9281f7d46663138b9dd95a1743bf592ce253e2df674d6d6ec9ad424071c3841684ae8f1a67c48125b7
 SHA512 
220b0f65e7ff2659bef44873ab2b0ceaf6eef82819aa058ef77a616ac6efe8741a94cbc3d51f6dd1d1e492703f7f6ef991e0ecd9603753a29fd74bd939d96ea4
 DIST pixi-0.54.0.tar.gz 10809741 BLAKE2B 
8d01f442b7b0048835f77598d54ec820d4efde4cce5785a3514f2ce763d4798282909663e378ab6a4dc28208dc01059170ae1dc2c1217cea634277e295db1a81
 SHA512 
c4e14d0907fe013ba3afbc036357ae241eeb5d34ec8eedc491305bb31ff1f4c19037039a9db01023e4bfa7aeb3dc9661aa604bb36aaacd19811dd7556d144202
+DIST pixi-0.54.1-crates.tar.xz 61385708 BLAKE2B 
71f3f0e89f35db26943628b88cfee1cfc415c69897c8cc4f27c32f8fcbb7c4427178e1f9ed65c4e10aedf67b3e8e005174dedcb3b4b0b863d8c8a2a0341bed82
 SHA512 
fad1174d6f577f01df9d58474e9670b4994966e57d09b3f2c33f972f319e23caf3620cfa7be07f243fd4e9da52b5e883b877f05713f5189c2dea701c2d784c73
+DIST pixi-0.54.1.tar.gz 10812620 BLAKE2B 
591d25b480ee0eefa032cf03c598aa3e73b41631182adac58f9d980641fd59f19b0c663934d32759764dd61bb60d7ffcb8d9437e67eb9bff876b25dfbf372078
 SHA512 
386ff84b702ce1969f612adeba1248cd8a2fb41be762570d5e79402a8c19ac18f031f7f61e3314fb8f3577d958308dc7e059c20213c790415f06c4d052679fd0
 DIST pubgrub-06ec5a5f59ffaeb6cf5079c6cb184467da06c9db.gh.tar.gz 99881 BLAKE2B 
5fcc2d1a06eb44351773081de4f616c93301eb2fe71b0c6f7b95779ec4bd9bb6cccc702a87a6399b0674711302a19de3a96fa31044660430fd74ff549000ad25
 SHA512 
3f0b18aecbc73fee91fc7de9f10d240ddc06c836fa2f116c1f007dd7818d099e6aea1852ca0b8d1a26ac19aac896535dba1a6298851a65515b553810c6245784
 DIST reqwest-middleware-ad8b9d332d1773fde8b4cd008486de5973e0a3f8.gh.tar.gz 
41975 BLAKE2B 
db42a68b8f0d592edc297462c19a34caa068464b9a5f307e8e1c1fdacde95cd08c5af0f73fa55ed62217dee63940a1d02a4322c5edb2c2c8a568a7e04efd80e6
 SHA512 
2dad83835c87cdd79e2a08c19b5024b3fdf30d1d8cd14e480e434612e856ecc20a5404881ff81d5793d3e9d5808ee3d59ce920312a86a100535009da43d7d46b
 DIST rs-async-zip-c909fda63fcafe4af496a07bfda28a5aae97e58d.gh.tar.gz 51763 
BLAKE2B 
59d053bc6692014d884a9247dea1b57a8789469ba2abbcc92ec21bb0022cbd74874afc463082156ab697aa6c80635019857a5d7e2dc150274e8b04d720518c36
 SHA512 
3a309566f4925b02496fcf19bc2865968edf6fb65082ca4079d2cee79e6b0353a1910c079f2afe656da0d0f6ddde5102052a221ea35a7dabc6d690a11218b20a

diff --git a/dev-util/pixi/pixi-0.54.1.ebuild b/dev-util/pixi/pixi-0.54.1.ebuild
new file mode 100644
index 000000000000..b1f26347c69c
--- /dev/null
+++ b/dev-util/pixi/pixi-0.54.1.ebuild
@@ -0,0 +1,141 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+"
+
+declare -A GIT_CRATES=(
+       
[async_zip]='https://github.com/astral-sh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%'
+       
[pubgrub]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%'
+       
[reqwest-middleware]='https://github.com/astral-sh/reqwest-middleware;ad8b9d332d1773fde8b4cd008486de5973e0a3f8;reqwest-middleware-%commit%/reqwest-middleware'
+       
[reqwest-retry]='https://github.com/astral-sh/reqwest-middleware;ad8b9d332d1773fde8b4cd008486de5973e0a3f8;reqwest-middleware-%commit%/reqwest-retry'
+       
[tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%'
+       
[uv-auth]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-auth'
+       
[uv-build-backend]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-build-backend'
+       
[uv-build-frontend]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-build-frontend'
+       
[uv-cache-info]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-cache-info'
+       
[uv-cache-key]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-cache-key'
+       
[uv-cache]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-cache'
+       
[uv-client]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-client'
+       
[uv-configuration]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-configuration'
+       
[uv-console]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-console'
+       
[uv-dirs]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-dirs'
+       
[uv-dispatch]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-dispatch'
+       
[uv-distribution-filename]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-distribution-filename'
+       
[uv-distribution-types]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-distribution-types'
+       
[uv-distribution]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-distribution'
+       
[uv-extract]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-extract'
+       
[uv-fs]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-fs'
+       
[uv-git-types]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-git-types'
+       
[uv-git]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-git'
+       
[uv-globfilter]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-globfilter'
+       
[uv-install-wheel]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-install-wheel'
+       
[uv-installer]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-installer'
+       
[uv-macros]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-macros'
+       
[uv-metadata]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-metadata'
+       
[uv-normalize]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-normalize'
+       
[uv-once-map]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-once-map'
+       
[uv-options-metadata]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-options-metadata'
+       
[uv-pep440]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-pep440'
+       
[uv-pep508]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-pep508'
+       
[uv-platform-tags]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-platform-tags'
+       
[uv-platform]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-platform'
+       
[uv-pypi-types]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-pypi-types'
+       
[uv-python]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-python'
+       
[uv-redacted]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-redacted'
+       
[uv-requirements-txt]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-requirements-txt'
+       
[uv-requirements]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-requirements'
+       
[uv-resolver]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-resolver'
+       
[uv-shell]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-shell'
+       
[uv-small-str]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-small-str'
+       
[uv-state]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-state'
+       
[uv-static]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-static'
+       
[uv-torch]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-torch'
+       
[uv-trampoline-builder]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-trampoline-builder'
+       
[uv-types]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-types'
+       
[uv-version]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-version'
+       
[uv-virtualenv]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-virtualenv'
+       
[uv-warnings]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-warnings'
+       
[uv-workspace]='https://github.com/astral-sh/uv;ce37286814dbb802c422f0926487cfab7aefd2b7;uv-%commit%/crates/uv-workspace'
+       
[version-ranges]='https://github.com/astral-sh/pubgrub;06ec5a5f59ffaeb6cf5079c6cb184467da06c9db;pubgrub-%commit%/version-ranges'
+)
+
+RUST_MIN_VER="1.86.0"
+
+inherit cargo
+
+CRATE_P=${P}
+DESCRIPTION="A package management and workflow tool"
+HOMEPAGE="
+       https://pixi.sh/
+       https://github.com/prefix-dev/pixi/
+"
+SRC_URI="
+       
https://github.com/prefix-dev/pixi/releases/download/v${PV}/source.tar.gz
+               -> ${P}.tar.gz
+       ${CARGO_CRATE_URIS}
+       
https://github.com/gentoo-crate-dist/pixi/releases/download/v${PV}/${P}-crates.tar.xz
+"
+
+LICENSE="BSD"
+# Dependent crate licenses
+LICENSE+="
+       0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD Boost-1.0
+       CDLA-Permissive-2.0 ISC MIT MPL-2.0 MPL-2.0 Unicode-3.0 ZLIB BZIP2
+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+rustls"
+
+RDEPEND="
+       app-arch/bzip2:=
+       app-arch/xz-utils:=
+       app-arch/zstd:=
+       !rustls? ( dev-libs/openssl:= )
+"
+
+src_prepare() {
+       default
+
+       # replace upstream crate substitution with our crate substitution, sigh
+       local pkg
+       for pkg in reqwest-middleware reqwest-retry version-ranges; do
+               local dep=$(grep "^${pkg}" "${ECARGO_HOME}"/config.toml || die)
+               sed -i -e "/\[patch\.crates-io\]/,\$s;^${pkg}.*$;${dep};" 
Cargo.toml || die
+       done
+
+}
+
+src_configure() {
+       local myfeatures=(
+               $(usex rustls rustls-tls native-tls)
+       )
+       cargo_src_configure --no-default-features
+
+       export ZSTD_SYS_USE_PKG_CONFIG=1
+
+       # 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
+}
+
+src_test() {
+       # tests use it to test preserving envvars, apparently assuming
+       # it will be always set
+       local -x USER=${USER}
+       cargo_src_test --no-fail-fast
+}
+
+src_install() {
+       cd crates/pixi || die
+       cargo_src_install
+}

Reply via email to