diff options
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/clazy/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/clazy/clazy-1.15.ebuild | 84 | ||||
| -rw-r--r-- | dev-util/clazy/files/clazy-1.15-fix-build-w-o-pch.patch | 25 | ||||
| -rw-r--r-- | dev-util/debugedit/debugedit-5.1-r3.ebuild | 2 | ||||
| -rw-r--r-- | dev-util/elf_diff/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/elf_diff/elf_diff-0.7.1.ebuild | 43 | ||||
| -rw-r--r-- | dev-util/elf_diff/files/elf_diff-0.7.1-test-runner-exit.patch | 12 | ||||
| -rw-r--r-- | dev-util/elf_diff/metadata.xml | 11 | ||||
| -rw-r--r-- | dev-util/pixi/Manifest | 8 | ||||
| -rw-r--r-- | dev-util/pixi/pixi-0.47.0.ebuild | 127 | ||||
| -rw-r--r-- | dev-util/pixi/pixi-0.48.2.ebuild (renamed from dev-util/pixi/pixi-0.48.0.ebuild) | 0 |
11 files changed, 180 insertions, 134 deletions
diff --git a/dev-util/clazy/Manifest b/dev-util/clazy/Manifest index 7c29a2245784..f6ddf622988d 100644 --- a/dev-util/clazy/Manifest +++ b/dev-util/clazy/Manifest @@ -1 +1,2 @@ DIST clazy-1.14.tar.xz 436764 BLAKE2B e4123df71591368017fec428095fa573aa74903861716dbe92386e948f7845453aac5fb8fe1fa2431ef42120363cf07935e155fdecbf3621b61e359a79c295ae SHA512 2732e22d56d3121de3639e24759cf47648fc3f5550cf232cbaf97c7efc92e0aacb01c8921326fb15beca3679907aa26a900147b2d3f318792c767e7237604e98 +DIST clazy-1.15.tar.xz 439636 BLAKE2B bf79ab2cc1651d08c09408f8d1ae571e72c9a633e792ca7a4df0712964abbc0eb21068e2e287f62605e6841d834c826749659b1aec572223d2a701307f51573b SHA512 9b3885dfa8889cf042a7d232a574ba27898eb81df0bd4863b2a97ef51b647bf95da068df842e5f66ae5ee5d14517db645cd100aa70f7bcd60cde3ebf65ec4ba0 diff --git a/dev-util/clazy/clazy-1.15.ebuild b/dev-util/clazy/clazy-1.15.ebuild new file mode 100644 index 000000000000..10ffb2b846bf --- /dev/null +++ b/dev-util/clazy/clazy-1.15.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {19..20} ) +PYTHON_COMPAT=( python3_{11..14} ) +inherit cmake llvm-r1 python-any-r1 + +DESCRIPTION="Compiler plugin which allows clang to understand Qt semantics" +HOMEPAGE="https://apps.kde.org/clazy" +SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(llvm_gen_dep 'llvm-core/clang:${LLVM_SLOT}') + $(llvm_gen_dep 'llvm-core/llvm:${LLVM_SLOT}') +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + ${PYTHON_DEPS} + dev-qt/qtbase:6[network,xml] + dev-qt/qtmultimedia:6 + dev-qt/qtnetworkauth:6 + dev-qt/qtscxml:6[qml] + dev-qt/qtsvg:6 + ) +" + +PATCHES=( + # downstream patches + "${FILESDIR}"/${PN}-1.12-LIBRARY_DIRS.patch + "${FILESDIR}"/${PN}-1.12-INCLUDE_DIRS.patch + "${FILESDIR}"/${PN}-1.12-standalone-install-location.patch + "${FILESDIR}"/${PN}-1.12-clazy-install-location.patch + "${FILESDIR}"/${P}-fix-build-w-o-pch.patch # fixed in 1.16 +) + +pkg_setup() { + use test && python-any-r1_pkg_setup + llvm-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + + sed -e '/install(FILES README.md COPYING-LGPL2.txt checks.json DESTINATION/d' \ + -i CMakeLists.txt || die +} + +src_configure() { + local -x LLVM_ROOT="$(get_llvm_prefix -d)" + + export CI_JOB_NAME_SLUG="qt6" + + cmake_src_configure +} + +src_test() { + # clazy-standalone wants to be installed in the directory of the clang binary, + # so it can find the llvm/clang via relative paths. + # Requires the standalone-install-location.patch. + # Setup the directories and symlink the system include dir for that. + local -x LLVM_ROOT="$(get_llvm_prefix -d)" + local -x CLANG_ROOT="${LLVM_ROOT//llvm/clang}" + mkdir -p "${BUILD_DIR}${CLANG_ROOT}" || die + + ln -s "${CLANG_ROOT}/include" "${BUILD_DIR}${CLANG_ROOT}/include" || die + + # Run tests against built copy, not installed + # bug #811723 + local -x PATH="${BUILD_DIR}/${LLVM_ROOT}/bin:${BUILD_DIR}/bin:${PATH}" + local -x LD_LIBRARY_PATH="${BUILD_DIR}/lib" + + chmod +x "${BUILD_DIR}/bin/clazy" || die + + cmake_src_test +} diff --git a/dev-util/clazy/files/clazy-1.15-fix-build-w-o-pch.patch b/dev-util/clazy/files/clazy-1.15-fix-build-w-o-pch.patch new file mode 100644 index 000000000000..609bbbed243e --- /dev/null +++ b/dev-util/clazy/files/clazy-1.15-fix-build-w-o-pch.patch @@ -0,0 +1,25 @@ +From cb6d241665a0ba7009129fcbdf877ac2246c2de8 Mon Sep 17 00:00:00 2001 +From: Luc Schrijvers <begasus@gmail.com> +Date: Mon, 16 Jun 2025 10:39:25 +0200 +Subject: [PATCH] Add missing header + +Fixes: error: 'Lexer' is not a member of 'clang' +--- + src/SuppressionManager.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/SuppressionManager.cpp b/src/SuppressionManager.cpp +index 112025ec..b94f1aa8 100644 +--- a/src/SuppressionManager.cpp ++++ b/src/SuppressionManager.cpp +@@ -11,6 +11,7 @@ + #include <clang/Basic/SourceLocation.h> + #include <clang/Basic/SourceManager.h> + #include <clang/Basic/TokenKinds.h> ++#include <clang/Lex/Lexer.h> + #include <clang/Lex/Token.h> + #include <llvm/Support/MemoryBuffer.h> + #include <llvm/Support/raw_ostream.h> +-- +GitLab + diff --git a/dev-util/debugedit/debugedit-5.1-r3.ebuild b/dev-util/debugedit/debugedit-5.1-r3.ebuild index 975c6e6f4ae0..3d5061f3cac1 100644 --- a/dev-util/debugedit/debugedit-5.1-r3.ebuild +++ b/dev-util/debugedit/debugedit-5.1-r3.ebuild @@ -14,7 +14,7 @@ SRC_URI=" LICENSE="GPL-2+ LGPL-2+" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" #KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" DEPEND=" diff --git a/dev-util/elf_diff/Manifest b/dev-util/elf_diff/Manifest new file mode 100644 index 000000000000..7a61d0ece587 --- /dev/null +++ b/dev-util/elf_diff/Manifest @@ -0,0 +1 @@ +DIST elf_diff-0.7.1.tar.gz 885542 BLAKE2B 1e601d81ba616847ae7b042ea40aea1ad150e673f4491f35a86e58047d6985dbee3ef6b5b9bc00a35d210432e8b0cc802ff3f4a86280acc62c90ec44b9815db4 SHA512 b1eef9954ceabf3a1936423131eacd71cf942a5d2f28419b3afac837b6b56cf81a9ff884f6e36495d0f61840aa9f5e68836960d29b0a7d7e00f4a0e938fcc141 diff --git a/dev-util/elf_diff/elf_diff-0.7.1.ebuild b/dev-util/elf_diff/elf_diff-0.7.1.ebuild new file mode 100644 index 000000000000..e725f0d7273f --- /dev/null +++ b/dev-util/elf_diff/elf_diff-0.7.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit distutils-r1 pypi + +DESCRIPTION="Tool to compare ELF binaries" +HOMEPAGE="https://github.com/noseglasses/elf_diff https://pypi.org/project/elf_diff" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +# Tests fail for now but probably gone unnoticed as its exit status was +# wrong on failure. +RESTRICT="!test? ( test ) test" + +RDEPEND=" + dev-python/anytree[${PYTHON_USEDEP}] + dev-python/dict2xml[${PYTHON_USEDEP}] + dev-python/gitpython[${PYTHON_USEDEP}] + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/progressbar2[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/weasyprint[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/deepdiff[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.7.1-test-runner-exit.patch +) + +python_test() { + "${EPYTHON}" tests/test_main.py -p || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-util/elf_diff/files/elf_diff-0.7.1-test-runner-exit.patch b/dev-util/elf_diff/files/elf_diff-0.7.1-test-runner-exit.patch new file mode 100644 index 000000000000..036b6ea46647 --- /dev/null +++ b/dev-util/elf_diff/files/elf_diff-0.7.1-test-runner-exit.patch @@ -0,0 +1,12 @@ +https://github.com/noseglasses/elf_diff/pull/123 + +Make the exit status of test_main.py reflect whether tests passed. +--- a/tests/test_main.py ++++ b/tests/test_main.py +@@ -48,4 +48,5 @@ if __name__ == "__main__": + tests = loader.loadTestsFromNames(test_modules) + + test_runner = unittest.runner.TextTestRunner() +- test_runner.run(tests) ++ result = test_runner.run(tests) ++ sys.exit(not result.wasSuccessful()) diff --git a/dev-util/elf_diff/metadata.xml b/dev-util/elf_diff/metadata.xml new file mode 100644 index 000000000000..ce6518e766bb --- /dev/null +++ b/dev-util/elf_diff/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sam@gentoo.org</email> + <name>Sam James</name> + </maintainer> + + <origin>gentoo-staging</origin> + <stabilize-allarches/> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-util/pixi/Manifest b/dev-util/pixi/Manifest index fb907482d329..efbbe6bb4c8e 100644 --- a/dev-util/pixi/Manifest +++ b/dev-util/pixi/Manifest @@ -1,12 +1,8 @@ -DIST pixi-0.47.0-crates.tar.xz 72680920 BLAKE2B 830631ed4c98c799139b6ed6d4198f234da693cceab846be2f8997058fabecf87b4e6b114309e2554c16d7ea20997e55e66e235b249681b635ed248a0bd68793 SHA512 2881da7cf753bf170786a0bdf35460759493c419aee993266e4f3e0c23c4a543eb2ae615f524e48ee799b14f39222d34d2840cb259ca61d3ff6dc195ffbd2622 -DIST pixi-0.47.0.tar.gz 8159978 BLAKE2B d13ab86fb8d18235651c63d8558b93e81117c5ea3fe7d399ddc8a25500e1ee55a9f547a2da1169dd8cea714342c9e54c5ee1547dcf876fd178294072073b9412 SHA512 7340c0f62fedbcf95da2e6d81ffba453688348a80acf13fcda30398346009b97065abc60335599ea88744abe433a8270106e44b68052c542b58c2f168123f44f -DIST pixi-0.48.0-crates.tar.xz 72999732 BLAKE2B c216537f4cba7feb2832c9542b096560efb05f03355abaed1d04f0443cf0d7b3c5384f6a43e51c6979c136975681b5e97f99addbfe7121ffc07bcfacddaf6760 SHA512 0a8c34bbd5803bce4c3e1a4c4ad8700839d381bf69ed0282a2837cab31b970bee64cbb0c6066645983a89067f2f5ca6db3750a57557ad181ba6455782932ba9f -DIST pixi-0.48.0.tar.gz 9411258 BLAKE2B 8ef5155fa82183061740e1dcaa6491c9da26147e0ce448d84935b3f44bf33c6d65e89eefe94b2069745ca6e2b5c5d61ffa9d374a0b1341c0130d696d5bee2fe3 SHA512 7dbe18febfcc06631c33001243d68e1efd1a8a278aecabf212b3ad4d81567ec5a9e4db318023e3678d50f3903c0793e9393ed90a0aabdffd0b1ae84425c18065 DIST pixi-0.48.1-crates.tar.xz 72999732 BLAKE2B c216537f4cba7feb2832c9542b096560efb05f03355abaed1d04f0443cf0d7b3c5384f6a43e51c6979c136975681b5e97f99addbfe7121ffc07bcfacddaf6760 SHA512 0a8c34bbd5803bce4c3e1a4c4ad8700839d381bf69ed0282a2837cab31b970bee64cbb0c6066645983a89067f2f5ca6db3750a57557ad181ba6455782932ba9f DIST pixi-0.48.1.tar.gz 9390187 BLAKE2B 7e56529d378ee51f861c46a0ff17c329cc712cd84a45bc921a27e04cc366c72b7649f8e624bf58c9ac479f006422a8c7011bc2be7d916b48878ff8ebfc465062 SHA512 08140be777b4cfd9658f51933b44622671956f06520cb8f30cbd9c69a756a426cc26d5675bfc9ad9fc9e116c525a6618d424b107e19b0cb18d5ab0938d2de8e0 +DIST pixi-0.48.2-crates.tar.xz 72999732 BLAKE2B c216537f4cba7feb2832c9542b096560efb05f03355abaed1d04f0443cf0d7b3c5384f6a43e51c6979c136975681b5e97f99addbfe7121ffc07bcfacddaf6760 SHA512 0a8c34bbd5803bce4c3e1a4c4ad8700839d381bf69ed0282a2837cab31b970bee64cbb0c6066645983a89067f2f5ca6db3750a57557ad181ba6455782932ba9f +DIST pixi-0.48.2.tar.gz 9399422 BLAKE2B f2e112bdb6582d1d3b658d32663628d20848b93965ad2ef7242ef869254fdb70d8dd61ac6dc7ba95d7837671e8d7c2537f13f3df5d4b3e98c566f18ed3fec9fe SHA512 e9e0faa2c1fa6f783027d8c27eeaef8919e8089ffc3e474d4d3e2d972d017a91092f29af22db810ab57fece28f1081b1e2ef4c63a3f4d57f8b0d61bdeabfef4f DIST pubgrub-06ec5a5f59ffaeb6cf5079c6cb184467da06c9db.gh.tar.gz 99881 BLAKE2B 5fcc2d1a06eb44351773081de4f616c93301eb2fe71b0c6f7b95779ec4bd9bb6cccc702a87a6399b0674711302a19de3a96fa31044660430fd74ff549000ad25 SHA512 3f0b18aecbc73fee91fc7de9f10d240ddc06c836fa2f116c1f007dd7818d099e6aea1852ca0b8d1a26ac19aac896535dba1a6298851a65515b553810c6245784 -DIST pubgrub-b70cf707aa43f21b32f3a61b8a0889b15032d5c4.gh.tar.gz 98983 BLAKE2B 08ad8a10a96ba7da3100f7658f38cb8d6fb0e1eca92ba0aaf1393778012db807084f047eec171f0a46836a6746367369e79ab95836d5cdf215211e321d2800ac SHA512 401ea5ca16e978d5407a1400e4e27cec9fcac11332067ee1ed8a3bc511901e08fc421ce875ebbb0990593ed549a4a5f4620914a71ae3490c7b8ae0f7b26b5937 DIST rs-async-zip-c909fda63fcafe4af496a07bfda28a5aae97e58d.gh.tar.gz 51763 BLAKE2B 59d053bc6692014d884a9247dea1b57a8789469ba2abbcc92ec21bb0022cbd74874afc463082156ab697aa6c80635019857a5d7e2dc150274e8b04d720518c36 SHA512 3a309566f4925b02496fcf19bc2865968edf6fb65082ca4079d2cee79e6b0353a1910c079f2afe656da0d0f6ddde5102052a221ea35a7dabc6d690a11218b20a DIST tl-6e25b2ee2513d75385101a8ff9f591ef51f314ec.gh.tar.gz 37106 BLAKE2B c30d1c33f6f52e2bc83823eb6319f8a3e462b7c7408fb6a08f995747857ef234f81db4135a04f9d183095fe473a4087f8f0cb89d8f87ef4400285d2ce034ec22 SHA512 4abbc4240ed129c92da8d616e27a6df0f24cdc85a0803acfdae588ca91f9e5b8d482e3ac88b2e657ff68917b1b43cef1e7ef3c887f624659b231fa5a13fcae68 DIST uv-0ddcc190556d9d20686bd81f17a364cf907e8f68.gh.tar.gz 3996009 BLAKE2B 9ef58854d20c93e3dd9cc6b96742cb97a49fb9c395b64a114e87a2fbf2972d5e3577dc6a084b8cd630ae3ad7d84fc82f1957306d8a725fd85d3c7fc196b9ab8c SHA512 a5424ea95c8f38c88965ad6d633d65fa97fee7739fad9ab0aefc3b623641273895d7ae6449841fe69cbbaf4f809a108c6944dfdc8a435963822f55fa83819ac2 -DIST uv-3d946027841ac949b9ecfd5ceaeec721836ee555.gh.tar.gz 3809296 BLAKE2B 48d163f5aa19dba2043f3d0a94f952e7266cabc37197253d91cb69286abd121ab588edfc312f2560a15444a59cc9b14cf8ebb4b8fdffe9935579d9152bf75cd5 SHA512 640ad76d4db5bf2f3db21a37d7cf9465ceae7282855f305d1df3c215a261f4cabc25b2297471a82bbe0cb29d088bfa56b850279daa0ed1288b843af5428fd28f diff --git a/dev-util/pixi/pixi-0.47.0.ebuild b/dev-util/pixi/pixi-0.47.0.ebuild deleted file mode 100644 index 616b22c9562b..000000000000 --- a/dev-util/pixi/pixi-0.47.0.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# 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/charliermarsh/rs-async-zip;c909fda63fcafe4af496a07bfda28a5aae97e58d;rs-async-zip-%commit%' - [pubgrub]='https://github.com/astral-sh/pubgrub;b70cf707aa43f21b32f3a61b8a0889b15032d5c4;pubgrub-%commit%' - [tl]='https://github.com/astral-sh/tl;6e25b2ee2513d75385101a8ff9f591ef51f314ec;tl-%commit%' - [uv-auth]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-auth' - [uv-build-backend]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-build-backend' - [uv-build-frontend]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-build-frontend' - [uv-cache-info]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-cache-info' - [uv-cache-key]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-cache-key' - [uv-cache]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-cache' - [uv-client]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-client' - [uv-configuration]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-configuration' - [uv-console]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-console' - [uv-dirs]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-dirs' - [uv-dispatch]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-dispatch' - [uv-distribution-filename]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-distribution-filename' - [uv-distribution-types]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-distribution-types' - [uv-distribution]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-distribution' - [uv-extract]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-extract' - [uv-fs]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-fs' - [uv-git-types]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-git-types' - [uv-git]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-git' - [uv-globfilter]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-globfilter' - [uv-install-wheel]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-install-wheel' - [uv-installer]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-installer' - [uv-macros]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-macros' - [uv-metadata]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-metadata' - [uv-normalize]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-normalize' - [uv-once-map]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-once-map' - [uv-options-metadata]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-options-metadata' - [uv-pep440]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-pep440' - [uv-pep508]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-pep508' - [uv-platform-tags]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-platform-tags' - [uv-pypi-types]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-pypi-types' - [uv-python]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-python' - [uv-requirements-txt]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-requirements-txt' - [uv-requirements]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-requirements' - [uv-resolver]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-resolver' - [uv-shell]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-shell' - [uv-small-str]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-small-str' - [uv-state]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-state' - [uv-static]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-static' - [uv-torch]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-torch' - [uv-trampoline-builder]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-trampoline-builder' - [uv-types]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-types' - [uv-version]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-version' - [uv-virtualenv]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-virtualenv' - [uv-warnings]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-warnings' - [uv-workspace]='https://github.com/astral-sh/uv;3d946027841ac949b9ecfd5ceaeec721836ee555;uv-%commit%/crates/uv-workspace' - [version-ranges]='https://github.com/astral-sh/pubgrub;b70cf707aa43f21b32f3a61b8a0889b15032d5c4;pubgrub-%commit%/version-ranges' -) - -RUST_MIN_VER="1.85.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 - ISC MIT MPL-2.0 MPL-2.0 Unicode-3.0 ZLIB -" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+rustls" - -RDEPEND=" - app-arch/bzip2:= - app-arch/xz-utils:= - app-arch/zstd:= - !rustls? ( dev-libs/openssl:= ) -" - -src_prepare() { - default - - local vr_dep=$(grep version-ranges "${ECARGO_HOME}"/config.toml || die) - sed -i -e "/version-ranges/s;^.*$;${vr_dep};" Cargo.toml || die -} - -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 -} diff --git a/dev-util/pixi/pixi-0.48.0.ebuild b/dev-util/pixi/pixi-0.48.2.ebuild index b74d895cbf7d..b74d895cbf7d 100644 --- a/dev-util/pixi/pixi-0.48.0.ebuild +++ b/dev-util/pixi/pixi-0.48.2.ebuild |
