From aa4954f71a3ba2293395a8cce2321a70c39c7554 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 24 May 2024 00:07:11 +0100 Subject: gentoo auto-resync : 24:05:2024 - 00:07:11 --- dev-util/Manifest.gz | Bin 65630 -> 65639 bytes dev-util/clinfo/Manifest | 4 +- dev-util/clinfo/clinfo-3.0.23.01.25.ebuild | 4 +- dev-util/clinfo/clinfo-9999.ebuild | 4 +- dev-util/conan/Manifest | 2 + dev-util/conan/conan-2.3.1.ebuild | 44 ++ dev-util/idea-community/Manifest | 6 +- .../idea-community-2024.1.1-r1.ebuild | 136 ------- .../idea-community/idea-community-2024.1.2.ebuild | 136 +++++++ dev-util/kdevelop-php/Manifest | 4 +- dev-util/kdevelop-php/kdevelop-php-24.04.90.ebuild | 53 --- dev-util/kdevelop-php/kdevelop-php-24.05.0.ebuild | 53 +++ dev-util/kdevelop-python/Manifest | 4 +- .../kdevelop-python-24.04.90.ebuild | 51 --- .../kdevelop-python/kdevelop-python-24.05.0.ebuild | 51 +++ dev-util/kdevelop/Manifest | 4 +- dev-util/kdevelop/kdevelop-24.04.90.ebuild | 129 ------ dev-util/kdevelop/kdevelop-24.05.0.ebuild | 129 ++++++ dev-util/kio-perldoc/Manifest | 4 +- dev-util/kio-perldoc/kio-perldoc-24.04.90.ebuild | 23 -- dev-util/kio-perldoc/kio-perldoc-24.05.0.ebuild | 23 ++ dev-util/librnp/Manifest | 1 + dev-util/librnp/librnp-0.17.1-r1.ebuild | 85 ++++ dev-util/opencl-headers/Manifest | 2 +- .../opencl-headers-2023.12.14.ebuild | 2 +- dev-util/rt-tests/Manifest | 6 +- dev-util/rt-tests/files/rt-tests-2.6-musl.patch | 342 ---------------- dev-util/rt-tests/files/rt-tests-2.7-musl.patch | 342 ++++++++++++++++ dev-util/rt-tests/rt-tests-2.6.ebuild | 38 -- dev-util/rt-tests/rt-tests-2.7.ebuild | 38 ++ dev-util/ruff/Manifest | 28 +- dev-util/ruff/metadata.xml | 2 +- dev-util/ruff/ruff-0.4.4.ebuild | 447 -------------------- dev-util/ruff/ruff-0.4.5.ebuild | 450 +++++++++++++++++++++ 34 files changed, 1391 insertions(+), 1256 deletions(-) create mode 100644 dev-util/conan/conan-2.3.1.ebuild delete mode 100644 dev-util/idea-community/idea-community-2024.1.1-r1.ebuild create mode 100644 dev-util/idea-community/idea-community-2024.1.2.ebuild delete mode 100644 dev-util/kdevelop-php/kdevelop-php-24.04.90.ebuild create mode 100644 dev-util/kdevelop-php/kdevelop-php-24.05.0.ebuild delete mode 100644 dev-util/kdevelop-python/kdevelop-python-24.04.90.ebuild create mode 100644 dev-util/kdevelop-python/kdevelop-python-24.05.0.ebuild delete mode 100644 dev-util/kdevelop/kdevelop-24.04.90.ebuild create mode 100644 dev-util/kdevelop/kdevelop-24.05.0.ebuild delete mode 100644 dev-util/kio-perldoc/kio-perldoc-24.04.90.ebuild create mode 100644 dev-util/kio-perldoc/kio-perldoc-24.05.0.ebuild create mode 100644 dev-util/librnp/librnp-0.17.1-r1.ebuild delete mode 100644 dev-util/rt-tests/files/rt-tests-2.6-musl.patch create mode 100644 dev-util/rt-tests/files/rt-tests-2.7-musl.patch delete mode 100644 dev-util/rt-tests/rt-tests-2.6.ebuild create mode 100644 dev-util/rt-tests/rt-tests-2.7.ebuild delete mode 100644 dev-util/ruff/ruff-0.4.4.ebuild create mode 100644 dev-util/ruff/ruff-0.4.5.ebuild (limited to 'dev-util') diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz index d9762b1fb6ad..3d1ed431d8fa 100644 Binary files a/dev-util/Manifest.gz and b/dev-util/Manifest.gz differ diff --git a/dev-util/clinfo/Manifest b/dev-util/clinfo/Manifest index fa33cf60ba95..8f82d89ed830 100644 --- a/dev-util/clinfo/Manifest +++ b/dev-util/clinfo/Manifest @@ -1,4 +1,4 @@ DIST clinfo-3.0.23.01.25.tar.gz 58325 BLAKE2B 20c6379c9fd22edd0d8938baa52fcec54f2d70687bd0ef21d153f4c29d54cf024be35f650f44c02b0a6cd340aa6aeeda93a198f51ec59847227b6de83adf7ad1 SHA512 c8e0f33a304a64f1fb4b4ffecb2a62bc10fb5e9777cc8d0cd44bf551e5c94141f04d4cafd28fe6e796bc365e356027297fc9c91359b23b152b1c98d9a128515c -EBUILD clinfo-3.0.23.01.25.ebuild 630 BLAKE2B 1dd48f36c60128ad287d76f35b75cb80f390b1df1e445179ecf92e7a1087e2e471d457d855f762074e2c1b1f3e89183a405a7b623f2c917afa1415c62acefb9b SHA512 39949578d7da8b89064b41e26fdf1f2f225320d03419ba501caefb18a3a9a3638e68bc406061cc86d30de15598466bf1354aba9ed358223160c85817b6c8d24f -EBUILD clinfo-9999.ebuild 616 BLAKE2B cc1a02fa653b972c99b06958335100b82b53a83924e2c4b12e5633fed8ff88f4c7ac3a5a4a21cd3df5af3a555cf827306be9fcd1fa0a693b2e8f7abcaecabbcd SHA512 9de95b700b7050f4f49bb7411e8b906076e3022e7bcff2801996134b17a60251a91b0e80c0e8712e834e197b4a692791e7fa29a565af1f8912a7ca968e59c92d +EBUILD clinfo-3.0.23.01.25.ebuild 637 BLAKE2B 4d1d4ef2a02ebc6db750855acd6414056cc80015a6c4db743b453680feba7a130ec3da3ec125bd14e0e83f7e6d2e01dd61483108575ba1e895c5ede7dee66478 SHA512 b6281f05b89cdcba25b47879df2a919f00b0898f897e42d2c7a962be09f9932c8aff0c10cb8cbeff6c9405b7da0261bed744600a0e836993f99755cb3d856ea2 +EBUILD clinfo-9999.ebuild 637 BLAKE2B 7dac82477e7a4c9e53a27c17bbc14f6ccf61352bbd0a52703972c2f48050319619d2d75fe7e0cebc0ec89d9e99f904c9b91d484fee2994f23c70e3ca1dcc8844 SHA512 5b946dfb9bb7fb65da01e91f992b172458ee4ff7cc7476e967a7efeb108813eeaffd9b19d8fcb47b82fd49cd1aa378066e85c91831c33a62a7765c99c7be8626 MISC metadata.xml 328 BLAKE2B 21eff79ce1cc3c5088a2ad5d13d88fac9554f3f8d111651cd047682c66758d07469a63283d138b39e77c7dbc69cd5de70eed3be2816fbf8c51a7627741a5030d SHA512 c720305e388992ea76eb6b5924e997f84449a76a6c8d99ac73fc19a1fddb0970de2ec6596aafc7aad560122fe1cc26ed6dacf364fe6475984d01f30c8be4c2c0 diff --git a/dev-util/clinfo/clinfo-3.0.23.01.25.ebuild b/dev-util/clinfo/clinfo-3.0.23.01.25.ebuild index b072f4d7586e..dbe84ad3966e 100644 --- a/dev-util/clinfo/clinfo-3.0.23.01.25.ebuild +++ b/dev-util/clinfo/clinfo-3.0.23.01.25.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ if [[ ${PV} == "9999" ]] ; then SRC_URI="" else SRC_URI="https://github.com/Oblomov/clinfo/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc64 ~riscv" + KEYWORDS="~amd64 ~loong ~ppc64 ~riscv" fi DESCRIPTION="A tool to display info about the system's OpenCL capabilities" diff --git a/dev-util/clinfo/clinfo-9999.ebuild b/dev-util/clinfo/clinfo-9999.ebuild index f4a2249026a2..220859c0765e 100644 --- a/dev-util/clinfo/clinfo-9999.ebuild +++ b/dev-util/clinfo/clinfo-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ if [[ ${PV} == "9999" ]] ; then SRC_URI="" else SRC_URI="https://github.com/Oblomov/clinfo/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~loong ~ppc64 ~riscv" fi DESCRIPTION="A tool to display info about the system's OpenCL capabilities" diff --git a/dev-util/conan/Manifest b/dev-util/conan/Manifest index de328ac54576..e2bc3e682493 100644 --- a/dev-util/conan/Manifest +++ b/dev-util/conan/Manifest @@ -1,3 +1,5 @@ DIST conan-2.0.16.gh.tar.gz 1000880 BLAKE2B 0ebc7df66e97a8f29ade9d1ffbde5b0f6ed4ac5dd98bab29e9a88d1ae9c864237a396b5c0588f3efb1186f6f22fa1fd0205215b3459fb87fa012febc49ad786a SHA512 bb8d5c1b2df085bc2e1645dd8b14be167b7ed01a47485bbe39994a150ca905de6a194927cb3cecd81d4d7bab613d13ca3779d9aabddf1a2df731bd62ec5bbe39 +DIST conan-2.3.1.gh.tar.gz 1078426 BLAKE2B a3a92342a2cfabc9dd4c22d1665d092dd2a33be8fdd4c3e7243557b845fda8910d713bc34b59d1e4c2b2ead957ef0ff8ad0d23fa80804c9d842b5f9c944323c1 SHA512 405d9979bc79b684509aa756c2aa50decd1b9194e5c7b847b6a9755daed9941c7b9615cf518aedf920eeea0de6dfc194e36b90c2919060a3f276f53692a3fe5c EBUILD conan-2.0.16.ebuild 1607 BLAKE2B f48a0c2670d21944a56e7b0027fb58cdb52a0fb278cb2ba73f328bfc4290d72968cbae2baaa38dc9d782dfd499694894fe97e181b7da5f387cbeda51782464c2 SHA512 3cc9a804afb6ef2f4666d781b2f8fc983dbce1219fec4b97f0be408e27894954caa78373c3fc86c5e5c1405fca76df7b0c16285b2b840dae8cb927c07564516e +EBUILD conan-2.3.1.ebuild 1279 BLAKE2B 3d9760ef60261ee50e5ca4a7f7a05b95d47a43f609ac8c72080c523eb1a17dfca7845412fec409dd5a63fe9ab810a663c4742d97f40ff739979aab601dc817ee SHA512 0a880e35e07b38d04dba7c2f5a943703c58213cbd8be58207ebb6fe6a27d41685fac17f258e5e8ba92a1077439f8b129d4e08dec1ce3ca2b0c3fa0f84769648f MISC metadata.xml 770 BLAKE2B a6449d035d354804266fda862537f1005e4fff043bc5e8d28245392d7c7281e87cffb68029a5f8c941c2757f7343897eeeb8121376ec4b752d0451ca540c7ad8 SHA512 9666ab3361098a48ada5370ab5d897e9b1fabbea50d5eb141895ae8c7ef537317f087735f0924482b1248d3c6558dcd33cc65f4c085b029541f4d5c6144a8be8 diff --git a/dev-util/conan/conan-2.3.1.ebuild b/dev-util/conan/conan-2.3.1.ebuild new file mode 100644 index 000000000000..5562b25af23a --- /dev/null +++ b/dev-util/conan/conan-2.3.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Distributed C/C++ package manager" +HOMEPAGE="https://conan.io/" +SRC_URI="https://github.com/conan-io/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + >=dev-python/requests-2.25[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.6[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] + >=dev-python/patch-ng-1.17.4[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.15.0[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/distro-1.4.0[${PYTHON_USEDEP}] +" + +# Try to fix it if you're brave enough +# Conan requires noumerous external toolchain dependencies with restricted +# versions and cannot be managable outside of a pure CI environment. +RESTRICT="test" + +src_prepare() { + default + # Fix strict dependencies + sed -i \ + -e 's:,[[:space:]]\?<=\?[[:space:]]\?[[:digit:]|.]*::g' \ + -e 's:==:>=:g' \ + conans/requirements{,_server}.txt || die +} diff --git a/dev-util/idea-community/Manifest b/dev-util/idea-community/Manifest index 784954ed6874..c8c009428f47 100644 --- a/dev-util/idea-community/Manifest +++ b/dev-util/idea-community/Manifest @@ -1,4 +1,4 @@ -DIST idea-community-2024.1.1-aarch64.tar.gz 818376053 BLAKE2B 193d5a735a93840e0857905ee1fb233bbaf3a0eac0c90fc3ef8f370eaa97a0ef7c1f247d73d8455f97d7e578f692ae990f1155a626f8c0372a536bd726bf552d SHA512 5a73b8fadcde4abd75cb50c1a61b3d53fb6fff38a9fc338f8b9dd9f78911e1182f58c0788e935a30e8937232bdcfb8d60894d9baf2f408cc57c4b229c5c8b76d -DIST idea-community-2024.1.1-amd64.tar.gz 818675061 BLAKE2B cfe995c8f2de6493291d1b47ba5402c07409a0de7f51f73eae1423cf2b87a43191b0e69914ec77d50ae9237bd4ed702118531af169d2b80f9e3ead2449f1a5d3 SHA512 7cec47a883fd084ca91d9dce0e0f9685a9606c503b64f2e6d6932f33af7cb337c1925d884324e867a56cf8164f74916b5b532bef4f828d89f633df0fa8ba3e78 -EBUILD idea-community-2024.1.1-r1.ebuild 3816 BLAKE2B 44f3c87e5f6375bef4b62f0f21892b300479daf7b98833abd23d1fc6c9f3a71701c0f3aefb4006ed82504b02838eaf53da505d03687d3d9b3ab7d1b5268b2709 SHA512 e400296c683f9ce072afba8d1e405affb281c474e589aad8e2839752f523cd937760fe3f156d1ee0ef1edcbef24b714012d5be0910a0ca2bd7bad48e97dec7de +DIST idea-community-2024.1.2-aarch64.tar.gz 818853263 BLAKE2B f163233e351a35d4cb9863553462050a3d85d77566b7e7837f3f67648e8071ad1a2d8cc3ef4406210624c91cd016da434ef1a2c11d671c97e89f487347f57919 SHA512 4f45e2dac8917120ca1d3b4c1349d5dc2380de890e5b5f3e0f330a2863110ac71b33218b853fd56b3a9e3a304cb8ac96c95ff5798beeb97af9081e56e9e8a115 +DIST idea-community-2024.1.2-amd64.tar.gz 819182024 BLAKE2B 1483b55f3977f9e7727a5b9b156b66c53b3f20c61b7cb71107384ebb820b71118027e9eb9395f39abd24536157dd1dfd0350ead9a99214d87ee483e50cd4f199 SHA512 881f18dc080d0cd13515dcf2deee57e5b9c46b4fe2580bd5f5f353bba9cf6458477ae9284b8f003b44d8527e5530335d894671777cd3c5d7ee822fdb79d46ad9 +EBUILD idea-community-2024.1.2.ebuild 3816 BLAKE2B 44f3c87e5f6375bef4b62f0f21892b300479daf7b98833abd23d1fc6c9f3a71701c0f3aefb4006ed82504b02838eaf53da505d03687d3d9b3ab7d1b5268b2709 SHA512 e400296c683f9ce072afba8d1e405affb281c474e589aad8e2839752f523cd937760fe3f156d1ee0ef1edcbef24b714012d5be0910a0ca2bd7bad48e97dec7de MISC metadata.xml 454 BLAKE2B 297cfd8c543bf216cd45b66b5284f310659422e91f12af3d0bbe2ff689d94c96988d4c125c75a95526135b2c0f54a004ee43e1c1c4dfe4d1d68e86af5f75ab0d SHA512 5ca382bcbc51ea5400cbaeb067bccfcb4a245e208a2769d800cbd80fc7151310f895d410e5828c9a32223ab93345716ba4a2ebce521092631a4b7c0858519ef2 diff --git a/dev-util/idea-community/idea-community-2024.1.1-r1.ebuild b/dev-util/idea-community/idea-community-2024.1.1-r1.ebuild deleted file mode 100644 index ca53839b9825..000000000000 --- a/dev-util/idea-community/idea-community-2024.1.1-r1.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit desktop wrapper - -MY_PV=$(ver_cut 1-3) - -DESCRIPTION="A complete toolset for web, mobile and enterprise development" -HOMEPAGE="https://www.jetbrains.com/idea" - -SRC_URI=" - amd64? ( https://download.jetbrains.com/idea/ideaIC-${MY_PV}.tar.gz -> ${P}-amd64.tar.gz ) - arm64? ( https://download.jetbrains.com/idea/ideaIC-${MY_PV}-aarch64.tar.gz -> ${P}-aarch64.tar.gz ) - " - -S="${WORKDIR}/idea-IC-${PV}" -LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CDDL-1.1 - codehaus-classworlds CPL-1.0 EPL-1.0 EPL-2.0 - GPL-2 GPL-2-with-classpath-exception ISC - JDOM LGPL-2.1 LGPL-2.1+ LGPL-3-with-linking-exception MIT - MPL-1.0 MPL-1.1 OFL-1.1 ZLIB" - -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -DEPEND=" - || ( - >=dev-java/openjdk-17.0.8.1_p1:17 - >=dev-java/openjdk-bin-17.0.8.1_p1:17 - )" - -RDEPEND="${DEPEND} - sys-libs/glibc - media-libs/harfbuzz - dev-java/jansi-native - dev-libs/libdbusmenu" - -BDEPEND="dev-util/patchelf" -RESTRICT="splitdebug" - -QA_PREBUILT="opt/${PN}/*" - -src_unpack() { - - default_src_unpack - if [ ! -d "$S" ]; then - einfo "Renaming source directory to predictable name..." - mv $(ls "${WORKDIR}") "idea-IC-${PV}" || die - fi -} - -src_prepare() { - - default_src_prepare - - if use amd64; then - JRE_DIR=jre64 - rm -vf "${S}"/plugins/cwm-plugin/quiche-native/linux-aarch64/libquiche.so - else - JRE_DIR=jre - rm -vf "${S}"/plugins/cwm-plugin/quiche-native/linux-x86-64/libquiche.so - fi - - PLUGIN_DIR="${S}/${JRE_DIR}/lib/" - - # rm LLDBFrontEnd after licensing questions with Gentoo License Team - rm -vf "${S}"/plugins/Kotlin/bin/linux/LLDBFrontend - rm -vf ${PLUGIN_DIR}/libavplugin* - rm -vf "${S}"/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi* - rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le - rm -vf "${S}"/bin/libdbm64* - rm -vf "${S}"/lib/pty4j-native/linux/mips64el/libpty.so - - if [[ -d "${S}"/"${JRE_DIR}" ]]; then - for file in "${PLUGIN_DIR}"/{libfxplugins.so,libjfxmedia.so} - do - if [[ -f "$file" ]]; then - patchelf --set-rpath '$ORIGIN' $file || die - fi - done - fi - - rm -vf "${S}"/lib/pty4j-native/linux/x86-64/libpty.so - - sed -i \ - -e "\$a\\\\" \ - -e "\$a#-----------------------------------------------------------------------" \ - -e "\$a# Disable automatic updates as these are handled through Gentoo's" \ - -e "\$a# package manager. See bug #704494" \ - -e "\$a#-----------------------------------------------------------------------" \ - -e "\$aide.no.platform.update=Gentoo" bin/idea.properties - - eapply_user -} - -src_install() { - local dir="/opt/${PN}" - local dst="${D}${dir}" - - insinto "${dir}" - doins -r * - fperms 755 "${dir}"/bin/{format.sh,idea.sh,inspect.sh,restarter,fsnotifier} - if use amd64; then - JRE_DIR=jre64 - else - JRE_DIR=jre - fi - - JRE_BINARIES="jaotc java javapackager jjs jrunscript keytool pack200 rmid rmiregistry unpack200" - if [[ -d ${JRE_DIR} ]]; then - for jrebin in $JRE_BINARIES; do - fperms 755 "${dir}"/"${JRE_DIR}"/bin/"${jrebin}" - done - fi - - # bundled script is always lowercase, and doesn't have -ultimate, -professional suffix. - local bundled_script_name="${PN%-*}.sh" - make_wrapper "${PN}" "${dir}/bin/$bundled_script_name" || die - - local pngfile="$(find ${dst}/bin -maxdepth 1 -iname '*.png')" - newicon $pngfile "${PN}.png" || die "we died" - - make_desktop_entry "${PN}" "IntelliJ Idea Community Edition" "${PN}" "Development;IDE;" - - # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit - mkdir -p "${D}/etc/sysctl.d/" || die - echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die - - # remove bundled harfbuzz - rm -f "${D}"/lib/libharfbuzz.so || die "Unable to remove bundled harfbuzz" - - # remove bundled java - rm -r ${dst}/jbr || die "Unable to remove bundled java" - -} diff --git a/dev-util/idea-community/idea-community-2024.1.2.ebuild b/dev-util/idea-community/idea-community-2024.1.2.ebuild new file mode 100644 index 000000000000..ca53839b9825 --- /dev/null +++ b/dev-util/idea-community/idea-community-2024.1.2.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit desktop wrapper + +MY_PV=$(ver_cut 1-3) + +DESCRIPTION="A complete toolset for web, mobile and enterprise development" +HOMEPAGE="https://www.jetbrains.com/idea" + +SRC_URI=" + amd64? ( https://download.jetbrains.com/idea/ideaIC-${MY_PV}.tar.gz -> ${P}-amd64.tar.gz ) + arm64? ( https://download.jetbrains.com/idea/ideaIC-${MY_PV}-aarch64.tar.gz -> ${P}-aarch64.tar.gz ) + " + +S="${WORKDIR}/idea-IC-${PV}" +LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CDDL-1.1 + codehaus-classworlds CPL-1.0 EPL-1.0 EPL-2.0 + GPL-2 GPL-2-with-classpath-exception ISC + JDOM LGPL-2.1 LGPL-2.1+ LGPL-3-with-linking-exception MIT + MPL-1.0 MPL-1.1 OFL-1.1 ZLIB" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +DEPEND=" + || ( + >=dev-java/openjdk-17.0.8.1_p1:17 + >=dev-java/openjdk-bin-17.0.8.1_p1:17 + )" + +RDEPEND="${DEPEND} + sys-libs/glibc + media-libs/harfbuzz + dev-java/jansi-native + dev-libs/libdbusmenu" + +BDEPEND="dev-util/patchelf" +RESTRICT="splitdebug" + +QA_PREBUILT="opt/${PN}/*" + +src_unpack() { + + default_src_unpack + if [ ! -d "$S" ]; then + einfo "Renaming source directory to predictable name..." + mv $(ls "${WORKDIR}") "idea-IC-${PV}" || die + fi +} + +src_prepare() { + + default_src_prepare + + if use amd64; then + JRE_DIR=jre64 + rm -vf "${S}"/plugins/cwm-plugin/quiche-native/linux-aarch64/libquiche.so + else + JRE_DIR=jre + rm -vf "${S}"/plugins/cwm-plugin/quiche-native/linux-x86-64/libquiche.so + fi + + PLUGIN_DIR="${S}/${JRE_DIR}/lib/" + + # rm LLDBFrontEnd after licensing questions with Gentoo License Team + rm -vf "${S}"/plugins/Kotlin/bin/linux/LLDBFrontend + rm -vf ${PLUGIN_DIR}/libavplugin* + rm -vf "${S}"/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi* + rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le + rm -vf "${S}"/bin/libdbm64* + rm -vf "${S}"/lib/pty4j-native/linux/mips64el/libpty.so + + if [[ -d "${S}"/"${JRE_DIR}" ]]; then + for file in "${PLUGIN_DIR}"/{libfxplugins.so,libjfxmedia.so} + do + if [[ -f "$file" ]]; then + patchelf --set-rpath '$ORIGIN' $file || die + fi + done + fi + + rm -vf "${S}"/lib/pty4j-native/linux/x86-64/libpty.so + + sed -i \ + -e "\$a\\\\" \ + -e "\$a#-----------------------------------------------------------------------" \ + -e "\$a# Disable automatic updates as these are handled through Gentoo's" \ + -e "\$a# package manager. See bug #704494" \ + -e "\$a#-----------------------------------------------------------------------" \ + -e "\$aide.no.platform.update=Gentoo" bin/idea.properties + + eapply_user +} + +src_install() { + local dir="/opt/${PN}" + local dst="${D}${dir}" + + insinto "${dir}" + doins -r * + fperms 755 "${dir}"/bin/{format.sh,idea.sh,inspect.sh,restarter,fsnotifier} + if use amd64; then + JRE_DIR=jre64 + else + JRE_DIR=jre + fi + + JRE_BINARIES="jaotc java javapackager jjs jrunscript keytool pack200 rmid rmiregistry unpack200" + if [[ -d ${JRE_DIR} ]]; then + for jrebin in $JRE_BINARIES; do + fperms 755 "${dir}"/"${JRE_DIR}"/bin/"${jrebin}" + done + fi + + # bundled script is always lowercase, and doesn't have -ultimate, -professional suffix. + local bundled_script_name="${PN%-*}.sh" + make_wrapper "${PN}" "${dir}/bin/$bundled_script_name" || die + + local pngfile="$(find ${dst}/bin -maxdepth 1 -iname '*.png')" + newicon $pngfile "${PN}.png" || die "we died" + + make_desktop_entry "${PN}" "IntelliJ Idea Community Edition" "${PN}" "Development;IDE;" + + # recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit + mkdir -p "${D}/etc/sysctl.d/" || die + echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die + + # remove bundled harfbuzz + rm -f "${D}"/lib/libharfbuzz.so || die "Unable to remove bundled harfbuzz" + + # remove bundled java + rm -r ${dst}/jbr || die "Unable to remove bundled java" + +} diff --git a/dev-util/kdevelop-php/Manifest b/dev-util/kdevelop-php/Manifest index 19de960d3162..b24cb10d27fc 100644 --- a/dev-util/kdevelop-php/Manifest +++ b/dev-util/kdevelop-php/Manifest @@ -1,5 +1,5 @@ DIST kdev-php-24.02.2.tar.xz 1090444 BLAKE2B 45b4eee5ea0465719b8d14ccc3bbae2021e911b5e5d0ca44ea32397f05a7c0967a0366ba1bf5f3a089e72917b576c4749119bc96ab3e7bc7bc063e4947d572a8 SHA512 f28eb7cbf0a057e0f8eea6112820d0659fd61ef611e03d8850cf8b0782acd9048d5a434d3a3fd26e6e9c0fff094a9f09cc1e4f8bea5e775dd4e2be442f878680 -DIST kdev-php-24.04.90.tar.xz 1090156 BLAKE2B ff37667f60c13728b4317cac7deebe28836ccbb7f77afdad4796036c79f399d38c954c5e180f608ec3b2cdbf8be590d11af6f191442382feea6269e186d061fc SHA512 06654b7d943a35ba8c7989ba58c21c3bf392e1da6ccf656001b67cdb305ceafe202ae14ee85098f5816c906c9c06d33ac5e3315e3c98d73dc0d01660c152b27a +DIST kdev-php-24.05.0.tar.xz 1090236 BLAKE2B e8d3ba8ca698f3c46689444c1df78ba81fd7f557cacfccd1603914c108503db2f7b836ab6148170c188c6228d68f4aa6efc45f23c7c6bcc81c226e07905ee148 SHA512 8988e1cc219cde791a342a43031b8d9246e17c0103fd6a63650b73b1001c4ea7dd85306f37a91b2f8b26dd0395533b651298318d6947783b85a2218da07508ca EBUILD kdevelop-php-24.02.2.ebuild 1204 BLAKE2B 509cb0478627bc393c54b6e8732b867f7a01a160238567e5daa4cbae02c49e7ed10621477873e027863520d619aef7a7a8075e67ddc48437751577af675f2d0c SHA512 daeebae5053ba338aeed3983b2ed67f53622bb313a7b7de1597a434fd90d6a34fce96a027e3cf29468476b3dcb767215190a20c9176131f633136d0419889a19 -EBUILD kdevelop-php-24.04.90.ebuild 1206 BLAKE2B a8caff79e6de11e6ab10d3eded5bd7046604aace7ea9562ae2f8c94e39cb9c0b65ec1b67c654f3f27c4b9743ad259dbd5fd4f3f163d5affa0d698bb4e4da4976 SHA512 748cb50839f0f5264dae13ff560cafdad57fba4ccd804c820e9ab0299edbd2878c3b06dce28ba92754284ae9c5a36a24ad115f76e405ff6b9290a1117ce1a4ed +EBUILD kdevelop-php-24.05.0.ebuild 1206 BLAKE2B a8caff79e6de11e6ab10d3eded5bd7046604aace7ea9562ae2f8c94e39cb9c0b65ec1b67c654f3f27c4b9743ad259dbd5fd4f3f163d5affa0d698bb4e4da4976 SHA512 748cb50839f0f5264dae13ff560cafdad57fba4ccd804c820e9ab0299edbd2878c3b06dce28ba92754284ae9c5a36a24ad115f76e405ff6b9290a1117ce1a4ed MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/dev-util/kdevelop-php/kdevelop-php-24.04.90.ebuild b/dev-util/kdevelop-php/kdevelop-php-24.04.90.ebuild deleted file mode 100644 index b0dc65911f90..000000000000 --- a/dev-util/kdevelop-php/kdevelop-php-24.04.90.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="forceoptional" -ECM_HANDBOOK_DIR="docs" -ECM_TEST="true" -KDE_ORG_CATEGORY="kdevelop" -KDE_ORG_NAME="kdev-php" -KFMIN=5.115.0 -QTMIN=5.15.12 -inherit ecm gear.kde.org - -DESCRIPTION="PHP plugin for KDevelop" -HOMEPAGE="https://www.kdevelop.org/" - -LICENSE="GPL-2 LGPL-2" -SLOT="5" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="" - -# remaining tests fail for some, bug 668530 -RESTRICT="test" - -DEPEND=" - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - dev-util/kdevelop-pg-qt:5 - dev-util/kdevelop:5= - >=kde-frameworks/kcmutils-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/ktexteditor-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - >=kde-frameworks/threadweaver-${KFMIN}:5 -" -RDEPEND="${DEPEND}" -BDEPEND=" - test? ( dev-util/kdevelop:5[test] ) -" - -src_test() { - # tests hang, bug 667922 - local myctestargs=( - -E "(completionbenchmark|duchain_multiplefiles)" - ) - ecm_src_test -} diff --git a/dev-util/kdevelop-php/kdevelop-php-24.05.0.ebuild b/dev-util/kdevelop-php/kdevelop-php-24.05.0.ebuild new file mode 100644 index 000000000000..b0dc65911f90 --- /dev/null +++ b/dev-util/kdevelop-php/kdevelop-php-24.05.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_HANDBOOK_DIR="docs" +ECM_TEST="true" +KDE_ORG_CATEGORY="kdevelop" +KDE_ORG_NAME="kdev-php" +KFMIN=5.115.0 +QTMIN=5.15.12 +inherit ecm gear.kde.org + +DESCRIPTION="PHP plugin for KDevelop" +HOMEPAGE="https://www.kdevelop.org/" + +LICENSE="GPL-2 LGPL-2" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="" + +# remaining tests fail for some, bug 668530 +RESTRICT="test" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + dev-util/kdevelop-pg-qt:5 + dev-util/kdevelop:5= + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/ktexteditor-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/threadweaver-${KFMIN}:5 +" +RDEPEND="${DEPEND}" +BDEPEND=" + test? ( dev-util/kdevelop:5[test] ) +" + +src_test() { + # tests hang, bug 667922 + local myctestargs=( + -E "(completionbenchmark|duchain_multiplefiles)" + ) + ecm_src_test +} diff --git a/dev-util/kdevelop-python/Manifest b/dev-util/kdevelop-python/Manifest index 484be9d092e2..92d5edf7435c 100644 --- a/dev-util/kdevelop-python/Manifest +++ b/dev-util/kdevelop-python/Manifest @@ -1,5 +1,5 @@ DIST kdev-python-24.02.2.tar.xz 1098808 BLAKE2B 3019ef98788699eb9c5b3168656f73cfcd29c54134ca6d23831d70dd318e4b0dee89e7f0e6d4e81b9f446ee5ff92a84f660e117724a7a8b7f1ee3190f4674cfb SHA512 d5b86ce08f7a8ca79bd7f0b65ac1832677b4f0dbb8f2abe3ec7fbcca5a73334a5119c66ab94a22747802312cf717dd99b622243c1c18c55dcbafadba2e33e420 -DIST kdev-python-24.04.90.tar.xz 1098176 BLAKE2B 915df9837bf361e04efd589fae6da57145cdcf9fa3774efd5c843d13b81a69201f9be7c22453771e919d1c38f57fda3f440e68194d3770f62aa06a8ec6385900 SHA512 ec6a8bf0933d2328e75d95cce1d22e3175d463a47f795fb38f0b2654ac423186274002dfe32cdfd6412f55878d1a4ce55cee27e44b24e6a31493b416bad065ab +DIST kdev-python-24.05.0.tar.xz 1098444 BLAKE2B 9941154df5cd5222a3a56d00f249f9fb0c233a5ef10dc280860670e315d4456246bf63e00bb1238c897c8db4a482caffbaabe4b421cd0572691dee635869f911 SHA512 9cf131c0c385882db9177dc3ed4800f3332e8071276cc18c057a4ff0f03128f112765a824bac19b4ca74ccdb40a84676c7c12924096cfd1dab16e0e80ce949ad EBUILD kdevelop-python-24.02.2.ebuild 1234 BLAKE2B e43185c4c349afde189d93ebd7214e4fd0b4e7fcfa30060f117e081d74e9d682b599e72ae347ac489a9c3673aff5eeaa121fc1ba59d281f70751c9935b35f188 SHA512 4e304b7a8fd00ffd9e714cd27707427a3ca3ceaf605ac649104c725da17dc686e22aaf55663bafca20be9b9d917d0600d41ba7e6216ab583127213cc09606de5 -EBUILD kdevelop-python-24.04.90.ebuild 1236 BLAKE2B 62b7504b3219861f88df8c198d670d001ecc15cae0c01b09ea9c3f0cf42920b53b5e32730d2877e097cfec17c44f0431e65d19bd9748ab38e6cb452070101635 SHA512 b242a40c2fa3401b4eed0bde3c099e650f25f6f7aec85dbb16f892449a58b2ca95a5c5b95513b74896e9ca5de72be851657fa69435ee203a45190d128fdfdb9b +EBUILD kdevelop-python-24.05.0.ebuild 1236 BLAKE2B 62b7504b3219861f88df8c198d670d001ecc15cae0c01b09ea9c3f0cf42920b53b5e32730d2877e097cfec17c44f0431e65d19bd9748ab38e6cb452070101635 SHA512 b242a40c2fa3401b4eed0bde3c099e650f25f6f7aec85dbb16f892449a58b2ca95a5c5b95513b74896e9ca5de72be851657fa69435ee203a45190d128fdfdb9b MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6 diff --git a/dev-util/kdevelop-python/kdevelop-python-24.04.90.ebuild b/dev-util/kdevelop-python/kdevelop-python-24.04.90.ebuild deleted file mode 100644 index ca3cc3e268ca..000000000000 --- a/dev-util/kdevelop-python/kdevelop-python-24.04.90.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_TEST="forceoptional" -KDE_ORG_CATEGORY="kdevelop" -KDE_ORG_NAME="kdev-python" -PYTHON_COMPAT=( python3_{10..11} ) -KFMIN=5.115.0 -QTMIN=5.15.12 -inherit ecm gear.kde.org python-single-r1 - -DESCRIPTION="Python plugin for KDevelop" -HOMEPAGE="https://www.kdevelop.org/" - -LICENSE="GPL-2" # TODO: CHECK -SLOT="5" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RESTRICT="test" - -DEPEND="${PYTHON_DEPS} - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qtwidgets-${QTMIN}:5 - dev-util/kdevelop:5= - >=kde-frameworks/kcompletion-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/kitemmodels-${KFMIN}:5 - >=kde-frameworks/knewstuff-${KFMIN}:5 - >=kde-frameworks/kparts-${KFMIN}:5 - >=kde-frameworks/ktexteditor-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - >=kde-frameworks/threadweaver-${KFMIN}:5 -" -RDEPEND="${DEPEND} - $(python_gen_cond_dep ' - dev-python/pycodestyle[${PYTHON_USEDEP}] - ') -" - -pkg_setup() { - python-single-r1_pkg_setup - ecm_pkg_setup -} diff --git a/dev-util/kdevelop-python/kdevelop-python-24.05.0.ebuild b/dev-util/kdevelop-python/kdevelop-python-24.05.0.ebuild new file mode 100644 index 000000000000..ca3cc3e268ca --- /dev/null +++ b/dev-util/kdevelop-python/kdevelop-python-24.05.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KDE_ORG_CATEGORY="kdevelop" +KDE_ORG_NAME="kdev-python" +PYTHON_COMPAT=( python3_{10..11} ) +KFMIN=5.115.0 +QTMIN=5.15.12 +inherit ecm gear.kde.org python-single-r1 + +DESCRIPTION="Python plugin for KDevelop" +HOMEPAGE="https://www.kdevelop.org/" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="test" + +DEPEND="${PYTHON_DEPS} + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + dev-util/kdevelop:5= + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemmodels-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/ktexteditor-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/threadweaver-${KFMIN}:5 +" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/pycodestyle[${PYTHON_USEDEP}] + ') +" + +pkg_setup() { + python-single-r1_pkg_setup + ecm_pkg_setup +} diff --git a/dev-util/kdevelop/Manifest b/dev-util/kdevelop/Manifest index 639d84865bdc..9864050db09d 100644 --- a/dev-util/kdevelop/Manifest +++ b/dev-util/kdevelop/Manifest @@ -1,5 +1,5 @@ DIST kdevelop-24.02.2.tar.xz 8753012 BLAKE2B 21776d734ca5e9a38500f58a3aee685c2e254f9073bbb505fe8aa5c91fc996b3ab1dcdf8df46073c5054afe8520fa63b763840e2ec1c25483e146a6e2c300e6c SHA512 eceb82d76788f1577cff1dbc91f30556a985e7597daeb0cf1de5ac9a59046bf13f326dee77bed406b3c9c24d66cf4c5a6a86dbfe37431d6c9c1d4c0f7d64a3b1 -DIST kdevelop-24.04.90.tar.xz 8766456 BLAKE2B 01e6e80d9625a65416aaa2e2e6a42fa2c54def39fe5e242ebc768f7306d991cc5952427d6696f0eb6e5b5f1010b3987de5fcca5178fa0089385b01dec6a5640c SHA512 0371395d3b1c0636e44650ba1a6a56bae3215c9140e3307d62baf3c3addf1eea05b86a7ac8dc5bba2775ebc71250d394f8afe1313ec8b0deb6c78d377894c2de +DIST kdevelop-24.05.0.tar.xz 8766000 BLAKE2B fa1c84e37b0413b904cd42d5d820f1b738b4817ae73e1be10101feea54c2ea29223b3501a9e25b9b7d731a3307f3d95110afc31f69ce693a5610aa267ab10df8 SHA512 9f5b3a62962352191091503305448956bf352884b4be0b50c4649d8a7fff6332907238883360a56075141b3d74e2c002bbef821a1776940fa0ddea541f97f3cc EBUILD kdevelop-24.02.2.ebuild 4137 BLAKE2B 4361823359b671f5256566e99af7189fc5397ddeb338d76d69361c6f126142a491e146f438832f9a4f7e4a1886c0133cf8bdf6a8fbb4703a31ce060d565c7bdf SHA512 bdf5624152863a2d37135214e66feb2d99a96d572896ba2c22ab842ade4c4488ba7bee14cb1e60c7b74d549dc6e7ae71b08c6a1e0749d58fa74fa1fa290d5c42 -EBUILD kdevelop-24.04.90.ebuild 3919 BLAKE2B 8315f817be5432d432f6c560178147034973b5f129960f53a94b33b13b2997ae9b00ef841671ea8466112611a9a70da84371c381180984c298c0e0f8c62a053f SHA512 e396b5227b58f8d1043a58f4b931853c94cd26029f8ec27bf5e9253163ad7ab1bb9374ca0bc6b9654b152165b93b993b706b7ef150cd8b0a5d6c58666462f81c +EBUILD kdevelop-24.05.0.ebuild 3919 BLAKE2B 8315f817be5432d432f6c560178147034973b5f129960f53a94b33b13b2997ae9b00ef841671ea8466112611a9a70da84371c381180984c298c0e0f8c62a053f SHA512 e396b5227b58f8d1043a58f4b931853c94cd26029f8ec27bf5e9253163ad7ab1bb9374ca0bc6b9654b152165b93b993b706b7ef150cd8b0a5d6c58666462f81c MISC metadata.xml 623 BLAKE2B defbd6a6a992f04fe71d13ca0e6da0b6c7015992f148f1fdd0d844430c44268e5c765c46afabee4af650992556e81acfb1024c94e6e274aefbbf46b65b9762af SHA512 4b022d64a261251c01eb9c8d8ee8aafeac6309272274fa8493f5bb8480cc93be482b145a70fd1a36bc30feaf8649ae17addfe8d7bcf57f78173e0f198805985c diff --git a/dev-util/kdevelop/kdevelop-24.04.90.ebuild b/dev-util/kdevelop/kdevelop-24.04.90.ebuild deleted file mode 100644 index 4f6a9154cdfb..000000000000 --- a/dev-util/kdevelop/kdevelop-24.04.90.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_HANDBOOK="forceoptional" -ECM_TEST="true" -KDE_ORG_CATEGORY="kdevelop" -KFMIN=5.115.0 -LLVM_MAX_SLOT=17 -QTMIN=5.15.12 -VIRTUALDBUS_TEST="true" -inherit ecm gear.kde.org llvm optfeature - -DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more" -HOMEPAGE="https://www.kdevelop.org/" - -LICENSE="GPL-2 LGPL-2" -SLOT="5/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="+gdbui hex +plasma +qmake subversion" - -# see bug 366471 -RESTRICT="test" - -COMMON_DEPEND=" - dev-libs/grantlee:5 - >=dev-qt/qtdbus-${QTMIN}:5 - >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] - >=dev-qt/qtgui-${QTMIN}:5 - >=dev-qt/qthelp-${QTMIN}:5 - >=dev-qt/qtnetwork-${QTMIN}:5 - >=dev-qt/qttest-${QTMIN}:5 - >=dev-qt/qtwebengine-${QTMIN}:5[widgets] - >=dev-qt/qtwidgets-${QTMIN}:5 - >=dev-qt/qtxml-${QTMIN}:5 - >=dev-util/astyle-3.1:= - kde-apps/libkomparediff2:5 - >=kde-frameworks/karchive-${KFMIN}:5 - >=kde-frameworks/kbookmarks-${KFMIN}:5 - >=kde-frameworks/kcmutils-${KFMIN}:5 - >=kde-frameworks/kcodecs-${KFMIN}:5 - >=kde-frameworks/kcompletion-${KFMIN}:5 - >=kde-frameworks/kconfig-${KFMIN}:5 - >=kde-frameworks/kconfigwidgets-${KFMIN}:5 - >=kde-frameworks/kcoreaddons-${KFMIN}:5 - >=kde-frameworks/kcrash-${KFMIN}:5 - >=kde-frameworks/kdeclarative-${KFMIN}:5 - >=kde-frameworks/kguiaddons-${KFMIN}:5 - >=kde-frameworks/ki18n-${KFMIN}:5 - >=kde-frameworks/kiconthemes-${KFMIN}:5 - >=kde-frameworks/kio-${KFMIN}:5 - >=kde-frameworks/kitemmodels-${KFMIN}:5 - >=kde-frameworks/kitemviews-${KFMIN}:5 - >=kde-frameworks/kjobwidgets-${KFMIN}:5 - >=kde-frameworks/knewstuff-${KFMIN}:5 - >=kde-frameworks/knotifications-${KFMIN}:5 - >=kde-frameworks/knotifyconfig-${KFMIN}:5 - >=kde-frameworks/kparts-${KFMIN}:5 - >=kde-frameworks/kservice-${KFMIN}:5 - >=kde-frameworks/ktexteditor-${KFMIN}:5 - >=kde-frameworks/ktextwidgets-${KFMIN}:5 - >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 - >=kde-frameworks/kwindowsystem-${KFMIN}:5 - >=kde-frameworks/kxmlgui-${KFMIN}:5 - >=kde-frameworks/sonnet-${KFMIN}:5 - >=kde-frameworks/threadweaver-${KFMIN}:5 - =kde-frameworks/krunner-${KFMIN}:5 - >=kde-plasma/libplasma-${KFMIN}:5 - ) - qmake? ( dev-util/kdevelop-pg-qt:5 ) - subversion? ( - dev-libs/apr:1 - dev-libs/apr-util:1 - dev-vcs/subversion - ) -" -DEPEND="${COMMON_DEPEND} - dev-libs/boost - >=dev-qt/qtconcurrent-${QTMIN}:5 -" -RDEPEND="${COMMON_DEPEND} - dev-build/ninja - >=dev-debug/gdb-7.0[python] - >=dev-qt/qdbus-${QTMIN}:* - >=dev-qt/qtquickcontrols-${QTMIN}:5 - >=dev-qt/qtquickcontrols2-${QTMIN}:5 - kde-apps/kapptemplate:* - kde-apps/kio-extras:5 -" - -llvm_check_deps() { - has_version -d "sys-devel/clang:${LLVM_SLOT}" -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON - -DCMAKE_DISABLE_FIND_PACKAGE_KF5Purpose=ON - -DLLVM_ROOT="$(get_llvm_prefix ${LLVM_SLOT})" - $(cmake_use_find_package gdbui KSysGuard) - -DBUILD_executeplasmoid=$(usex plasma) - $(cmake_use_find_package plasma KF5Plasma) - $(cmake_use_find_package hex OktetaKastenControllers) - $(cmake_use_find_package qmake KDevelop-PG-Qt) - $(cmake_use_find_package subversion SubversionLibrary) - ) - - use gdbui || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KF5SysGuard=ON ) - - ecm_src_configure -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - optfeature "konsole view" kde-apps/konsole - optfeature "static C++ Qt code analysis" dev-util/clazy - optfeature "static C/C++ code analysis" dev-util/cppcheck - optfeature "heap memory profiling" "dev-util/heaptrack[gui]" - optfeature "meson project manager plugin" dev-build/meson - optfeature "formatting configurations via customscript plugin" dev-util/indent - optfeature "formatting configurations via customscript plugin" dev-util/uncrustify - fi - ecm_pkg_postinst -} diff --git a/dev-util/kdevelop/kdevelop-24.05.0.ebuild b/dev-util/kdevelop/kdevelop-24.05.0.ebuild new file mode 100644 index 000000000000..4f6a9154cdfb --- /dev/null +++ b/dev-util/kdevelop/kdevelop-24.05.0.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="forceoptional" +ECM_TEST="true" +KDE_ORG_CATEGORY="kdevelop" +KFMIN=5.115.0 +LLVM_MAX_SLOT=17 +QTMIN=5.15.12 +VIRTUALDBUS_TEST="true" +inherit ecm gear.kde.org llvm optfeature + +DESCRIPTION="Integrated Development Environment, supporting KF5/Qt, C/C++ and much more" +HOMEPAGE="https://www.kdevelop.org/" + +LICENSE="GPL-2 LGPL-2" +SLOT="5/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="+gdbui hex +plasma +qmake subversion" + +# see bug 366471 +RESTRICT="test" + +COMMON_DEPEND=" + dev-libs/grantlee:5 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtdeclarative-${QTMIN}:5[widgets] + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qthelp-${QTMIN}:5 + >=dev-qt/qtnetwork-${QTMIN}:5 + >=dev-qt/qttest-${QTMIN}:5 + >=dev-qt/qtwebengine-${QTMIN}:5[widgets] + >=dev-qt/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=dev-util/astyle-3.1:= + kde-apps/libkomparediff2:5 + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kbookmarks-${KFMIN}:5 + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kcodecs-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kcrash-${KFMIN}:5 + >=kde-frameworks/kdeclarative-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kitemmodels-${KFMIN}:5 + >=kde-frameworks/kitemviews-${KFMIN}:5 + >=kde-frameworks/kjobwidgets-${KFMIN}:5 + >=kde-frameworks/knewstuff-${KFMIN}:5 + >=kde-frameworks/knotifications-${KFMIN}:5 + >=kde-frameworks/knotifyconfig-${KFMIN}:5 + >=kde-frameworks/kparts-${KFMIN}:5 + >=kde-frameworks/kservice-${KFMIN}:5 + >=kde-frameworks/ktexteditor-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=kde-frameworks/kwindowsystem-${KFMIN}:5 + >=kde-frameworks/kxmlgui-${KFMIN}:5 + >=kde-frameworks/sonnet-${KFMIN}:5 + >=kde-frameworks/threadweaver-${KFMIN}:5 + =kde-frameworks/krunner-${KFMIN}:5 + >=kde-plasma/libplasma-${KFMIN}:5 + ) + qmake? ( dev-util/kdevelop-pg-qt:5 ) + subversion? ( + dev-libs/apr:1 + dev-libs/apr-util:1 + dev-vcs/subversion + ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + >=dev-qt/qtconcurrent-${QTMIN}:5 +" +RDEPEND="${COMMON_DEPEND} + dev-build/ninja + >=dev-debug/gdb-7.0[python] + >=dev-qt/qdbus-${QTMIN}:* + >=dev-qt/qtquickcontrols-${QTMIN}:5 + >=dev-qt/qtquickcontrols2-${QTMIN}:5 + kde-apps/kapptemplate:* + kde-apps/kio-extras:5 +" + +llvm_check_deps() { + has_version -d "sys-devel/clang:${LLVM_SLOT}" +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_KDEExperimentalPurpose=ON + -DCMAKE_DISABLE_FIND_PACKAGE_KF5Purpose=ON + -DLLVM_ROOT="$(get_llvm_prefix ${LLVM_SLOT})" + $(cmake_use_find_package gdbui KSysGuard) + -DBUILD_executeplasmoid=$(usex plasma) + $(cmake_use_find_package plasma KF5Plasma) + $(cmake_use_find_package hex OktetaKastenControllers) + $(cmake_use_find_package qmake KDevelop-PG-Qt) + $(cmake_use_find_package subversion SubversionLibrary) + ) + + use gdbui || mycmakeargs+=( -DCMAKE_DISABLE_FIND_PACKAGE_KF5SysGuard=ON ) + + ecm_src_configure +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "konsole view" kde-apps/konsole + optfeature "static C++ Qt code analysis" dev-util/clazy + optfeature "static C/C++ code analysis" dev-util/cppcheck + optfeature "heap memory profiling" "dev-util/heaptrack[gui]" + optfeature "meson project manager plugin" dev-build/meson + optfeature "formatting configurations via customscript plugin" dev-util/indent + optfeature "formatting configurations via customscript plugin" dev-util/uncrustify + fi + ecm_pkg_postinst +} diff --git a/dev-util/kio-perldoc/Manifest b/dev-util/kio-perldoc/Manifest index e2f9c7656b72..0e96ea3b4e94 100644 --- a/dev-util/kio-perldoc/Manifest +++ b/dev-util/kio-perldoc/Manifest @@ -1,5 +1,5 @@ DIST kdesdk-kio-24.02.2.tar.xz 40468 BLAKE2B 3c835dcf03a2c85d0acef9f38ca463f2b0114c7297759bfac6b6ba7879adb34ec8c68cf0145da66d0089757bc7e72fb6ae9b7fd4556a4d9c661ee2cf26e26db3 SHA512 3c005bbe1868b91997beb464a7ca9ef27beb81e8599127be497957d202be2b526ab4366bf85c1e2c30dfdda995c675a233f6613d8521e82d332a94d735e1f94d -DIST kdesdk-kio-24.04.90.tar.xz 41112 BLAKE2B cf69f2b5b5100cefd31389c5ec2bd35fb7a0b951ec9c4c8b85a3fcd8178fa6651cc32a7df12c8f7b2612cbd0efa3be7b52be9e61c825ed9589e0a78c31132668 SHA512 8d5c7be0cc0191903e9a4d934ab6d293fb8db2e43b90c0decf91fcf869ac6636377ede1c357ff498bd9fc7b6430106929e722baab667ec7c58ef8688c853c7a0 +DIST kdesdk-kio-24.05.0.tar.xz 41112 BLAKE2B ecb37def3abd4e4ad959ed2a3e766c25d3f3cd0b9a92438d3dd6aadfecb842aa936ef34b156c9fd1bff0c7f0121a40d5fc77585bf574f112cfcd84510b935996 SHA512 16ffe00ae7421e37491321447b46f5cb948c967bb523a2f893326a4e7aeea4c18ccff99f3079976d8ae7250c70a5a58344331fa079baaa887097f7e672b64341 EBUILD kio-perldoc-24.02.2.ebuild 491 BLAKE2B 4a1c84e2e8430aa347597d2ed2b0b972168ae6481808e0185a8a901db7ef03e6884cf234a246e177ebaaff87fc564767523048de223b3bb9292ce31248c25be2 SHA512 9e025f2c7775986387d62e8475d051bd280a5f743bff035f763ac9b030af11a4714b121a43a03c07a84b72560122b61b830750128bbb195711b1ddaf69ed77cc -EBUILD kio-perldoc-24.04.90.ebuild 473 BLAKE2B 3172a4a1c80e48f76fca9670d9dd44b45ee287fcb5d9671384fb7c63dd9bc5a90996a37d16f55f54818ebb68ba64b887be20de80985401627e5072aebcf71271 SHA512 5992744b1bcdad41cf676e8081720c3fd8afab7153bb1ff30f5c6c669c914a5a0639e0611a6d8ed7db103ba8cc5634917eb2408a2f5e8e185fdb46c195319f95 +EBUILD kio-perldoc-24.05.0.ebuild 473 BLAKE2B 3172a4a1c80e48f76fca9670d9dd44b45ee287fcb5d9671384fb7c63dd9bc5a90996a37d16f55f54818ebb68ba64b887be20de80985401627e5072aebcf71271 SHA512 5992744b1bcdad41cf676e8081720c3fd8afab7153bb1ff30f5c6c669c914a5a0639e0611a6d8ed7db103ba8cc5634917eb2408a2f5e8e185fdb46c195319f95 MISC metadata.xml 376 BLAKE2B 973773b9cb2a2e9d2a7e187056409bbbe4a1f88bf97b791fe4b096beb1c638bbfef558abb19920383471641454784549ada0fe5aba4fcfb6ce762156711457c6 SHA512 e29785bf513fab36b159f7bdca1a339dc3e004e067b1e98ae5997f865494ac70ef4e27a74387cc65a486decd42f91926fe478143b6ac9906753a69f0b546617a diff --git a/dev-util/kio-perldoc/kio-perldoc-24.04.90.ebuild b/dev-util/kio-perldoc/kio-perldoc-24.04.90.ebuild deleted file mode 100644 index 0690f310349c..000000000000 --- a/dev-util/kio-perldoc/kio-perldoc-24.04.90.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -KDE_ORG_NAME="kdesdk-kio" -KFMIN=6.0.0 -inherit ecm gear.kde.org - -DESCRIPTION="KIO worker interface to browse Perl documentation" - -LICENSE="GPL-2+ || ( Artistic GPL-1+ )" -SLOT="6" -KEYWORDS="~amd64" -IUSE="" - -DEPEND=" - dev-lang/perl - >=kde-frameworks/kcoreaddons-${KFMIN}:6 - >=kde-frameworks/ki18n-${KFMIN}:6 - >=kde-frameworks/kio-${KFMIN}:6 -" -RDEPEND="${DEPEND}" diff --git a/dev-util/kio-perldoc/kio-perldoc-24.05.0.ebuild b/dev-util/kio-perldoc/kio-perldoc-24.05.0.ebuild new file mode 100644 index 000000000000..0690f310349c --- /dev/null +++ b/dev-util/kio-perldoc/kio-perldoc-24.05.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KDE_ORG_NAME="kdesdk-kio" +KFMIN=6.0.0 +inherit ecm gear.kde.org + +DESCRIPTION="KIO worker interface to browse Perl documentation" + +LICENSE="GPL-2+ || ( Artistic GPL-1+ )" +SLOT="6" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-lang/perl + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 +" +RDEPEND="${DEPEND}" diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest index b50caf526665..1fcff337f092 100644 --- a/dev-util/librnp/Manifest +++ b/dev-util/librnp/Manifest @@ -2,5 +2,6 @@ AUX librnp-0.17.0-dont-bundle-sexp.patch 1073 BLAKE2B be3a0068f0134aea8347be9f95 DIST librnp-0.17.0.tar.gz 2996461 BLAKE2B 9a6ea0452f067464ef52cef395c2969ba9912c5ed32ac6f4d860a3410965dbfbb1ad5c0d4f25489011d869222a4362a90463f521efe5af4b7c412f0ed1e4570b SHA512 0aa5262aa3be163b8a8931d6b9200ced52bb640cd7b02b50009cfb8d5fe1e664d27b2c4a0a3e534cf59d6ea42fbc1c62c970a07cadc27ab6962e0f69f996f74d DIST librnp-0.17.1.tar.gz 3515288 BLAKE2B 279cd5c669b469112066c4754a9a5a5c9fbe3ba225be4f85bc507aad9f29cfa166f90cb3dfe83ea8e29964fdfbbf926438fb36bb345da494ed7f70586fa8d7b6 SHA512 0224f79e4dd4b72ddd9c191218327da5485ed1d81321cc3a167cfeea68c00e47cec9151a4177e65e5560039345db3a52e41a093adfdf833f57e867bc559494a5 EBUILD librnp-0.17.0-r3.ebuild 1932 BLAKE2B 5ec8fe6ba0119f30f81201cff3dd4b669741b4bbdb3db65996bf1bb23e5267fb552a75edffa00e5d4e9b2f178ab50ad8c539c5d6532d8d041cba531484c20758 SHA512 f3b43221e5ce01ae2a64e4c418a04000b9c0d7ef5020f7ef50d2960d5ee95bde15298beed85e5015a5e383b36eece1120391b000513e68aaa8b2e3e92806f032 +EBUILD librnp-0.17.1-r1.ebuild 1878 BLAKE2B 1f0d7ba0e07b9a13d7a219527eec09052fadeb6dbbe3169df861ea61463ff191fb1d6ce8d050ccd69e550a91c2f8a2514e677dbf58514946bc2e9828d32cc0b5 SHA512 8293c14787ca727da194601e0e52fdeda7160d862a08a7417b816147448c251af8b007e94bc552989b53878f1a793a58a3a2c51c6880dfee615b1879a8552569 EBUILD librnp-0.17.1.ebuild 1876 BLAKE2B 78b362d2e54c3b01e949110b92a2548c2514a81eac89cd8930413021d42f907423645f15f4d97c9b0ed19a38032f7bb63745b29cd8541f9f9983253122e62af5 SHA512 8eff08a3e9024e4644a98ffce5b3c81308faeada41dea4da46f9ee54c4f1016b5a81d7e26b0548e950a92828c9a53969b84c9f2affe9a618fb8382c717d88bbc MISC metadata.xml 430 BLAKE2B 739d6cddc56f385ad2b1679f6b3d9ba567ce77ec536894ca3861ad7ad127fd60c395db49b31d89963df12c03d8cf69fc6f083f5d3361b790079952c1e76ccf03 SHA512 ad7b3e6332741e1f2eae9e158d5ca767f5985a8f5c86eb5f21b7ee0214b9c7fdd2e90beddf1a9287218edf35aff39bd7ff1a4f1d15eb10552ab664738f8d1959 diff --git a/dev-util/librnp/librnp-0.17.1-r1.ebuild b/dev-util/librnp/librnp-0.17.1-r1.ebuild new file mode 100644 index 000000000000..fad0047b4e0e --- /dev/null +++ b/dev-util/librnp/librnp-0.17.1-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake multiprocessing + +DESCRIPTION="High performance C++ OpenPGP library" +HOMEPAGE="https://www.rnpgp.org/ https://github.com/rnpgp/rnp" +SRC_URI="https://github.com/rnpgp/rnp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P/*lib/}" + +LICENSE="Apache-2.0 BSD BSD-2" +SLOT="0/0.16.1" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86" + +IUSE="+botan man test" +RESTRICT="!test? ( test )" + +RDEPEND="app-arch/bzip2 + dev-libs/json-c:= + >=dev-libs/sexpp-0.8.7 + sys-libs/zlib + botan? ( dev-libs/botan:3= ) + !botan? ( >=dev-libs/openssl-1.1.1:= )" +DEPEND="${RDEPEND} + test? ( dev-cpp/gtest )" +BDEPEND="man? ( dev-ruby/asciidoctor )" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test on off) + + -DCRYPTO_BACKEND=$(usex botan botan3 openssl) + + -DDOWNLOAD_GTEST=off + + -DENABLE_COVERAGE=off + -DENABLE_DOC=$(usex man on off) + -DENABLE_FUZZERS=off + -DENABLE_SANITIZERS=off + + -DSYSTEM_LIBSEXPP=on + ) + + if use botan; then + local mycmakeargs+=( + -DENABLE_AEAD=on + -DENABLE_BLOWFISH=on + -DENABLE_BRAINPOOL=on + -DENABLE_CAST5=on + -DENABLE_IDEA=on + -DENABLE_RIPEMD160=on + -DENABLE_SM2=on + -DENABLE_TWOFISH=on + ) + + # OpenSSL support is still not as complete as botan. + # https://github.com/rnpgp/rnp/issues/1877 SM2, + # https://github.com/openssl/openssl/issues/2046 TWOFISH (won't be implemented). + else + local mycmakeargs+=( + -DENABLE_AEAD=on + -DENABLE_BLOWFISH=on + -DENABLE_BRAINPOOL=on + -DENABLE_CAST5=on + -DENABLE_IDEA=on + -DENABLE_RIPEMD160=on + -DENABLE_SM2=off + -DENABLE_TWOFISH=off + ) + fi + + cmake_src_configure +} + +src_test() { + cd "${BUILD_DIR}"/src/tests || die + ctest -j$(makeopts_jobs) -R .* --output-on-failure || die +} + +src_install() { + cmake_src_install + find "${D}" -name '*.a' -delete || die +} diff --git a/dev-util/opencl-headers/Manifest b/dev-util/opencl-headers/Manifest index 0abbf3da90a2..0a2674d3339a 100644 --- a/dev-util/opencl-headers/Manifest +++ b/dev-util/opencl-headers/Manifest @@ -1,5 +1,5 @@ DIST opencl-headers-2023.04.17.tar.gz 73963 BLAKE2B 93b792559bb9dca0a2b62a113dd91f81297f86aabd1ca613f3770f02ff70b77276f02d13e0b8eb203495f520005fdd66da37e00fb49a2322f65b86671bb13271 SHA512 55945cdbd79b8a70b074dd09dd9cb6a560c454ce98c16341c75ac197cc85e57314f0e8fafd25aa51d4c4b4f7f8cf401a144d52aebfc8893bbbd1f28ec2850625 DIST opencl-headers-2023.12.14.tar.gz 75698 BLAKE2B 2ff040112bf8a9be7bc8c8ecbf29cec1c9c718574582e7e065f3391856d3cb70d6c46b5e770d3d2e3aabb2a0040855e2b3f73cda8c9b547d4faaeedafca0bc3c SHA512 71a21f32cc2d956ef52ea197a95f21a3df5cf4e6888b533eb8cc66be0025fafe9b6477d3de813cb1ae6303032c80bc10b5e5ab1c71074f1662a6b5296fffd3d3 EBUILD opencl-headers-2023.04.17.ebuild 616 BLAKE2B 357a31bfbeca35b3a4900345fa617ef7f8d38b254eb0f20a9e36e51ac773df6eec09f5950a89d6762b0b444096c43bd025c7aebf8c37cd94b0671c54e8737d6b SHA512 ffa2378293a4ba70da1a9edc30fe1da4f7b9543d3c385c7d8b8a5985592dbdbfbedddc98a406e34a98cc02111266835331bc60ccf37065ac6636ea4375c898df -EBUILD opencl-headers-2023.12.14.ebuild 616 BLAKE2B a583ef2080751fc6ccdab5e77808a8ac6f7d33dc61eb757532eabc5215ec3c090f24b6d7d0f320c71864ea7232bcf570837b664384a0f3f0e892326324bdff96 SHA512 2c801927f2525b455d456b4fed7f423b2ab2fbcc9ba3fc7dcf96b62a04fbce565f6557843f259cdfa25969937ffdf32039ce8bca9b802087b45795263057d9ba +EBUILD opencl-headers-2023.12.14.ebuild 623 BLAKE2B b046a23507a50a83e6154d7f8608041f7a4c95d8d95621b550d992c0fba7326789891a8e1d6e71a576d1331299134a04726bf5b6f0878345a562db23a7f9fc91 SHA512 29c724b7c2e7aefdb0c507f6a15d4a56e031ed1e7c1019295b2e1abef08a5f94c0ac7528e13bddb3ad8d62e2cc5dbf0826a5f813f619eb6d3fe5f3a60c822498 MISC metadata.xml 1055 BLAKE2B ac96e1bf07e353236170d3678541555b7d901984266dfd1356456db90effe430e6a042afc0b9b5a7f51d0e9cfbcef0fbf66fb46de82fdc8cc1cfa29c6cfd61d0 SHA512 6233610591851e415ab0354ca900dfdfa14fa2442e56094d547420ce710942be86c701820c3a63e2c6f070b74c0801f92bbe9ed6c7f2a5cae406f74b81acd86a diff --git a/dev-util/opencl-headers/opencl-headers-2023.12.14.ebuild b/dev-util/opencl-headers/opencl-headers-2023.12.14.ebuild index 87de34362981..405d917bc351 100644 --- a/dev-util/opencl-headers/opencl-headers-2023.12.14.ebuild +++ b/dev-util/opencl-headers/opencl-headers-2023.12.14.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/refs/tags/v${PV}.tar.g LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ppc64 ~riscv x86" +KEYWORDS="amd64 ~loong ppc64 ~riscv x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-util/rt-tests/Manifest b/dev-util/rt-tests/Manifest index d09b0363c9b4..ea7c2500e3c1 100644 --- a/dev-util/rt-tests/Manifest +++ b/dev-util/rt-tests/Manifest @@ -1,4 +1,4 @@ -AUX rt-tests-2.6-musl.patch 9421 BLAKE2B 22f514733f35878c9c62d154cf73d9552701e502bb282813eea533dfc7afa601fbfde108f754dd5b679c05e3dd19638995ff46f4d8172eefabc15941005ed2ee SHA512 5dacb334f3c3d26de59fcadfb90ed674f48813d986cbdf28ae93c9f85ac43c2c4d50ca0e9e40ebc68df4a829a1bae500c9a9f3c5c6f51715d6162aa1ccf31e1d -DIST rt-tests-2.6.tar.xz 104996 BLAKE2B 40b898a0ecf512eafafa277857566cea358277f4fd6aca2595077409dbbb1c2eb4c7ed5ea1b61a378506eca4f989527d7c5fb94d9c3a16d7b0286cc940496cc8 SHA512 0cfb93ef8718b8e291a23963ef8e5bf1092b5f1c377f220d35005c0fdc7982ac074da824cb26ad5b2c71a2ebadd8bf753259c6f3ca9e00f42d9198e2dbc5999a -EBUILD rt-tests-2.6.ebuild 916 BLAKE2B 3efa9208ac022f4f5b4cffc28108db7208d9427699eec5772aa90141f5d3498217786c14dc66e144ee1c197a6387a6f3d849170ef3fee46cb99e52db38865668 SHA512 c2efab311a237d2e61ea6a80d6750abe56a039cbfbbc0bdcdaedaf6b256e217f6f12a04e7941ec0358d2f434420ccdb61b24e55b61574562b1ffc0ffa4ae3516 +AUX rt-tests-2.7-musl.patch 9421 BLAKE2B 065e63043123eb21eac788d509f3c7748baa9bea238c6e10ac414747fd06feccc3c488594277f2cd63d5a39869030f2dfb8cb278a24927b41019af3f12a37d40 SHA512 eaeecdafa8cb5ab9cfca3395b051db5b88343d8a0eea4dd29a9ca47d2147116cfce7d90b3b63e3824e057d5e9bfd2122b550050514fa3486ceadedbb164654b4 +DIST rt-tests-2.7.tar.xz 106864 BLAKE2B 89af0a92465ca29eb19adb6bb521be377dedb4153fc98bdcce48e1bad71803ed4aad2088227cfc679ce2441d09932acae437911535daec266b7ac2247fbad8d8 SHA512 6f2e523a6ff683473a222dc3b38abd34a06610c78b488d9d103643e410089d03820c76a4f40afaa4694d29f36e1aef6ced584cae9bad72921e3d633e36a5cda3 +EBUILD rt-tests-2.7.ebuild 916 BLAKE2B bb7156a6af5a00eec881410acf6fa23d86c68947ca8e82450662771e623139171c3ca9440bf4ac1891131588c9ee7c5bc996af6d00c3995943d812187a810d58 SHA512 8f38767eb8a0d60fcc7392646010933b562682826cd549cafe56788585c2a85ec499a820296cc468aaeb9b045b36097c7bff110f339364ea737e9ba5b46ef7be MISC metadata.xml 837 BLAKE2B b0d50d18a087e0e3adde1eeeeec4f9e3cf69d921d893c5f26f9205979d53cb3fb67c66da49a19646f00463456337edfa6482a129ba6f53bdefcc083b6420a4c8 SHA512 943f07d2ac45ada4c0e961f43543c7f8f5a1e96ae6a69e8e4f99ca47f7e43a8ca2525a299f9451b0877349542955e6428e6029dfae8e30e67ca970b883eb04d7 diff --git a/dev-util/rt-tests/files/rt-tests-2.6-musl.patch b/dev-util/rt-tests/files/rt-tests-2.6-musl.patch deleted file mode 100644 index 830f31184fe4..000000000000 --- a/dev-util/rt-tests/files/rt-tests-2.6-musl.patch +++ /dev/null @@ -1,342 +0,0 @@ -From 0b7a1e0d3463aa8aa4b7dcad0ec154e658d68036 Mon Sep 17 00:00:00 2001 -From: Kurt Kanzenbach -Date: Wed, 1 Apr 2020 20:15:24 +0200 -Subject: [PATCH] all: Fix musl build - -There are a few problems: - - * pi stress: pthread_attr_setaffinity_np() is not supported - * cyclictest: SIGEV_THREAD_ID is not supported - * hackbench: Fix include - * all: Fix sched_* calls - -With these changes applied, the rt-tests seem to run fine. - -Signed-off-by: Kurt Kanzenbach ---- - Makefile | 5 -- - src/backfire/sendme.c | 1 - src/cyclictest/cyclictest.c | 68 ++++------------------------------ - src/hackbench/hackbench.c | 4 +- - src/include/musl.h | 28 ++++++++++++++ - src/lib/rt-utils.c | 1 - src/pi_tests/tst-mutexpi10.c | 2 + - src/pmqtest/pmqtest.c | 1 - src/ptsematest/ptsematest.c | 1 - src/rt-migrate-test/rt-migrate-test.c | 1 - src/sched_deadline/cyclicdeadline.c | 1 - 11 files changed, 47 insertions(+), 66 deletions(-) - create mode 100644 src/include/musl.h - ---- a/Makefile -+++ b/Makefile -@@ -7,7 +7,6 @@ OBJDIR = bld - sources = cyclictest.c \ - hackbench.c \ - pip_stress.c \ -- pi_stress.c \ - pmqtest.c \ - ptsematest.c \ - rt-migrate-test.c \ -@@ -42,7 +41,6 @@ ifeq (${PYLIB},) - endif - - MANPAGES = src/cyclictest/cyclictest.8 \ -- src/pi_tests/pi_stress.8 \ - src/ptsematest/ptsematest.8 \ - src/rt-migrate-test/rt-migrate-test.8 \ - src/sigwaittest/sigwaittest.8 \ -@@ -130,9 +128,6 @@ deadline_test: $(OBJDIR)/deadline_test.o - signaltest: $(OBJDIR)/signaltest.o $(OBJDIR)/librttest.a $(OBJDIR)/librttestnuma.a - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) $(RTTESTNUMA) - --pi_stress: $(OBJDIR)/pi_stress.o $(OBJDIR)/librttest.a -- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) -- - hwlatdetect: src/hwlatdetect/hwlatdetect.py - chmod +x src/hwlatdetect/hwlatdetect.py - ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect ---- a/src/backfire/sendme.c -+++ b/src/backfire/sendme.c -@@ -29,6 +29,7 @@ - #include - #include - #include -+#include "musl.h" - #include "rt-utils.h" - #include "rt-get_cpu.h" - ---- a/src/cyclictest/cyclictest.c -+++ b/src/cyclictest/cyclictest.c -@@ -30,6 +30,7 @@ - #include - #include - #include -+#include "musl.h" - #include "rt_numa.h" - - #include "rt-utils.h" -@@ -545,12 +546,8 @@ static void *timerthread(void *param) - { - struct thread_param *par = param; - struct sched_param schedp; -- struct sigevent sigev; - sigset_t sigset; -- timer_t timer; - struct timespec now, next, interval, stop = { 0 }; -- struct itimerval itimer; -- struct itimerspec tspec; - struct thread_stat *stat = par->stats; - int stopped = 0; - cpu_set_t mask; -@@ -579,14 +576,6 @@ static void *timerthread(void *param) - sigaddset(&sigset, par->signal); - sigprocmask(SIG_BLOCK, &sigset, NULL); - -- if (par->mode == MODE_CYCLIC) { -- sigev.sigev_notify = SIGEV_THREAD_ID | SIGEV_SIGNAL; -- sigev.sigev_signo = par->signal; -- sigev.sigev_notify_thread_id = stat->tid; -- timer_create(par->clock, &sigev, &timer); -- tspec.it_interval = interval; -- } -- - memset(&schedp, 0, sizeof(schedp)); - schedp.sched_priority = par->prio; - if (setscheduler(0, par->policy, &schedp)) -@@ -640,20 +629,6 @@ static void *timerthread(void *param) - stop = now; - stop.tv_sec += duration; - } -- if (par->mode == MODE_CYCLIC) { -- if (par->timermode == TIMER_ABSTIME) -- tspec.it_value = next; -- else -- tspec.it_value = interval; -- timer_settime(timer, par->timermode, &tspec, NULL); -- } -- -- if (par->mode == MODE_SYS_ITIMER) { -- itimer.it_interval.tv_sec = interval.tv_sec; -- itimer.it_interval.tv_usec = interval.tv_nsec / 1000; -- itimer.it_value = itimer.it_interval; -- setitimer(ITIMER_REAL, &itimer, NULL); -- } - - stat->threadstarted++; - -@@ -661,16 +636,10 @@ static void *timerthread(void *param) - - uint64_t diff; - unsigned long diff_smi = 0; -- int sigs, ret; -+ int ret; - - /* Wait for next period */ - switch (par->mode) { -- case MODE_CYCLIC: -- case MODE_SYS_ITIMER: -- if (sigwait(&sigset, &sigs) < 0) -- goto out; -- break; -- - case MODE_CLOCK_NANOSLEEP: - if (par->timermode == TIMER_ABSTIME) { - ret = clock_nanosleep(par->clock, TIMER_ABSTIME, -@@ -791,11 +760,6 @@ static void *timerthread(void *param) - - next.tv_sec += interval.tv_sec; - next.tv_nsec += interval.tv_nsec; -- if (par->mode == MODE_CYCLIC) { -- int overrun_count = timer_getoverrun(timer); -- next.tv_sec += overrun_count * interval.tv_sec; -- next.tv_nsec += overrun_count * interval.tv_nsec; -- } - tsnorm(&next); - - while (tsgreater(&now, &next)) { -@@ -820,17 +784,6 @@ out: - pthread_mutex_unlock(&refresh_on_max_lock); - } - -- if (par->mode == MODE_CYCLIC) -- timer_delete(timer); -- -- if (par->mode == MODE_SYS_ITIMER) { -- itimer.it_value.tv_sec = 0; -- itimer.it_value.tv_usec = 0; -- itimer.it_interval.tv_sec = 0; -- itimer.it_interval.tv_usec = 0; -- setitimer(ITIMER_REAL, &itimer, NULL); -- } -- - /* close msr file */ - if (smi) - close(par->msr_fd); -@@ -1226,7 +1179,8 @@ static void process_options(int argc, ch - case OPT_VERBOSE: verbose = 1; break; - case 'x': - case OPT_POSIX_TIMERS: -- use_nanosleep = MODE_CYCLIC; break; -+ fatal("--posix_timers is not available on your libc\n"); -+ break; - case '?': - case OPT_HELP: - display_help(0); break; -@@ -1259,13 +1213,6 @@ static void process_options(int argc, ch - } - } - -- if ((use_system == MODE_SYS_OFFSET) && (use_nanosleep == MODE_CYCLIC)) { -- warn("The system option requires clock_nanosleep\n"); -- warn("and is not compatible with posix_timers\n"); -- warn("Using clock_nanosleep\n"); -- use_nanosleep = MODE_CLOCK_NANOSLEEP; -- } -- - /* if smp wasn't requested, test for numa automatically */ - if (!smp) { - numa = numa_initialize(); -@@ -1988,7 +1935,6 @@ int main(int argc, char **argv) - - } - -- - mode = use_nanosleep + use_system; - - sigemptyset(&sigset); -@@ -2039,6 +1985,7 @@ int main(int argc, char **argv) - void *currstk; - size_t stksize; - int node_cpu = cpu; -+ int err; - - if (node_cpu == -1) - node_cpu = cpu_for_thread_ua(i, max_cpus); -@@ -2047,11 +1994,12 @@ int main(int argc, char **argv) - node = rt_numa_numa_node_of_cpu(node_cpu); - - /* get the stack size set for this thread */ -- if (pthread_attr_getstack(&attr, &currstk, &stksize)) -+ err = pthread_attr_getstack(&attr, &currstk, &stksize); -+ if (err != EINVAL) - fatal("failed to get stack size for thread %d\n", i); - - /* if the stack size is zero, set a default */ -- if (stksize == 0) -+ if (err == EINVAL || stksize == 0) - stksize = PTHREAD_STACK_MIN * 2; - - /* allocate memory for a stack on appropriate node */ ---- a/src/hackbench/hackbench.c -+++ b/src/hackbench/hackbench.c -@@ -25,7 +25,7 @@ - #include - #include - #include --#include -+#include - #include - #include - #include -@@ -34,6 +34,8 @@ - #include - #include - -+#include "musl.h" -+ - static unsigned int datasize = 100; - static unsigned int loops = 100; - static unsigned int num_groups = 10; ---- /dev/null -+++ b/src/include/musl.h -@@ -0,0 +1,28 @@ -+/* -+ * Copyright (C) 2020 Kurt Kanzenbach -+ * Time-stamp: <2020-04-04 10:54:01 kurt> -+ */ -+ -+#ifndef _MUSL_H_ -+#define _MUSL_H_ -+ -+#include -+#include -+ -+/* -+ * Musl someshow defines sched_* to ENOSYS which is not correct ... -+ * See commit 1e21e78bf7a5 ("add support for thread scheduling (POSIX TPS option)") -+ * -+ * Workaround: define them to syscall(...) -+ */ -+ -+#define sched_getparam(pid, param) \ -+ syscall(SYS_sched_getparam, pid, param) -+#define sched_setparam(pid, param) \ -+ syscall(SYS_sched_setparam, pid, param) -+#define sched_getscheduler(pid) \ -+ syscall(SYS_sched_getscheduler, pid) -+#define sched_setscheduler(pid, policy, param) \ -+ syscall(SYS_sched_setscheduler, pid, policy, param) -+ -+#endif /* _MUSL_H_ */ ---- a/src/lib/rt-utils.c -+++ b/src/lib/rt-utils.c -@@ -24,6 +24,7 @@ - #include - #include - -+#include "musl.h" - #include "rt-utils.h" - #include "rt-sched.h" - #include "rt-error.h" ---- a/src/pi_tests/tst-mutexpi10.c -+++ b/src/pi_tests/tst-mutexpi10.c -@@ -35,6 +35,8 @@ - #include - #include - -+#include "musl.h" -+ - /* test timeout */ - #define TIMEOUT 2 - ---- a/src/pmqtest/pmqtest.c -+++ b/src/pmqtest/pmqtest.c -@@ -24,6 +24,7 @@ - #include - #include - -+#include "musl.h" - #include "rt-utils.h" - #include "rt-get_cpu.h" - #include "rt-error.h" ---- a/src/ptsematest/ptsematest.c -+++ b/src/ptsematest/ptsematest.c -@@ -22,6 +22,7 @@ - #include - #include - -+#include "musl.h" - #include "rt-utils.h" - #include "rt-get_cpu.h" - #include "rt-error.h" ---- a/src/rt-migrate-test/rt-migrate-test.c -+++ b/src/rt-migrate-test/rt-migrate-test.c -@@ -27,6 +27,7 @@ - - #include - -+#include "musl.h" - #include "rt-utils.h" - - int nr_tasks; ---- a/src/sched_deadline/cyclicdeadline.c -+++ b/src/sched_deadline/cyclicdeadline.c -@@ -30,6 +30,7 @@ - #include - #include - -+#include "musl.h" - #include "rt-utils.h" - #include "rt-sched.h" - #include "rt-error.h" diff --git a/dev-util/rt-tests/files/rt-tests-2.7-musl.patch b/dev-util/rt-tests/files/rt-tests-2.7-musl.patch new file mode 100644 index 000000000000..3edf92b7eb17 --- /dev/null +++ b/dev-util/rt-tests/files/rt-tests-2.7-musl.patch @@ -0,0 +1,342 @@ +From 0b7a1e0d3463aa8aa4b7dcad0ec154e658d68036 Mon Sep 17 00:00:00 2001 +From: Kurt Kanzenbach +Date: Wed, 1 Apr 2020 20:15:24 +0200 +Subject: [PATCH] all: Fix musl build + +There are a few problems: + + * pi stress: pthread_attr_setaffinity_np() is not supported + * cyclictest: SIGEV_THREAD_ID is not supported + * hackbench: Fix include + * all: Fix sched_* calls + +With these changes applied, the rt-tests seem to run fine. + +Signed-off-by: Kurt Kanzenbach +--- + Makefile | 5 -- + src/backfire/sendme.c | 1 + src/cyclictest/cyclictest.c | 68 ++++------------------------------ + src/hackbench/hackbench.c | 4 +- + src/include/musl.h | 28 ++++++++++++++ + src/lib/rt-utils.c | 1 + src/pi_tests/tst-mutexpi10.c | 2 + + src/pmqtest/pmqtest.c | 1 + src/ptsematest/ptsematest.c | 1 + src/rt-migrate-test/rt-migrate-test.c | 1 + src/sched_deadline/cyclicdeadline.c | 1 + 11 files changed, 47 insertions(+), 66 deletions(-) + create mode 100644 src/include/musl.h + +--- a/Makefile ++++ b/Makefile +@@ -8,7 +8,6 @@ OBJDIR = bld + sources = cyclictest.c \ + hackbench.c \ + pip_stress.c \ +- pi_stress.c \ + pmqtest.c \ + ptsematest.c \ + rt-migrate-test.c \ +@@ -43,7 +42,6 @@ ifeq (${PYLIB},) + endif + + MANPAGES = src/cyclictest/cyclictest.8 \ +- src/pi_tests/pi_stress.8 \ + src/ptsematest/ptsematest.8 \ + src/rt-migrate-test/rt-migrate-test.8 \ + src/sigwaittest/sigwaittest.8 \ +@@ -131,9 +129,6 @@ deadline_test: $(OBJDIR)/deadline_test.o + signaltest: $(OBJDIR)/signaltest.o $(OBJDIR)/librttest.a $(OBJDIR)/librttestnuma.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) $(RTTESTNUMA) + +-pi_stress: $(OBJDIR)/pi_stress.o $(OBJDIR)/librttest.a +- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) +- + hwlatdetect: src/hwlatdetect/hwlatdetect.py + chmod +x src/hwlatdetect/hwlatdetect.py + ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect +--- a/src/backfire/sendme.c ++++ b/src/backfire/sendme.c +@@ -16,6 +16,7 @@ + #include + #include + #include ++#include "musl.h" + #include "rt-utils.h" + #include "rt-get_cpu.h" + +--- a/src/cyclictest/cyclictest.c ++++ b/src/cyclictest/cyclictest.c +@@ -30,6 +30,7 @@ + #include + #include + #include ++#include "musl.h" + #include "rt_numa.h" + + #include "rt-utils.h" +@@ -469,12 +470,8 @@ static void *timerthread(void *param) + { + struct thread_param *par = param; + struct sched_param schedp; +- struct sigevent sigev; + sigset_t sigset; +- timer_t timer; + struct timespec now, next, interval, stop = { 0 }; +- struct itimerval itimer; +- struct itimerspec tspec; + struct thread_stat *stat = par->stats; + int stopped = 0; + cpu_set_t mask; +@@ -503,14 +500,6 @@ static void *timerthread(void *param) + sigaddset(&sigset, par->signal); + sigprocmask(SIG_BLOCK, &sigset, NULL); + +- if (par->mode == MODE_CYCLIC) { +- sigev.sigev_notify = SIGEV_THREAD_ID | SIGEV_SIGNAL; +- sigev.sigev_signo = par->signal; +- sigev.sigev_notify_thread_id = stat->tid; +- timer_create(par->clock, &sigev, &timer); +- tspec.it_interval = interval; +- } +- + memset(&schedp, 0, sizeof(schedp)); + schedp.sched_priority = par->prio; + if (setscheduler(0, par->policy, &schedp)) +@@ -564,20 +553,6 @@ static void *timerthread(void *param) + stop = now; + stop.tv_sec += duration; + } +- if (par->mode == MODE_CYCLIC) { +- if (par->timermode == TIMER_ABSTIME) +- tspec.it_value = next; +- else +- tspec.it_value = interval; +- timer_settime(timer, par->timermode, &tspec, NULL); +- } +- +- if (par->mode == MODE_SYS_ITIMER) { +- itimer.it_interval.tv_sec = interval.tv_sec; +- itimer.it_interval.tv_usec = interval.tv_nsec / 1000; +- itimer.it_value = itimer.it_interval; +- setitimer(ITIMER_REAL, &itimer, NULL); +- } + + stat->threadstarted++; + +@@ -585,16 +560,10 @@ static void *timerthread(void *param) + + uint64_t diff; + unsigned long diff_smi = 0; +- int sigs, ret; ++ int ret; + + /* Wait for next period */ + switch (par->mode) { +- case MODE_CYCLIC: +- case MODE_SYS_ITIMER: +- if (sigwait(&sigset, &sigs) < 0) +- goto out; +- break; +- + case MODE_CLOCK_NANOSLEEP: + if (par->timermode == TIMER_ABSTIME) { + ret = clock_nanosleep(par->clock, TIMER_ABSTIME, +@@ -708,11 +677,6 @@ static void *timerthread(void *param) + + next.tv_sec += interval.tv_sec; + next.tv_nsec += interval.tv_nsec; +- if (par->mode == MODE_CYCLIC) { +- int overrun_count = timer_getoverrun(timer); +- next.tv_sec += overrun_count * interval.tv_sec; +- next.tv_nsec += overrun_count * interval.tv_nsec; +- } + tsnorm(&next); + + while (tsgreater(&now, &next)) { +@@ -737,17 +701,6 @@ out: + pthread_mutex_unlock(&refresh_on_max_lock); + } + +- if (par->mode == MODE_CYCLIC) +- timer_delete(timer); +- +- if (par->mode == MODE_SYS_ITIMER) { +- itimer.it_value.tv_sec = 0; +- itimer.it_value.tv_usec = 0; +- itimer.it_interval.tv_sec = 0; +- itimer.it_interval.tv_usec = 0; +- setitimer(ITIMER_REAL, &itimer, NULL); +- } +- + /* close msr file */ + if (smi) + close(par->msr_fd); +@@ -1143,7 +1096,8 @@ static void process_options(int argc, ch + case OPT_VERBOSE: verbose = 1; break; + case 'x': + case OPT_POSIX_TIMERS: +- use_nanosleep = MODE_CYCLIC; break; ++ fatal("--posix_timers is not available on your libc\n"); ++ break; + case '?': + case OPT_HELP: + display_help(0); break; +@@ -1176,13 +1130,6 @@ static void process_options(int argc, ch + } + } + +- if ((use_system == MODE_SYS_OFFSET) && (use_nanosleep == MODE_CYCLIC)) { +- warn("The system option requires clock_nanosleep\n"); +- warn("and is not compatible with posix_timers\n"); +- warn("Using clock_nanosleep\n"); +- use_nanosleep = MODE_CLOCK_NANOSLEEP; +- } +- + /* if smp wasn't requested, test for numa automatically */ + if (!smp) { + numa = numa_initialize(); +@@ -1876,7 +1823,6 @@ int main(int argc, char **argv) + + } + +- + mode = use_nanosleep + use_system; + + sigemptyset(&sigset); +@@ -1931,6 +1877,7 @@ int main(int argc, char **argv) + void *currstk; + size_t stksize; + int node_cpu = cpu; ++ int err; + + if (node_cpu == -1) + node_cpu = cpu_for_thread_ua(i, max_cpus); +@@ -1939,11 +1886,12 @@ int main(int argc, char **argv) + node = rt_numa_numa_node_of_cpu(node_cpu); + + /* get the stack size set for this thread */ +- if (pthread_attr_getstack(&attr, &currstk, &stksize)) ++ err = pthread_attr_getstack(&attr, &currstk, &stksize); ++ if (err != EINVAL) + fatal("failed to get stack size for thread %d\n", i); + + /* if the stack size is zero, set a default */ +- if (stksize == 0) ++ if (err == EINVAL || stksize == 0) + stksize = PTHREAD_STACK_MIN * 2; + + /* allocate memory for a stack on appropriate node */ +--- a/src/hackbench/hackbench.c ++++ b/src/hackbench/hackbench.c +@@ -25,7 +25,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +@@ -34,6 +34,8 @@ + #include + #include + ++#include "musl.h" ++ + static unsigned int datasize = 100; + static unsigned int loops = 100; + static unsigned int num_groups = 10; +--- /dev/null ++++ b/src/include/musl.h +@@ -0,0 +1,28 @@ ++/* ++ * Copyright (C) 2020 Kurt Kanzenbach ++ * Time-stamp: <2020-04-04 10:54:01 kurt> ++ */ ++ ++#ifndef _MUSL_H_ ++#define _MUSL_H_ ++ ++#include ++#include ++ ++/* ++ * Musl someshow defines sched_* to ENOSYS which is not correct ... ++ * See commit 1e21e78bf7a5 ("add support for thread scheduling (POSIX TPS option)") ++ * ++ * Workaround: define them to syscall(...) ++ */ ++ ++#define sched_getparam(pid, param) \ ++ syscall(SYS_sched_getparam, pid, param) ++#define sched_setparam(pid, param) \ ++ syscall(SYS_sched_setparam, pid, param) ++#define sched_getscheduler(pid) \ ++ syscall(SYS_sched_getscheduler, pid) ++#define sched_setscheduler(pid, policy, param) \ ++ syscall(SYS_sched_setscheduler, pid, policy, param) ++ ++#endif /* _MUSL_H_ */ +--- a/src/lib/rt-utils.c ++++ b/src/lib/rt-utils.c +@@ -24,6 +24,7 @@ + #include + #include + ++#include "musl.h" + #include "rt-utils.h" + #include "rt-sched.h" + #include "rt-error.h" +--- a/src/pi_tests/tst-mutexpi10.c ++++ b/src/pi_tests/tst-mutexpi10.c +@@ -35,6 +35,8 @@ + #include + #include + ++#include "musl.h" ++ + /* test timeout */ + #define TIMEOUT 2 + +--- a/src/pmqtest/pmqtest.c ++++ b/src/pmqtest/pmqtest.c +@@ -24,6 +24,7 @@ + #include + #include + ++#include "musl.h" + #include "rt-utils.h" + #include "rt-get_cpu.h" + #include "rt-error.h" +--- a/src/ptsematest/ptsematest.c ++++ b/src/ptsematest/ptsematest.c +@@ -22,6 +22,7 @@ + #include + #include + ++#include "musl.h" + #include "rt-utils.h" + #include "rt-get_cpu.h" + #include "rt-error.h" +--- a/src/rt-migrate-test/rt-migrate-test.c ++++ b/src/rt-migrate-test/rt-migrate-test.c +@@ -27,6 +27,7 @@ + + #include + ++#include "musl.h" + #include "rt-utils.h" + + int nr_tasks; +--- a/src/sched_deadline/cyclicdeadline.c ++++ b/src/sched_deadline/cyclicdeadline.c +@@ -30,6 +30,7 @@ + #include + #include + ++#include "musl.h" + #include "rt-utils.h" + #include "rt-sched.h" + #include "rt-error.h" diff --git a/dev-util/rt-tests/rt-tests-2.6.ebuild b/dev-util/rt-tests/rt-tests-2.6.ebuild deleted file mode 100644 index 91afebe3ca79..000000000000 --- a/dev-util/rt-tests/rt-tests-2.6.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit python-single-r1 toolchain-funcs - -DESCRIPTION="A collection of latency testing tools for the linux(-rt) kernel" -HOMEPAGE="https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/" -SRC_URI=" - https://kernel.org/pub/linux/utils/rt-tests/${P}.tar.xz - https://kernel.org/pub/linux/utils/rt-tests/older/${P}.tar.xz" - -LICENSE="GPL-2 GPL-2+ LGPL-2.1+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS} - sys-process/numactl" -RDEPEND="${DEPEND}" - -src_prepare() { - default - use elibc_musl && eapply "${FILESDIR}/${P}-musl.patch" -} - -src_compile() { - emake CC="$(tc-getCC)" AR="$(tc-getAR)" -} - -src_install() { - emake CC="$(tc-getCC)" prefix=/usr DESTDIR="${ED}" install - python_fix_shebang "${ED}" - python_optimize -} diff --git a/dev-util/rt-tests/rt-tests-2.7.ebuild b/dev-util/rt-tests/rt-tests-2.7.ebuild new file mode 100644 index 000000000000..d11236401857 --- /dev/null +++ b/dev-util/rt-tests/rt-tests-2.7.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) + +inherit python-single-r1 toolchain-funcs + +DESCRIPTION="A collection of latency testing tools for the linux(-rt) kernel" +HOMEPAGE="https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/" +SRC_URI=" + https://kernel.org/pub/linux/utils/rt-tests/${P}.tar.xz + https://kernel.org/pub/linux/utils/rt-tests/older/${P}.tar.xz" + +LICENSE="GPL-2 GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + sys-process/numactl" +RDEPEND="${DEPEND}" + +src_prepare() { + default + use elibc_musl && eapply "${FILESDIR}/${P}-musl.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" AR="$(tc-getAR)" +} + +src_install() { + emake CC="$(tc-getCC)" prefix=/usr DESTDIR="${ED}" install + python_fix_shebang "${ED}" + python_optimize +} diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest index cf79385a0f5e..3f9f9ba5b8f6 100644 --- a/dev-util/ruff/Manifest +++ b/dev-util/ruff/Manifest @@ -13,7 +13,7 @@ DIST anstyle-1.0.6.crate 14604 BLAKE2B 0716d0dbb62bf05c63c2bfe1c689896660073a423 DIST anstyle-parse-0.2.3.crate 24699 BLAKE2B 17e8638187ccc1ca0174a8cec7f7daeee7e0d8b8c430f7e74f9b10d8de4b49fd1c6facfdafde305b7a3e55b1ebf2b4e8ec4975a0cce691514ddae9eb5b5e711e SHA512 4a6d0f706d75c9b3c5144f34efdef3ef8fcd075962c594a23a6209ed56112563a34b3c01e05a08a0868d59204272d06211b2585cb9d06ce075ea875bedb2f399 DIST anstyle-query-1.0.2.crate 8739 BLAKE2B c06643e8616f1f4469a32f9c0512941ce53ac5db9ebfa7a5b2f19233040cd4438dd2ee69ab89ecbc1c239e92b674dea9df15ed673408c6f3fe21787cc17d76f3 SHA512 f409b624cbeecf58fd87c47f85be28cae1fe48f65d692195fb80854c514e38c40d0e0ffad3a5b388a3929c47bd2060302ebb635aa98dc57329f3a5ed7be3e2dc DIST anstyle-wincon-3.0.2.crate 11272 BLAKE2B 73e124773f618a744b17017d4680ec6ccc84ff94fbe2e565073fbcc0facecd3cb65356cf27746d07f453bc917cbeb2ade3a618c6b8578d64cff4828c99569868 SHA512 4cc194faacffa01c6989354c1cadbf1134f0945250f67b7020ab5b475e30db34c799176bd335a6265386cb9c5e8b5bcbdf35894ec0c809b140ffe1c406751931 -DIST anyhow-1.0.82.crate 45361 BLAKE2B 558bac4de847a432fc80427e7be4e78cae4b01c4da852eae2121416af4d7e6ddeaeffd7de9bb69e55340b9a228436b975fdea88e380391a77c782a3776b835dd SHA512 e0d25a8c0b9c45e1db2072618097aff3908f70bfcbf0963d3c9dd9c97be27a85c4a763c5cb74e1ccd1b0a2059360e0879df4be80e10e58e0a5346b65f4fa1a69 +DIST anyhow-1.0.83.crate 45650 BLAKE2B 522121300f10688756aac1c39e83e867e20b9f142fdc1bb87732d8a64f6bf67411f1e35542fae7aa036d9221412a29b47acc75de8a2bb019bab90fece55e2c86 SHA512 4e4b29fd0a97ac55269d23efa399a372ef6128e1909ce464f178ae91fc61dc90a5867cd2a7218205f53988aea8cff6649302f7f6f12e07d1b5d3472d4c5eaaf3 DIST argfile-0.2.0.crate 9042 BLAKE2B dbe5f6061a18aeeb6ff09e7d7c03cde0077c0fb643c44baa6bb0194bf79a1e6178856d58f5a2132603228821483b1de50ff54a27434fe9fa59f5bb58524cd42d SHA512 f883df69a34b00c132fa8f5d4b64768e8136773aaa3a6c748ae001301485a4cc1af603d9940083c3f7b62d29a3945850b7136be9b49a7f2066579582583b51d5 DIST arrayvec-0.7.4.crate 29856 BLAKE2B 81ffac1db340e919618351819def3880ab1ef70d0acc47d680f15298eb749bcbc3bf7944ba14159be46b1e734c91b4c0f8cbaf774fd864c17caa3c9fb1fc2e9b SHA512 91e8f70330c515c966d78ae235e890594f9607381ac738a2c3586b53f01411e98d1687494f39ccc365948ae60497df3dfb2be18e26ab7e69bc0966b6c250e1ac DIST autocfg-1.2.0.crate 14808 BLAKE2B 122327d6ffd32e08dc9fbdb4dcf69128b19d56280f9d934311b946741003b40571cdd1f3ef54b2be02c8dc505aea11c962b244d33a92206bf4ee8f6b2b9da432 SHA512 66cbfd13e33b36284cf4c74c8d654f93adcc45893d127d9aaa4c1d183e47336096e72d74e7c17dd481fb7a98931ab6cfec7e4d4165cfb491861d4e3ffe2416fc @@ -140,7 +140,7 @@ DIST linux-raw-sys-0.4.13.crate 1493855 BLAKE2B 1298a038276e2424eda9873c642fb43d DIST lock_api-0.4.11.crate 27487 BLAKE2B 87116cf908f7f1f9c300cedded989df305f855883e3df5a482de2c76814c48739582d3079d76a2bdd14a6999204b7fd31dcd8fd06d1dc7f9418f0e2f70a1450e SHA512 9946adf313a5c67a0dd87a1b679b7d9d16a86149fb95974d3f28aa57a9a1a3932e4a5ee1d332097559329c5e3b2295be2e4b655b115d9f75269f33a758b17fb3 DIST log-0.4.21.crate 43442 BLAKE2B 8429b3270794d3e2c7f7d5b58bd4fa1abb9d4807ab3a1ac980ac81c11d9544635003d8cf2e608c2c0094865459108a2879f280278e121df68d09bc1561d604ba SHA512 0becc1a06b6e7048cff6c0bb8df49a16ac4772133c00239e9e9459c0811e7715c500f440cf1a9aef8d7ad74f57434559ca9b55917f588b8e476cf36eb6d4e10b DIST lsp-server-0.7.6.crate 12133 BLAKE2B 1858cfa3525d0d0f61c1a988c38a1d02afa593bef53608c9f033861e0df91d833569563acf3266958807e8daadb80f9367f4435fa3f05ae40e362626ccf9c722 SHA512 d9b35963ae171505413f1879879e3d5bec2c36cc50dd2e796f8e209768608b36a7d77ae441128f939f15f743f994c2fa479c7ec1a53296d3b65d44e969bebffd -DIST lsp-types-0.95.1.crate 68324 BLAKE2B 3275136692d7d722d1adfaf7f051534ffc04a10d70cef470820cf15bbb6c6feb56636ae536ef28b0997611efc235c345004752bbbf10f1bbbc57d61642cd3adb SHA512 5358645b22a4e43cfd227c2266333a019bf9ac4b4e3d42d0bbdfbeaa25a6f02c405cae89a0caed719103ed87c4e68ee270f13a43f614008e753ad69ad6f34414 +DIST lsp-types-3512a9f33eadc5402cfab1b8f7340824c8ca1439.gh.tar.gz 71124 BLAKE2B b2ea1c8fdd96dcc78ea48be71d1a4870fe1ff7f6a03dfe96479e0cba5f6b13ea68381d0a85fcb79a1ec2345eab7032c76cf567a813885128f94ac0c47c3de7bf SHA512 3362f9db4e78261825ae17b3429f9c54dc1b32a8b6a275ecff7bbe457c610d27ac37e68be3e9e27378f5f54c786dee787fd87b33c102f2507a46cf7290390ab5 DIST matchers-0.1.0.crate 6948 BLAKE2B ec3a5d01d2fedbb4dbf5bb185afbb9401410463a61f51674e0df6a571db352b2bbabfb99cdbdcfb4e511ae783165bf0258f5163f240a229b9087f9edbd0df41a SHA512 84214c1a84952d85631aa1ab5115df7cda223ac64e2acf055b6129ba1aa26ddc87615a8b51ca890ce3fee0419053fa7fe1599ae128f1d211b58c07b0c4af3b19 DIST matches-0.1.10.crate 2592 BLAKE2B 6e9e8ce8ade3fa0f144a1befae104f63764f8346fe864395be44f99d40ff0fbaeb45b6f2fafb2e7822d1ca72f1cbeaee4c5f9bc3e2485cfef2b8de2a4183ec04 SHA512 2248c6192238a8eda2dc389a5c27357555607b726d195c36c4cf647f793a4a9e17ecdf5145b5a4d8fe6eba7f9b23c7b2db1cbd553f5610d25976e3709bc2fe4d DIST matchit-0.8.2.crate 33260 BLAKE2B b2781d1656439d471c709ecd26a763da032652578ef542394e92d0b1649478beb059b4445f290c1709191af48bb9841c30b733b2d48c4c5d776c24c244a31f52 SHA512 b5a478212b3fd7defc7c92c653c203c1be84bd0753391c17c2bb20c795f5d1462b34bac88f5b067e71d6fca0cde83e2157aafc9c09e950819d1a2b86621c34a4 @@ -186,7 +186,7 @@ DIST pmutil-0.6.1.crate 10997 BLAKE2B 49f7ae8ec78b45bc595ce6270a1bbe8ca5ad000767 DIST portable-atomic-1.6.0.crate 140689 BLAKE2B c91d06e04a87c9a207233d8a850859aa1f5cc43dda8aed34511c3fe9641c27412796539ed045a58e649d2a0c7d71100b6b2d78a0c662fc061fd961a652ae8722 SHA512 b27cf57655a2f1e2d6ea7b45d80b4f9920a836e462f132c50dc1e4d314e162444309de1baecf45dad2defc7a5b99759165e54da9fe759b24092f8cb8755c515c DIST ppv-lite86-0.2.17.crate 22242 BLAKE2B 48c4a31a3b555fa37072c4de083580bb769747c7668748541af472778b5b58c3e7ab2b5e178760f542f973774f09910bdd4058ae5fb9d6b10c103eb76cfd0d3d SHA512 539d916e7e5869d832045c1aa88aec519bd000227f9b01d4dd0bfc9ffb640d5f5eb21b05eba718174773c97192a655ad3cb31b53ceb914dd19179a6699b3583a DIST pretty_assertions-1.4.0.crate 78846 BLAKE2B 68583c49f81ab0cf5b90f6de10ef3aae9b525288fec25f9d006f2eed0877c0fa742dad5f878fc78233b54c0cd32dda7ac1f7161bfb475288d8858e8e40aa9e1f SHA512 f76d38c787e91b3739272e3bebeb9763d312b85a43cda5e1311ba8d6b0e4da1ef25bd66208e772b1cf56a34553ee560482b5ad19c5290608b2aaf9c0d0f0e995 -DIST proc-macro2-1.0.81.crate 48233 BLAKE2B 94319064772c757b6bf57eb9e759e827454f719d82210271ebab9c6ee4ecfddc9099522cdc8595123efe2efb64fd50eadd7e31419c5842ff1cb8fdd32e8daa0c SHA512 7edec4b786d9fe076ced4fa5c0d369c163fd1c27c895431245a8268ab2e16665b7c0a585552d46ceee6b8103979a4201f92abb381f0e678128abed359f514de7 +DIST proc-macro2-1.0.82.crate 48452 BLAKE2B c01f60b788c1395d1041d7eb55fe9519ae4e78f86e3dfa732458747767ff801fcdd5a19a81ee9a8d8cd2457eb0a2bb7cec118299a5a9a64d65b5cf06b9d81165 SHA512 3726463868483243adce01c319c1deb1ab153188f1adcb083b53bff838fa80371091bb8e20ce88709ea850ab3ef74dcd99ca5aa95fa375b330841fd4230c842d DIST pyproject-toml-0.9.0.crate 6041 BLAKE2B 43947f872bffbdc37e1be5c8e0654f94ff0339c71244a519ecfaeba47a4204bbb004021bb5ca48cc07bd2be9146c288afdbfba8529b9d461798d235af390eaaa SHA512 d6475d4bed6a74392a0322dcf1d0cce2f8974616afb931270eb410e7c44fc8750acb1bd250b89203eaeda04efd5845e38d7618f762c3946012d5d3e77180b610 DIST quick-junit-0.4.0.crate 20136 BLAKE2B a5b31361598f2b8edb18730fae091a824079dca4fa657c6482b0fcbc8d5882c1170eed313948a691b8addb0de5bbc44b845381e9b4d0285f523273073b88ce40 SHA512 fbe82e4531e7028d9d10ecdb0f1a2e3baf2231a0f7e7e28ca3dc3920c391b83972b9289a14c7f41695e5568e669164444f3e7ce562f3754a407271dc9aaf82c3 DIST quick-xml-0.31.0.crate 172236 BLAKE2B b83c7f485a30576027a4ae77aa23cd6284942d786f0f0a14faafdfecff646371ba15133b3ba90f820183c8537c8ac47ad3e1e7deaad65e56761bc662be406026 SHA512 9b1f4f9c32694ccb244938a9a4e9373c3902314afb6af5d2f6b1be55e5ec63fee5cf1085f8f32161570cc10fdd96f3375c7564b1d884bb152542b86593f175de @@ -206,7 +206,7 @@ DIST regex-syntax-0.8.3.crate 347497 BLAKE2B 9ac2f63098ffa3fff51fe2bc0bcf9ef164c DIST result-like-0.5.0.crate 4342 BLAKE2B 23ca46c346cc409dbf959bc7a7bf8d81e219b2ad352a1eae7f7195ee9b8573a89c495d38d5e53630a49a993a07b4b54074c8f324b97a1d9435040f7490bbf5ba SHA512 581f36be8e9affaf3d7bd8a57506e0570aa04c77faed27f95cfc7297fcd5653125e5cf79bc51b16a08c56ce5935d39685ec3e3a61bafc1e869fa2fffdf19704b DIST result-like-derive-0.5.0.crate 6718 BLAKE2B ddf707ee5a4d838052f0b97259a5862c22738419a8ecd5f10d0a1c5f62b572dd46c79b631370b4c6c9a00d87828171bbf240ccd19cd6e6973c2e42908a5c52cf SHA512 0c1951599d76aa0d6586242eea9b41700cfa1b2d77f078c46b9e90f9d57a69a198c46b6f697abfb7336224ba3f388d8233cb77721b74787c5e23b77f9ad37307 DIST ring-0.17.8.crate 4188554 BLAKE2B f531b15cc5cf88f2ef00b1708473a7e98a42dbbd026027ef2c42f2d8bdba0eb1665621fc98db618252f6a131bd54b1493987a0285bf2b9a22eba4c9409ee1cab SHA512 e4966409a4078ee43bfc9cc659d08ad28419effe2a729c8c275361a7fe0620a3c727009bcfb1d0bab265af2bc107b50c19d868a4e80da7a8bb55f97e8b214358 -DIST ruff-0.4.4.gh.tar.gz 4751471 BLAKE2B 41fe1a7814bed12260d2eab3ae39f8039a2dde7210715905d41500c235b6def9c6cf4c4feab0bd09964a729f830cdc30dc377e980243791fe388e3faa464e5a9 SHA512 d5b14266d30920e4772cc690e263478abfdfd08865ca7cae64b9184566e172fc5c70d3f9463967cc431bb12bff9c97333835d3773fa70462953aa9fafd47aa0d +DIST ruff-0.4.5.gh.tar.gz 4799552 BLAKE2B 7d91f05532d1ba06a3121cf1abdddae23378c2b700cb7af11e7012e9994bc70e6f6a6ffb5ffd50b98846cc9b1e8ce41a8c0f1c411f54daaf68b37b6214fcf51e SHA512 c2b644fc2c9ddcdba7bd846c2cbcb4a92a8b89fcfb735e67a4d93fb2b22e1118cad85f835c4ba8d1fea553fa86a885b1caec8bcd4ad9b84f858a149308481507 DIST rust-stemmers-1.2.0.crate 2351301 BLAKE2B d633c0d7091fd05e55a521670104831bed89deef7a2fb7c1eed3528246e65b67a97888fed48b134b10c477e7b95c034e8bbad70500c779b1ff7b0c334de0b37b SHA512 b9453a0984d41e5a692e5ea1a8a7bc6142de30f7b345a269489b8d4ebe3b3d442e7fe5f338c72a790521dea7a2ad9605c0ca8218a6b76d8bc5e19ae02cf711d7 DIST rustc-hash-1.1.0.crate 9331 BLAKE2B 16ac56622897f47a06b661fb59a196b08d48e782ab87549c8bd5c6fe92f374c9bfd44dcb36588512bd9b6125c2fd79a12d648aaa308fd9694bcca3a7c1b49ac9 SHA512 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544 DIST rustix-0.38.34.crate 365160 BLAKE2B 02513c2513ac45897b659f0d332a0dc32401d238b8fb64ad4a90ecc4d8952fb042c0bde4bf13d52630cef34e73e96dd32cf772a8601b4f6eb5e2961f0a394add SHA512 717cf26e2ec792b41819ff964888adb265a215d2b6c6e2b7a8ca1f7f793b713b853bba9cf03c2cc88b0f9a5eb1a0478faedbc05526f39bd81583e7b1f764756f @@ -216,16 +216,16 @@ DIST rustls-webpki-0.102.3.crate 197543 BLAKE2B f39081c4e5938f3ec6dcedaf9a0c8832 DIST rustversion-1.0.15.crate 17406 BLAKE2B ef68a3a83e11f6734be94117e5170f92f9e1211d353a81b45ed11d4c738278c7f519ebfc9896681d564698fbcc579da10f97fddd77d56b14dbb96b90e16ea811 SHA512 e0e37511c25b71a64bd6f91cd8b29e43c4073ef56196de808634f3408cc297fc7fda1316a5adc5fffde9192b7d64f1940deb7cf396277a3805e89e15b2a855da DIST ryu-1.0.17.crate 47537 BLAKE2B 28408e17a4322f1afb6f21bc8d7328c39d07186de4d464f8e9bd63a69757cb4af61b46e558075e14836f310f020ac824d5ffa616fc0a5ffba59b9df0bb66ffc4 SHA512 6dad725c4fb2d3a33ea30107b63cb702eed56bd2f3c16a72265f648f5aaefcd3d5a7b919b1d037af926cc6311bc68ba58c4e0483da2b2e2135c6a7c2d6601af4 DIST same-file-1.0.6.crate 10183 BLAKE2B a320c8343e0b38078ba81c4f0159d886bf47764c74efe0d7cd2b3218426e8341b51e523c00a9e5fbc2ee1057618296bd70b576c68751bd55d6ddb352defaca15 SHA512 3ba35309742c8db63210d9ea78bff4ecd80471d69e6238eb96c7bf0673814f221e2d838fe6311bfc5a0e71b4a7ccba33e07859c0b9cff2171969ff08a4214a7c -DIST schemars-0.8.17.crate 57010 BLAKE2B 122aa078d5deb2279e3ab9f8228817ea9d17701f1030fc0e5874469a78d8385782ffd50b2ee729a8c309764ef31ae3121480639200de28986e44fcd3218d6403 SHA512 89f210e853340f77df380a513c46b7070b5d7160180565c0a5f79a98953b7954b2db8ef3d4f468233b4e4e42efb5e5a9bc4e24ef50f042767185be4bc3a9534b -DIST schemars_derive-0.8.17.crate 19012 BLAKE2B eeded2b034bbe7467abb88a3a078776aab32280290e796dc4570f6c9f0f25f0a7bd1133cf286862124e5044803958b02e58b5ab539a0fd3669619bac543c9838 SHA512 751085648b6e0d2b37f80820348021f8e9c19e76d0ea187079f7b67d1da9316c62faff5bff62a60d0f3349b0144c98c760bdbb87c2d1bbb5820a2e1c24163998 +DIST schemars-0.8.19.crate 57998 BLAKE2B 11989b2e499bac83e249281905116af378043b0e27094d0a7b5f21c1dd0c31bf42ecea3f5c493d813c4434d11a41ce82b3f1e9491d3e5429a42f78fb5e8b9c17 SHA512 57ab33c69a39509bfec92b4f8ed6e3cd517c2048acb4b876b4f9e98fcc92cea3fa86e0c131e91f621c2d2625cba11a3e6c8415d3f8d70b9fb95b374af045917b +DIST schemars_derive-0.8.19.crate 18707 BLAKE2B 1556584272b4a4eed7bbbfab0a60977858d79bdf1d7cc84bc08a42a4acc336294fc4052e429825080ff556c1bd98cca2ecbbe04d492ec01c684d592d7839f536 SHA512 91daac7c79c48633212c522a97785157bdec3434cdfc39a4bafe4b74d9b16bdff279630a5c801348bfa55375226aee27fd9c11d9f184248d9d5df2d1eee2cc63 DIST scoped-tls-1.0.1.crate 8202 BLAKE2B 20be49f0546691bcff3f0fc257345e432e200836a60b297ff3fe698699ef6a2fe8a5dc6977902a08f7dc63c578aa27607dae0f1889b849c257c59c48a458e1ed SHA512 342f43d53edd33ea3e2197faf5dce37bfbeb0b20b6f0febad4dc6244c3185df127b2c10488e95561260a0ef968f32707460f2d0d23667cebece19b167c0a0c25 DIST scopeguard-1.2.0.crate 11619 BLAKE2B 8b7e9ed6cefef9ee55407fb9690d57a2a98bb93e5105aeebdb475a52485e9e185255249e1dce8f83cd80534e7402d485aac3efa7e8493b13135de27550cd4bc4 SHA512 6247719a15fe1e4e2d179127b9a934bd2f99367724f41175ed9522f58824b6bc69b35002eae66b35880375ff61d77ac43ddaa78cbde7160a35183a1da32d3fbb DIST seahash-4.1.0.crate 31976 BLAKE2B f553bcff7af9da9b024efd8db4ec8cbe4100dcf4ccd8f627c724fe4a34b678ef0be8da44e92ea55c4622b9f9f37228792a22c8bcdd54e652ca926eb3c7d37655 SHA512 4d9111dd2e491c7f6d49e0b79a3c23628c02d6603ac46e88ed137ca737830003b549ccb38087679de2cf0b02a53065b89f8d79e0ac9ddb66844d970cc6383f8b -DIST serde-1.0.200.crate 77611 BLAKE2B 57f4a76cf534ffda009a5441e694b0ac87b30e470c97d77bfd572eb54f039c3cec56f9bf5e035e4b3b257ddb341cb4b7fdb85ca3c4684167220dbb98d1e6a762 SHA512 d4d01d62e7338b147f83bdbe358813e70b7ac218ddbdeab534926d205d46f86e2086f73a01f453c9d4a3bfed07e10d57ebd1f86bdafd4fe96c6298f1e527b8eb +DIST serde-1.0.201.crate 77725 BLAKE2B 3cef32b1c026215e83d84dc7867e93b3c76dd683be0519ea17de25ea030d8cbda9031a54636f254026ddd30d96033d217cd81a8bf50cd7b3a936000bd47a3736 SHA512 d422f16277b59d756f7e85e6c589a28f4134ee221968eedb48bde430b63c3cf6d379ae8f03249439f984c66e0a9639238159b42879a9fa03fc49b167870ce35d DIST serde-wasm-bindgen-0.6.5.crate 21098 BLAKE2B 34b7a66752422c21031fb21202c8405c43a1e6758eb067b4fafeb24f812280e70bf16c27bbcfa4b4b5723e369bca81e42020677787a79277f32f71eaab6822fd SHA512 c457b1e8c83760d94eaf8eb49169cd620cc1fd8246af8953503c2bea9c4ae916f3de3b9070bfd4102a713f8d843b6ee96404e27b21a48c589b444aae0f9303b1 -DIST serde_derive-1.0.200.crate 55785 BLAKE2B 45eca5504aff6bd099a42dfc794cf732c7e76e5ed362d16082ac069d29e1e6c22bb3e13dede4bc498df8f008bdba15479de618380f37c9742a34d97c9ca12efe SHA512 e70f0e092d81542a96b33610da8ddbf04023d8ecc1fa4a4f31978699c118f096e8534f9e3e4e479ee74280efb86d752dd1fce038ef2def329fdcc10c1aa50942 +DIST serde_derive-1.0.201.crate 55865 BLAKE2B 2ab2a02a7819a12ebe44697d97d24ed61cbff872e3a1df7a33671165619619a1826e80a948a85f7508db024d4480ae1e91ead5944eed3d011fb0f449d1983738 SHA512 925b7238cdd833dc3eebab162e4f18eab9fd533178b957a7a3149079a10a0eee598a3048ddab6f16113467e8eef78604e3bdb26ec7e30184aa0202b1f4267cf8 DIST serde_derive_internals-0.29.0.crate 26065 BLAKE2B 522b09f139554a52201ac397323f0124b809e9e9ff6329b34afa99f90cdf65fb3cac8370d6ecb712b72dd8b5a1d96f7f7c4ffc9ac6718eaa8a66e1aaaa28d891 SHA512 ee6e53fc58aaefb2ff953bf58ef90af3c74151f5193fe7a75d8afbc6e3dfb83d54c514ee1403b5283bb7d25ff71d24c1d8622bf1bbe940e2ab8821938d4dff21 -DIST serde_json-1.0.116.crate 146790 BLAKE2B 20492ac3c431fd3666599f079383a9d945549e02357127a58acaa7011684ef0caca221a253218402ceff6956ee8a20cc41ca3394b25bb69669be75ab22b66a1e SHA512 d383de754b0a50cc4ab3e6378b758ebd6178ad32ebed80cb4e32a9d8e81d0c689585ee5cd35f12b376e488d25ecfaca659be943c9bb4104b63a1c4f9ded2f337 +DIST serde_json-1.0.117.crate 146921 BLAKE2B fda4f87c300762c24163cceb449bb27fc96b089d5ee869b89f204dbeeec704231cdea7a14bc303cb40b621288fcb1a2b03f50552767e32a73c982d459762624b SHA512 363443af23e8e03dd17c0efc94b376f0d89b596c74d70d0437471e78bc20c6beb61da59404ff150af52000162f6df728ce73475feb828c453e58ea43e66ca056 DIST serde_repr-0.1.19.crate 9997 BLAKE2B 1bfc8e94b8c3cf897813f4749d6a1112c1097c2c257821eb366073a41ac46084a21bdc0ee4e3b99d82444619a894472e24fccb60cbd8a41ab7d5b0469cad7c41 SHA512 678216a62702b3300fef850f10ee60d88f31de1fbeb7300e3fbbdc4e4a9cbc95c6890c8e7b9385223ec837d9504edd53e69b620f80609e54579c0994ed1ab0a1 DIST serde_spanned-0.6.5.crate 8349 BLAKE2B f4f8f798ae3a02c0d5178aa12a94bd1bc08fef88b6a81d782ba07ba36fb0d89927ecf621087faf376b6e53de12f6a96e0880ce0cd01ecc31c5dab7dadc6f3ff4 SHA512 bffe2398629ae5a5a5bb6d5fc2fa0f4b94d02c96e25d1be2fb9ad95d8ca2fa9bfdeb3af11049ee9c050e497f3beca108f03020f88f6de29b208063c3898af354 DIST serde_test-1.0.176.crate 18390 BLAKE2B 2f4bba264e75ce33023fb6d46f59c2a908b57a70b72e13a8d9832d2c15ad5fe17d3013bcc4ccb52f35295b9422bde2acd20c64c1c4cf28be620034bdf4f5266e SHA512 a7d18de55a4b4e6871d62a5df63eb2132caffb7922edcb767a9ed8fad094d9aca16efe8bfa3b625f48a543cd4cb20c13d78e5ca9ed3965cfdeda9c9fa8bc9a0e @@ -246,7 +246,7 @@ DIST strsim-0.11.1.crate 14266 BLAKE2B 252a9ede4241b165525486aa8855dece37af77f5b DIST strum-0.26.2.crate 7189 BLAKE2B 7582fe304551e98b121d3a386af22bc022d7d11323b81ed9c2d600c8d2496077c09bdc8dfd78a636c18b9f522808b2ea54cf8b669419b0c89fcb6b232eade617 SHA512 819cfddb3028d5267842cdeaf17d37569eb18c957cb78a055b25d9ee1b8461026dab9bd980da4a89ac7b2858ff22880e40b46a72d7695a5135b84c4b7e5026f3 DIST strum_macros-0.26.2.crate 27056 BLAKE2B c9df13a91dd08f8bba0dfeec4fc03b59cd74eafaace7d2d228b8636264a9ea11137d0be741a936f7290e09525586818726000f07ed84a5ae711b89d61f52e89e SHA512 519bc654adcf131d85d1ef83f62be2429f7472df25cf962fdc1cf5070d33c39dfe71f08fbf296df9b85fdfcda95cf2fea27e8e52e9ae93de27bb8fc4a5b55dd1 DIST subtle-2.5.0.crate 13909 BLAKE2B 660c3a472ca54c9843ce3feea74b802e27fd7f62dd37a30e2a4ba82e4b3a71df63562e8865d5fc675d31d0900998a8730503f91a61450884446a3bdd6af0041b SHA512 f150b1e2037554f8cd3213a54ddbc258f8f670cc4f39e7084cdea4b47538dbc58b834bc93b443d58a4b9087224efc003234042aaf366687dbd32b1e7174082a0 -DIST syn-2.0.60.crate 255808 BLAKE2B d7a8e415dd72267fd92da48ba8b3e6feb728f0639797db1aa74aeaa2a57935b7565eec37cbd32eec826154e2c54075b121737369eb15af36c322c34b3cfd7930 SHA512 20bfa02b03c193672a9922f9a5e196185341e082a262f7c00d7c2d467d9e2d77f4af3994634923cfaeee34aa9eab510415165f052ffd9b1ed0b1b581e272898d +DIST syn-2.0.63.crate 258075 BLAKE2B a6d0c01640925c7fc0513b0e03dadf2439a1fa488177551cb9b894dc1c7c98882287dad1883d6b1e4b22e74ac66c6eab78766f7afd1ab0e2c8aec9ea5cde4249 SHA512 22d82bd1a0206fd326d6004245fe2538db9aed2ccfb58e9dd967030d3c63ca4ee146c501e21ef854910b89bc11d09d953b6d4139df63b53584127c03d9ea6ce2 DIST tempfile-3.10.1.crate 33653 BLAKE2B 819b183e7840f70270883ee8b6a91fa09861c3112eaadc65007199885abe099bd593e1cdc4d9ab48c23490a6d484cad9bf0e80cf4e718c369cc2418b72eaf09c SHA512 bac7515b85b0d01ea914b527f0fadd3a4d8e77c9eabe786977d2625d8a3e91decaec502dd15bab4d49a43597fa7cf7660fff4be1b043112d13b542a72443bf39 DIST terminal_size-0.3.0.crate 10096 BLAKE2B 097ef50a85945128dcfa36d8ea0fb15f11142c206462a32980dbbba4fe2872abd214823fe3c75e804f3159a97d6e929ec338860e9c89587da509fb9e6da5d339 SHA512 f3bc9144aa8a87556543584a2495df6267ce3bb017f3ed3d00fa43e89b5de783e1285ca62dbad9dd9c3b37e3a476a6f3ab0804eba2411cb594a569bbdb310681 DIST terminfo-0.8.0.crate 46407 BLAKE2B 8ade6d7b6a1ccb7317f6d30ac5612754c8d324ab4614ab771d6cab692d191d658e9782d2a7f63f12bb30c7164438535b9a7e1cc37fa9daa691634f47c0e5517b SHA512 77b9abe815145962d40a502d04a62c393d97ba8c721c79ebd8f71eb23fc9bc4ab0d6a4b8b8b90ad5b716894ad53249c24270e54a9785f5f66918beb3e656d01d @@ -254,8 +254,8 @@ DIST test-case-3.3.1.crate 8797 BLAKE2B bad61b52f7865882cf6f1ad9448335a8c2eb7256 DIST test-case-core-3.3.1.crate 14327 BLAKE2B cdca628ed77b8d7bbdf50c775268f733e125fdcdb4425d228691d9650558c3797876f5d8e900a7afc330f61c2be588452ced646248bd676fe4da1a4f8000decd SHA512 2c58aa3c9051b99c269168d5d321c73314188501fd33170a8a5d44e860354f5a399545abbdf50478a43d13e15ee9ed53d4a9c800b263a5e42b97416f96e2c0e3 DIST test-case-macros-3.3.1.crate 4961 BLAKE2B c3cab2832fbcf3deab12b13bfbb32bbe73528df4d98e84de589a39cd9f3540e308e307148eeedfef4822e3f6820e1b1ba93b102851c7792c5abda25f735b9abb SHA512 3383ad7fa23f09b3289e2beefb2a2ea6bb7f7f48d71339b4c1e613c4807e83e4ab816b1c36369524d65aec7929064d2951c758d9c88164e7792a0a46fbf2d933 DIST textwrap-0.16.1.crate 56012 BLAKE2B 9b5a7c76eca64d089f4fab7095f2d35624527ca223e53b03cc807c6bfe913a99b55197b973a3102e3e5c4055bcd6ab580a0c9d67657180b61435bd6eb7631211 SHA512 3a8d2036c8e4b88866d68b8066a2991756f6bd4ac5c726e63fdffbc894fbdc03bf8b6e0ece4b96684c8e1facb6413190768d51a8539094efe47977c120d31f1b -DIST thiserror-1.0.59.crate 21040 BLAKE2B d9ae0b1d810e7631edf072a41267a871c1cd88d71c882c8fb47d65b3dc563ca2addef0ebf9a9cb122fbfdccff5b92815b8f2e0f7c3382963828cb69d21ec8531 SHA512 254b0ad6c4b135234f89db8bd5674fb8c6b633495810140abf93cf06c58e911ad2ebcfdc002e7ce29739e95ea066eeed3fbd7c831e2858822dff620598dd147a -DIST thiserror-impl-1.0.59.crate 15726 BLAKE2B 0e524c851f999f4592e5450d7d8ad45a922c9cc5d2229f4dd106144238c8a0ceaeff5a4d1c7e27cdc53a7eb44e60f890fabe1f43ba3d5b950da9c63e6ddcc9d1 SHA512 75543ad39d1243dab23a4b50075bec337c39045f0271337a1ccc144f25dc1e7fc23b0163f16958ded9a1f44ff359378bd22f4c0f5e095c1823e928fc929457e8 +DIST thiserror-1.0.60.crate 21247 BLAKE2B 433d54b0938451a4458da709576f78e957d243bd7a27619f070c05f395fa6717566fa3d40be61f85e3b95edb11391107b11be3945bc6ee8a70bb9f55c17f08e3 SHA512 4fbd8770fed56da490436a018d5bcc00075493e9772b8249e72bb7213262766574b83743469fabc602d417ca0a787ee43f539dd9f08d87e9ec73c6c65768381f +DIST thiserror-impl-1.0.60.crate 15787 BLAKE2B e83014f3cfed1e0c54d7854787a6bcc5a099af33fd14431831e607884f1658339e5e1f9d666d6d92d362a285337ac5f170c71bbdece96a343bd80007e73009d4 SHA512 607356d744e1becf7b7070878b8738d853978d28ef4a589bae739f1c3cebde90e8d70e7ec79d67588f6d024784a0fe91c21658befbfeeb71d33f5eaea9416325 DIST thread_local-1.1.8.crate 13962 BLAKE2B fce2feddaaebde42bdb83d814929868f06387a4fa25d5becc73ff0b983395aabe076268569c6a89e2d90ce6e68d2ebca7c3e0ba1c9159c61b32631ce39289a9f SHA512 6d7e3941f43c43ac091db5d1cf2a8a3892b54b0634d9200426eadeb82015566532f04b6040085dbdcb10580ac724b6ded8416931d764d795a5f923aced66c492 DIST tikv-jemalloc-sys-0.5.4+5.3.0-patched.crate 884765 BLAKE2B 58789abe69c2a7c653fb0227aba06f814e2a0cc0d007f382a2d7fef34013022656a1d4c439bae8b86b85bf47b2b90f59ab14077af71176845c58998554fddc72 SHA512 d9c2254acb33fbae58048a978cc27173bbe3c5f1aed0c0c8ce8e86dd09e6faee80676cdced9950169758ca7298f8d5c6ead81e47909866d98bc35c7db16ea2c8 DIST tikv-jemallocator-0.5.4.crate 13101 BLAKE2B 4dfc9e39418ce00d2c9913624db9f558fcbffdd224ffa5536906092186c2e3cbed0b9df6e6e0c530a803887b5341d46af307c014faba9512fa312fb8f41796aa SHA512 e66a14d83e22fa3e895b631c1f2a141dfd526e8a8f0a83f272de814627340ad3ab7b9b986ef491d59ce53b05524f07ed5f643b999ac2f3feabc5e1ec0675cee2 @@ -342,5 +342,5 @@ DIST yansi-term-0.1.2.crate 14342 BLAKE2B 31a1651bb43644cf880d591a22fe9d899ab0ac DIST zerocopy-0.7.32.crate 151096 BLAKE2B 12c7c329ec0e0865467af08306ff4b55ce1e39fd77b094ee48ed9c6e266dfa807bda9ea72a3f7ea989916327f4d9e803d8868995728bfe2fb1c2dc1e5ecff78e SHA512 6729b05eb88029555b88c75feff4f8bc28ad9675edb02b07486381f775c8650c95e2e59612906bd9c34c5e390fd339857ca91573ee9f9ca7948572cff4171c82 DIST zerocopy-derive-0.7.32.crate 37623 BLAKE2B 8b583d39d7bf9c3dbbba578120751c664f87363c5ba3fc45f6506a4059b9e599c43d9fc7bd498a257ff7c9d872af77d39bebdb0e65fb8009eaa2ae9903dece46 SHA512 3ce8528871fd18d6abe92b98503927451d25791c9c4af0ba39a3b6ba2006030bdc137084d080e9b1ac8b5ddf5f2121e0a3ef34bb2033a040f2c72c8149a9fc0d DIST zeroize-1.7.0.crate 19039 BLAKE2B 2f94a5025f409bd2b96a456d2f78a34c6b05b5554abe7ef3fad2a55a8fcff8a6a1b971be660aa4c2954ab7d6e89bebc431036e349edef74711292f9f64b1dbae SHA512 9d31e3e76e8c861309a3579c21f6da5fd6b056c7d7a350427445a1a832e8827204804783f7f9b808acaa2148efef883d9078bf84943b1db55526bba5bf5a2756 -EBUILD ruff-0.4.4.ebuild 8727 BLAKE2B 451dc4c4f591918df98e11c773e0134d4296c80838501e3f168acbd832fc1dced8f7a25f56350b2b5abffe29a8c42632cdfc9549558a8adcbdcc6747e3622536 SHA512 df0b4845314d6bf6b6e07fea67e89f5a5a577135feea4142cc34dd6f32fb837b42e3633072fc31501b8aa0067b8b86e2787500ee2a1ebe36df4fdf68f9f079e7 -MISC metadata.xml 499 BLAKE2B 61aba59fd1d841fc28bed33097dd53a3fb7590cb7920cd326e052caf1915315dcaabf8c5f71f22f7e1404742fb2a555aac1fb815ed392a3e1f1b8943c80517b5 SHA512 14c5a0c0f53e5925d7a0b1e4a846238ff37a0b763d93712f692844312162c102dfe85ffc641458d6e0f06ef40d98ae6e48c5862fed973f9dbc25ee4679201d0a +EBUILD ruff-0.4.5.ebuild 8843 BLAKE2B 9e7d0737ecdec6e378cbda3d6e2f9a58c3ac71a9abbb2517c0fdb6124c7e123e08bcff76b2218c2e20ec565020fb4171a2fef41ed187e6eed16e7a1107f04da4 SHA512 5096c65c4d5c1ffe99b2faaefac4bd8fc6a6e8ddffe87fad800c01a97037189a88aa6fac9b9588cb3a1a03f60674e104f99743839e7ff20da1dab68202da907e +MISC metadata.xml 495 BLAKE2B 629658a629fa030e1a467db90939094be0ab13ff899206f79748ba9dae956abe3d907dd6f0f3eb266dc7381178419d625b550eaba1a23c03af5a00b855a5b637 SHA512 824799ae0854983d65e53ea68de0d411d20aac37a8a8c5b6b0e5252f3128a3e7301f0aa204d5435db7748c83ae8285a08ea385b22864ec479f07c33c6ece6f64 diff --git a/dev-util/ruff/metadata.xml b/dev-util/ruff/metadata.xml index f4244986f853..7e79e42be8c2 100644 --- a/dev-util/ruff/metadata.xml +++ b/dev-util/ruff/metadata.xml @@ -10,7 +10,7 @@ Eli Schwartz - charliermarsh/ruff + astral-sh/ruff ruff diff --git a/dev-util/ruff/ruff-0.4.4.ebuild b/dev-util/ruff/ruff-0.4.4.ebuild deleted file mode 100644 index da6cf3e1d708..000000000000 --- a/dev-util/ruff/ruff-0.4.4.ebuild +++ /dev/null @@ -1,447 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Autogenerated by pycargoebuild 0.13.2 - -EAPI=8 - -CRATES=" - Inflector@0.11.4 - adler@1.0.2 - ahash@0.8.11 - aho-corasick@1.1.3 - allocator-api2@0.2.16 - android-tzdata@0.1.1 - android_system_properties@0.1.5 - anes@0.1.6 - annotate-snippets@0.6.1 - annotate-snippets@0.9.2 - anstream@0.6.13 - anstyle-parse@0.2.3 - anstyle-query@1.0.2 - anstyle-wincon@3.0.2 - anstyle@1.0.6 - anyhow@1.0.82 - argfile@0.2.0 - arrayvec@0.7.4 - autocfg@1.2.0 - base64@0.22.0 - bincode@1.3.3 - bitflags@1.3.2 - bitflags@2.5.0 - bstr@1.9.1 - bumpalo@3.16.0 - cachedir@0.3.1 - cast@0.3.0 - cc@1.0.95 - cfg-if@1.0.0 - cfg_aliases@0.1.1 - chic@1.2.2 - chrono@0.4.38 - ciborium-io@0.2.2 - ciborium-ll@0.2.2 - ciborium@0.2.2 - clap@4.5.4 - clap_builder@4.5.2 - clap_complete@4.5.2 - clap_complete_command@0.5.1 - clap_complete_fig@4.5.0 - clap_complete_nushell@0.1.11 - clap_derive@4.5.4 - clap_lex@0.7.0 - clearscreen@3.0.0 - codspeed-criterion-compat@2.6.0 - codspeed@2.6.0 - colorchoice@1.0.0 - colored@2.1.0 - console@0.15.8 - console_error_panic_hook@0.1.7 - console_log@1.0.0 - core-foundation-sys@0.8.6 - countme@3.0.1 - crc32fast@1.4.0 - criterion-plot@0.5.0 - criterion@0.5.1 - crossbeam-channel@0.5.12 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-queue@0.3.11 - crossbeam-utils@0.8.19 - crossbeam@0.8.4 - crunchy@0.2.2 - ctrlc@3.4.4 - darling@0.20.8 - darling_core@0.20.8 - darling_macro@0.20.8 - dashmap@5.5.3 - diff@0.1.13 - dirs-sys@0.3.7 - dirs-sys@0.4.1 - dirs@4.0.0 - dirs@5.0.1 - drop_bomb@0.1.5 - dyn-clone@1.0.17 - either@1.11.0 - encode_unicode@0.3.6 - env_filter@0.1.0 - env_logger@0.11.3 - equivalent@1.0.1 - errno@0.3.8 - fastrand@2.0.2 - fern@0.6.2 - filetime@0.2.23 - flate2@1.0.28 - fnv@1.0.7 - form_urlencoded@1.2.1 - fs-err@2.11.0 - fsevent-sys@4.1.0 - getopts@0.2.21 - getrandom@0.2.14 - glob@0.3.1 - globset@0.4.14 - half@2.4.1 - hashbrown@0.12.3 - hashbrown@0.14.5 - heck@0.4.1 - heck@0.5.0 - hermit-abi@0.3.9 - hexf-parse@0.2.1 - home@0.5.9 - humantime@2.1.0 - iana-time-zone-haiku@0.1.2 - iana-time-zone@0.1.60 - ident_case@1.0.1 - idna@0.5.0 - ignore@0.4.22 - imara-diff@0.1.5 - imperative@1.0.5 - indexmap@2.2.6 - indicatif@0.17.8 - indoc@2.0.5 - inotify-sys@0.1.5 - inotify@0.9.6 - insta-cmd@0.6.0 - insta@1.38.0 - instant@0.1.12 - is-docker@0.2.0 - is-macro@0.3.5 - is-terminal@0.4.12 - is-wsl@0.4.0 - itertools@0.10.5 - itertools@0.12.1 - itoa@1.0.11 - jod-thread@0.1.2 - js-sys@0.3.69 - kqueue-sys@1.0.4 - kqueue@1.0.8 - lazy_static@1.4.0 - lexical-parse-float@0.8.5 - lexical-parse-integer@0.8.6 - lexical-util@0.8.5 - libc@0.2.154 - libcst@1.3.1 - libcst_derive@1.3.1 - libmimalloc-sys@0.1.37 - libredox@0.1.3 - linked-hash-map@0.5.6 - linux-raw-sys@0.4.13 - lock_api@0.4.11 - log@0.4.21 - lsp-server@0.7.6 - lsp-types@0.95.1 - matchers@0.1.0 - matches@0.1.10 - matchit@0.8.2 - memchr@2.7.2 - mimalloc@0.1.41 - minimal-lexical@0.2.1 - miniz_oxide@0.7.2 - mio@0.8.11 - natord@1.0.9 - newtype-uuid@1.1.0 - nix@0.28.0 - nom@7.1.3 - notify@6.1.1 - nu-ansi-term@0.46.0 - nu-ansi-term@0.49.0 - num-traits@0.2.18 - number_prefix@0.4.0 - once_cell@1.19.0 - oorandom@11.1.3 - option-ext@0.2.0 - os_str_bytes@6.6.1 - overload@0.1.1 - parking_lot@0.12.2 - parking_lot_core@0.9.9 - paste@1.0.14 - path-absolutize@3.1.1 - path-dedot@3.1.1 - path-slash@0.2.1 - pathdiff@0.2.1 - peg-macros@0.8.2 - peg-runtime@0.8.2 - peg@0.8.2 - pep440_rs@0.4.0 - pep440_rs@0.6.0 - pep508_rs@0.3.0 - percent-encoding@2.3.1 - phf@0.11.2 - phf_codegen@0.11.2 - phf_generator@0.11.2 - phf_shared@0.11.2 - pin-project-lite@0.2.14 - pmutil@0.6.1 - portable-atomic@1.6.0 - ppv-lite86@0.2.17 - pretty_assertions@1.4.0 - proc-macro2@1.0.81 - pyproject-toml@0.9.0 - quick-junit@0.4.0 - quick-xml@0.31.0 - quote@1.0.36 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - rayon-core@1.12.1 - rayon@1.10.0 - redox_syscall@0.4.1 - redox_users@0.4.5 - regex-automata@0.1.10 - regex-automata@0.4.6 - regex-syntax@0.6.29 - regex-syntax@0.8.3 - regex@1.10.4 - result-like-derive@0.5.0 - result-like@0.5.0 - ring@0.17.8 - rust-stemmers@1.2.0 - rustc-hash@1.1.0 - rustix@0.38.34 - rustls-pki-types@1.5.0 - rustls-webpki@0.102.3 - rustls@0.22.4 - rustversion@1.0.15 - ryu@1.0.17 - same-file@1.0.6 - schemars@0.8.17 - schemars_derive@0.8.17 - scoped-tls@1.0.1 - scopeguard@1.2.0 - seahash@4.1.0 - serde-wasm-bindgen@0.6.5 - serde@1.0.200 - serde_derive@1.0.200 - serde_derive_internals@0.29.0 - serde_json@1.0.116 - serde_repr@0.1.19 - serde_spanned@0.6.5 - serde_test@1.0.176 - serde_with@3.8.1 - serde_with_macros@3.8.1 - sharded-slab@0.1.7 - shellexpand@3.1.0 - similar@2.5.0 - siphasher@0.3.11 - smallvec@1.13.2 - smawk@0.3.2 - smol_str@0.2.1 - spin@0.9.8 - static_assertions@1.1.0 - strip-ansi-escapes@0.2.0 - strsim@0.10.0 - strsim@0.11.1 - strum@0.26.2 - strum_macros@0.26.2 - subtle@2.5.0 - syn@2.0.60 - tempfile@3.10.1 - terminal_size@0.3.0 - terminfo@0.8.0 - test-case-core@3.3.1 - test-case-macros@3.3.1 - test-case@3.3.1 - textwrap@0.16.1 - thiserror-impl@1.0.59 - thiserror@1.0.59 - thread_local@1.1.8 - tikv-jemalloc-sys@0.5.4+5.3.0-patched - tikv-jemallocator@0.5.4 - tinytemplate@1.2.1 - tinyvec@1.6.0 - tinyvec_macros@0.1.1 - toml@0.8.12 - toml_datetime@0.6.5 - toml_edit@0.22.12 - tracing-attributes@0.1.27 - tracing-core@0.1.32 - tracing-indicatif@0.3.6 - tracing-log@0.2.0 - tracing-subscriber@0.3.18 - tracing-tree@0.3.0 - tracing@0.1.40 - typed-arena@2.0.2 - unic-char-property@0.9.0 - unic-char-range@0.9.0 - unic-common@0.9.0 - unic-ucd-category@0.9.0 - unic-ucd-version@0.9.0 - unicode-bidi@0.3.15 - unicode-ident@1.0.12 - unicode-linebreak@0.1.5 - unicode-normalization@0.1.23 - unicode-width@0.1.11 - unicode_names2@1.2.2 - unicode_names2_generator@1.2.2 - unscanny@0.1.0 - untrusted@0.9.0 - ureq@2.9.7 - url@2.5.0 - utf8parse@0.2.1 - uuid-macro-internal@1.8.0 - uuid@1.8.0 - valuable@0.1.0 - version_check@0.9.4 - vt100@0.15.2 - vte@0.11.1 - vte_generate_state_changes@0.1.1 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - wasm-bindgen-backend@0.2.92 - wasm-bindgen-futures@0.4.42 - wasm-bindgen-macro-support@0.2.92 - wasm-bindgen-macro@0.2.92 - wasm-bindgen-shared@0.2.92 - wasm-bindgen-test-macro@0.3.42 - wasm-bindgen-test@0.3.42 - wasm-bindgen@0.2.92 - web-sys@0.3.69 - webpki-roots@0.26.1 - which@6.0.1 - wild@2.2.1 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.8 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-core@0.52.0 - windows-sys@0.48.0 - windows-sys@0.52.0 - windows-targets@0.48.5 - windows-targets@0.52.5 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_gnullvm@0.52.5 - windows_aarch64_msvc@0.48.5 - windows_aarch64_msvc@0.52.5 - windows_i686_gnu@0.48.5 - windows_i686_gnu@0.52.5 - windows_i686_gnullvm@0.52.5 - windows_i686_msvc@0.48.5 - windows_i686_msvc@0.52.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnu@0.52.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_gnullvm@0.52.5 - windows_x86_64_msvc@0.48.5 - windows_x86_64_msvc@0.52.5 - winnow@0.6.6 - winsafe@0.0.19 - yansi-term@0.1.2 - yansi@0.5.1 - zerocopy-derive@0.7.32 - zerocopy@0.7.32 - zeroize@1.7.0 -" - -inherit shell-completion cargo - -DESCRIPTION="An extremely fast Python linter, written in Rust" -HOMEPAGE=" - https://docs.astral.sh/ruff - https://github.com/charliermarsh/ruff -" -SRC_URI=" - ${CARGO_CRATE_URIS} - https://github.com/charliermarsh/ruff/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz -" - -LICENSE="MIT" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 BSD-2 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 - WTFPL-2 -" -# ring -LICENSE+=" - ISC SSLeay openssl MIT -" -# libcst -LICENSE+=" - MIT PSF-2 Apache-2.0 -" -# libcst_derive -LICENSE+=" - MIT PSF-2 Apache-2.0 -" - -SLOT="0" -KEYWORDS="~amd64 ~loong" - -BDEPEND=" - >=virtual/rust-1.71 -" -RDEPEND=" - !elibc_musl? ( !elibc_Darwin? ( !elibc_bionic? ( dev-libs/jemalloc:= ) ) ) -" -DEPEND=" - ${RDEPEND} -" - -QA_FLAGS_IGNORED="usr/bin/.*" - -DOCS=( - BREAKING_CHANGES.md - CODE_OF_CONDUCT.md - CONTRIBUTING.md - README.md - assets - docs -) - -src_configure() { - export RUSTFLAGS="${RUSTFLAGS}" - cargo_src_configure -} - -src_compile() { - # Gentoo bug #927338 - if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then - local -x CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1 - local -x JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so - fi - cargo_src_compile --bin ruff - - local releasedir - releasedir=target/$(usex 'debug' 'debug' 'release') - - ${releasedir}/ruff generate-shell-completion bash > ruff-completion.bash || die - ${releasedir}/ruff generate-shell-completion zsh > ruff-completion.zsh || die -} - -src_test() { - # Gentoo bug #927338 - if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then - local -x CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1 - local -x JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so - fi - cargo_src_test -} - -src_install() { - local releasedir=target/$(usex 'debug' 'debug' 'release') - - dobin ${releasedir}/ruff - - newbashcomp ruff-completion.bash ruff - newzshcomp ruff-completion.zsh _ruff - - dodoc -r "${DOCS[@]}" -} diff --git a/dev-util/ruff/ruff-0.4.5.ebuild b/dev-util/ruff/ruff-0.4.5.ebuild new file mode 100644 index 000000000000..69b15382c5f8 --- /dev/null +++ b/dev-util/ruff/ruff-0.4.5.ebuild @@ -0,0 +1,450 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.13.2 + +EAPI=8 + +CRATES=" + Inflector@0.11.4 + adler@1.0.2 + ahash@0.8.11 + aho-corasick@1.1.3 + allocator-api2@0.2.16 + android-tzdata@0.1.1 + android_system_properties@0.1.5 + anes@0.1.6 + annotate-snippets@0.6.1 + annotate-snippets@0.9.2 + anstream@0.6.13 + anstyle-parse@0.2.3 + anstyle-query@1.0.2 + anstyle-wincon@3.0.2 + anstyle@1.0.6 + anyhow@1.0.83 + argfile@0.2.0 + arrayvec@0.7.4 + autocfg@1.2.0 + base64@0.22.0 + bincode@1.3.3 + bitflags@1.3.2 + bitflags@2.5.0 + bstr@1.9.1 + bumpalo@3.16.0 + cachedir@0.3.1 + cast@0.3.0 + cc@1.0.95 + cfg-if@1.0.0 + cfg_aliases@0.1.1 + chic@1.2.2 + chrono@0.4.38 + ciborium-io@0.2.2 + ciborium-ll@0.2.2 + ciborium@0.2.2 + clap@4.5.4 + clap_builder@4.5.2 + clap_complete@4.5.2 + clap_complete_command@0.5.1 + clap_complete_fig@4.5.0 + clap_complete_nushell@0.1.11 + clap_derive@4.5.4 + clap_lex@0.7.0 + clearscreen@3.0.0 + codspeed-criterion-compat@2.6.0 + codspeed@2.6.0 + colorchoice@1.0.0 + colored@2.1.0 + console@0.15.8 + console_error_panic_hook@0.1.7 + console_log@1.0.0 + core-foundation-sys@0.8.6 + countme@3.0.1 + crc32fast@1.4.0 + criterion-plot@0.5.0 + criterion@0.5.1 + crossbeam-channel@0.5.12 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-queue@0.3.11 + crossbeam-utils@0.8.19 + crossbeam@0.8.4 + crunchy@0.2.2 + ctrlc@3.4.4 + darling@0.20.8 + darling_core@0.20.8 + darling_macro@0.20.8 + dashmap@5.5.3 + diff@0.1.13 + dirs-sys@0.3.7 + dirs-sys@0.4.1 + dirs@4.0.0 + dirs@5.0.1 + drop_bomb@0.1.5 + dyn-clone@1.0.17 + either@1.11.0 + encode_unicode@0.3.6 + env_filter@0.1.0 + env_logger@0.11.3 + equivalent@1.0.1 + errno@0.3.8 + fastrand@2.0.2 + fern@0.6.2 + filetime@0.2.23 + flate2@1.0.28 + fnv@1.0.7 + form_urlencoded@1.2.1 + fs-err@2.11.0 + fsevent-sys@4.1.0 + getopts@0.2.21 + getrandom@0.2.14 + glob@0.3.1 + globset@0.4.14 + half@2.4.1 + hashbrown@0.12.3 + hashbrown@0.14.5 + heck@0.4.1 + heck@0.5.0 + hermit-abi@0.3.9 + hexf-parse@0.2.1 + home@0.5.9 + humantime@2.1.0 + iana-time-zone-haiku@0.1.2 + iana-time-zone@0.1.60 + ident_case@1.0.1 + idna@0.5.0 + ignore@0.4.22 + imara-diff@0.1.5 + imperative@1.0.5 + indexmap@2.2.6 + indicatif@0.17.8 + indoc@2.0.5 + inotify-sys@0.1.5 + inotify@0.9.6 + insta-cmd@0.6.0 + insta@1.38.0 + instant@0.1.12 + is-docker@0.2.0 + is-macro@0.3.5 + is-terminal@0.4.12 + is-wsl@0.4.0 + itertools@0.10.5 + itertools@0.12.1 + itoa@1.0.11 + jod-thread@0.1.2 + js-sys@0.3.69 + kqueue-sys@1.0.4 + kqueue@1.0.8 + lazy_static@1.4.0 + lexical-parse-float@0.8.5 + lexical-parse-integer@0.8.6 + lexical-util@0.8.5 + libc@0.2.154 + libcst@1.3.1 + libcst_derive@1.3.1 + libmimalloc-sys@0.1.37 + libredox@0.1.3 + linked-hash-map@0.5.6 + linux-raw-sys@0.4.13 + lock_api@0.4.11 + log@0.4.21 + lsp-server@0.7.6 + matchers@0.1.0 + matches@0.1.10 + matchit@0.8.2 + memchr@2.7.2 + mimalloc@0.1.41 + minimal-lexical@0.2.1 + miniz_oxide@0.7.2 + mio@0.8.11 + natord@1.0.9 + newtype-uuid@1.1.0 + nix@0.28.0 + nom@7.1.3 + notify@6.1.1 + nu-ansi-term@0.46.0 + nu-ansi-term@0.49.0 + num-traits@0.2.18 + number_prefix@0.4.0 + once_cell@1.19.0 + oorandom@11.1.3 + option-ext@0.2.0 + os_str_bytes@6.6.1 + overload@0.1.1 + parking_lot@0.12.2 + parking_lot_core@0.9.9 + paste@1.0.14 + path-absolutize@3.1.1 + path-dedot@3.1.1 + path-slash@0.2.1 + pathdiff@0.2.1 + peg-macros@0.8.2 + peg-runtime@0.8.2 + peg@0.8.2 + pep440_rs@0.4.0 + pep440_rs@0.6.0 + pep508_rs@0.3.0 + percent-encoding@2.3.1 + phf@0.11.2 + phf_codegen@0.11.2 + phf_generator@0.11.2 + phf_shared@0.11.2 + pin-project-lite@0.2.14 + pmutil@0.6.1 + portable-atomic@1.6.0 + ppv-lite86@0.2.17 + pretty_assertions@1.4.0 + proc-macro2@1.0.82 + pyproject-toml@0.9.0 + quick-junit@0.4.0 + quick-xml@0.31.0 + quote@1.0.36 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + rayon-core@1.12.1 + rayon@1.10.0 + redox_syscall@0.4.1 + redox_users@0.4.5 + regex-automata@0.1.10 + regex-automata@0.4.6 + regex-syntax@0.6.29 + regex-syntax@0.8.3 + regex@1.10.4 + result-like-derive@0.5.0 + result-like@0.5.0 + ring@0.17.8 + rust-stemmers@1.2.0 + rustc-hash@1.1.0 + rustix@0.38.34 + rustls-pki-types@1.5.0 + rustls-webpki@0.102.3 + rustls@0.22.4 + rustversion@1.0.15 + ryu@1.0.17 + same-file@1.0.6 + schemars@0.8.19 + schemars_derive@0.8.19 + scoped-tls@1.0.1 + scopeguard@1.2.0 + seahash@4.1.0 + serde-wasm-bindgen@0.6.5 + serde@1.0.201 + serde_derive@1.0.201 + serde_derive_internals@0.29.0 + serde_json@1.0.117 + serde_repr@0.1.19 + serde_spanned@0.6.5 + serde_test@1.0.176 + serde_with@3.8.1 + serde_with_macros@3.8.1 + sharded-slab@0.1.7 + shellexpand@3.1.0 + similar@2.5.0 + siphasher@0.3.11 + smallvec@1.13.2 + smawk@0.3.2 + smol_str@0.2.1 + spin@0.9.8 + static_assertions@1.1.0 + strip-ansi-escapes@0.2.0 + strsim@0.10.0 + strsim@0.11.1 + strum@0.26.2 + strum_macros@0.26.2 + subtle@2.5.0 + syn@2.0.63 + tempfile@3.10.1 + terminal_size@0.3.0 + terminfo@0.8.0 + test-case-core@3.3.1 + test-case-macros@3.3.1 + test-case@3.3.1 + textwrap@0.16.1 + thiserror-impl@1.0.60 + thiserror@1.0.60 + thread_local@1.1.8 + tikv-jemalloc-sys@0.5.4+5.3.0-patched + tikv-jemallocator@0.5.4 + tinytemplate@1.2.1 + tinyvec@1.6.0 + tinyvec_macros@0.1.1 + toml@0.8.12 + toml_datetime@0.6.5 + toml_edit@0.22.12 + tracing-attributes@0.1.27 + tracing-core@0.1.32 + tracing-indicatif@0.3.6 + tracing-log@0.2.0 + tracing-subscriber@0.3.18 + tracing-tree@0.3.0 + tracing@0.1.40 + typed-arena@2.0.2 + unic-char-property@0.9.0 + unic-char-range@0.9.0 + unic-common@0.9.0 + unic-ucd-category@0.9.0 + unic-ucd-version@0.9.0 + unicode-bidi@0.3.15 + unicode-ident@1.0.12 + unicode-linebreak@0.1.5 + unicode-normalization@0.1.23 + unicode-width@0.1.11 + unicode_names2@1.2.2 + unicode_names2_generator@1.2.2 + unscanny@0.1.0 + untrusted@0.9.0 + ureq@2.9.7 + url@2.5.0 + utf8parse@0.2.1 + uuid-macro-internal@1.8.0 + uuid@1.8.0 + valuable@0.1.0 + version_check@0.9.4 + vt100@0.15.2 + vte@0.11.1 + vte_generate_state_changes@0.1.1 + walkdir@2.5.0 + wasi@0.11.0+wasi-snapshot-preview1 + wasm-bindgen-backend@0.2.92 + wasm-bindgen-futures@0.4.42 + wasm-bindgen-macro-support@0.2.92 + wasm-bindgen-macro@0.2.92 + wasm-bindgen-shared@0.2.92 + wasm-bindgen-test-macro@0.3.42 + wasm-bindgen-test@0.3.42 + wasm-bindgen@0.2.92 + web-sys@0.3.69 + webpki-roots@0.26.1 + which@6.0.1 + wild@2.2.1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.8 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-core@0.52.0 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-targets@0.48.5 + windows-targets@0.52.5 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.5 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.5 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.5 + windows_i686_gnullvm@0.52.5 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.5 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.5 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.5 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.5 + winnow@0.6.6 + winsafe@0.0.19 + yansi-term@0.1.2 + yansi@0.5.1 + zerocopy-derive@0.7.32 + zerocopy@0.7.32 + zeroize@1.7.0 +" + +declare -A GIT_CRATES=( + [lsp-types]='https://github.com/astral-sh/lsp-types;3512a9f33eadc5402cfab1b8f7340824c8ca1439;lsp-types-%commit%' +) + +inherit shell-completion cargo + +DESCRIPTION="An extremely fast Python linter, written in Rust" +HOMEPAGE=" + https://docs.astral.sh/ruff/ + https://github.com/astral-sh/ruff +" +SRC_URI=" + ${CARGO_CRATE_URIS} + https://github.com/astral-sh/ruff/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 BSD-2 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 + WTFPL-2 +" +# ring +LICENSE+=" + ISC SSLeay openssl MIT +" +# libcst +LICENSE+=" + MIT PSF-2 Apache-2.0 +" +# libcst_derive +LICENSE+=" + MIT PSF-2 Apache-2.0 +" + +SLOT="0" +KEYWORDS="~amd64 ~loong" + +BDEPEND=" + >=virtual/rust-1.71 +" +RDEPEND=" + !elibc_musl? ( !elibc_Darwin? ( !elibc_bionic? ( dev-libs/jemalloc:= ) ) ) +" +DEPEND=" + ${RDEPEND} +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +DOCS=( + BREAKING_CHANGES.md + CODE_OF_CONDUCT.md + CONTRIBUTING.md + README.md + assets + docs +) + +src_configure() { + export RUSTFLAGS="${RUSTFLAGS}" + cargo_src_configure +} + +src_compile() { + # Gentoo bug #927338 + if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then + local -x CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1 + local -x JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so + fi + cargo_src_compile --bin ruff + + local releasedir + releasedir=target/$(usex 'debug' 'debug' 'release') + + ${releasedir}/ruff generate-shell-completion bash > ruff-completion.bash || die + ${releasedir}/ruff generate-shell-completion zsh > ruff-completion.zsh || die +} + +src_test() { + # Gentoo bug #927338 + if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then + local -x CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1 + local -x JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so + fi + cargo_src_test +} + +src_install() { + local releasedir=target/$(usex 'debug' 'debug' 'release') + + dobin ${releasedir}/ruff + + newbashcomp ruff-completion.bash ruff + newzshcomp ruff-completion.zsh _ruff + + dodoc -r "${DOCS[@]}" +} -- cgit v1.2.3