diff options
Diffstat (limited to 'dev-util')
| -rw-r--r-- | dev-util/libtree/libtree-3.1.1.ebuild | 4 | ||||
| -rw-r--r-- | dev-util/quilt/quilt-0.69.ebuild | 4 | ||||
| -rw-r--r-- | dev-util/quilt/quilt-9999.ebuild | 4 | ||||
| -rw-r--r-- | dev-util/ruff/Manifest | 2 | ||||
| -rw-r--r-- | dev-util/ruff/ruff-0.15.22.ebuild | 111 | ||||
| -rw-r--r-- | dev-util/tbump/tbump-6.11.0-r1.ebuild | 1 |
6 files changed, 120 insertions, 6 deletions
diff --git a/dev-util/libtree/libtree-3.1.1.ebuild b/dev-util/libtree/libtree-3.1.1.ebuild index fe59c542ed4d..8ba368b6a307 100644 --- a/dev-util/libtree/libtree-3.1.1.ebuild +++ b/dev-util/libtree/libtree-3.1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/haampie/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm64" +KEYWORDS="amd64 arm64" PATCHES=( "${FILESDIR}"/${P}-modern-c.patch diff --git a/dev-util/quilt/quilt-0.69.ebuild b/dev-util/quilt/quilt-0.69.ebuild index 85760fd0623d..a5f6879b8755 100644 --- a/dev-util/quilt/quilt-0.69.ebuild +++ b/dev-util/quilt/quilt-0.69.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" -inherit bash-completion-r1 elisp-common +inherit elisp-common shell-completion DESCRIPTION="quilt patch manager" HOMEPAGE="https://savannah.nongnu.org/projects/quilt" diff --git a/dev-util/quilt/quilt-9999.ebuild b/dev-util/quilt/quilt-9999.ebuild index fcee32c488a1..ee6cb76cc1de 100644 --- a/dev-util/quilt/quilt-9999.ebuild +++ b/dev-util/quilt/quilt-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ EGIT_REPO_URI="https://git.savannah.gnu.org/git/quilt.git" [[ ${PV} == 9999 ]] && inherit git-r3 -inherit autotools bash-completion-r1 elisp-common +inherit autotools elisp-common shell-completion DESCRIPTION="quilt patch manager" HOMEPAGE="https://savannah.nongnu.org/projects/quilt" diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest index 4b999e32541a..2e6bbb55d2fe 100644 --- a/dev-util/ruff/Manifest +++ b/dev-util/ruff/Manifest @@ -12,5 +12,7 @@ DIST ruff-0.15.17-crates.tar.xz 27989496 BLAKE2B ec87fc0a269e6ef19203535ce5322ef DIST ruff-0.15.17.gh.tar.gz 11901022 BLAKE2B 527079a4ebbb62b347198fbea8ed4a9f274bb7d9bbe4e2fbe7d6eaf2a2d15304d5789ff998dff4fd93f6bbd71988a828f5babb1c87629d238fa3fc8b7da5b58f SHA512 98cb72f936e708f10d4af6f986e2c64acee403784a931d8a6c15db8f51f63c8f0684159af674a895c6f74ad265b46775b3dc8e6dd2e7f9db18640142ebd96fd1 DIST ruff-0.15.21-crates.tar.xz 28543608 BLAKE2B 58898d9efba16e63208b92e9157ea4f456d6b8771313128f77da7e2d1c8d4a9d5bb5a697c189cd1211049cbb931d343d8b3229ca66834b5cece27b3f1187aa37 SHA512 bfe509932b5df3f6843cdbe7e04c37e892c8a6419fb3ce2fb5b4445b37ba1568695e1b797e8a8284160ff6ee16622e66292e9e2ebd6774e4971c8f6249e7108e DIST ruff-0.15.21.gh.tar.gz 12333547 BLAKE2B 50ad982a55c400ed51e5e39640d3ab77d9381fd82c9f8d6d3c118456b90389aaa820519737d02e739e82593daebcfb40ec71bcf136beedc798a9cd574e6eead1 SHA512 12ab5c9ed56bb43c255b731db7c2a37cb7b16eddf2c2d0c96c6b41a48180c5ec3f4573359964f17733a94c1fe704f84ad457116252c15511489adf5608944b1e +DIST ruff-0.15.22-crates.tar.xz 28557892 BLAKE2B fdad14454e619d877ae3bc928f3fdeff5fa28d4d50b6a70973bf1e90a45b40222ce1920ecd31f64f2548f4b3547acd5316deea3ce10505635ed9cd2c3d826ff1 SHA512 77f1b26723caedd7424d723f1df57cac92093c73c4b13b0cc05abd8b6e1d309d535489f5844b559dfb6a5332482a9099ee5238839a89fed4d20c855d45e6659c +DIST ruff-0.15.22.gh.tar.gz 12456801 BLAKE2B 2dcadb76ef927f596d66b5805029368612ca7ec5b6ade5ecc11a59630a02943178c2f28bbbddecc04ef85a4850a58eb2e19e1d33363aef5198c052ec0f360a29 SHA512 eb76b898d49e8299e67df695d5329e39352fd7c90aeebdb6ff6b5867d5ef675448296a0207376adb53f9d51de22316c3b96d58e990be72c30a10047b7db0ea7d DIST salsa-55e5e7d32fa3fc189276f35bb04c9438f9aedbd1.gh.tar.gz 731425 BLAKE2B ce720abaa295b46c7e1fa06a73e2ad9a48a6b9da7f2b4a91edba38a28bb9a63a1661886fc7c5d6dbc915f589f2e055731a544cdf18afb4dd7b3f6815c59e543b SHA512 91942cfc6bbfb7f07366cdd3d42e5296bff877ee723b24868ff3c278defd0ef247f03e957332bc0696553f0f1977a41c18d08efe7887f5bda3a1cb98543bddbd DIST salsa-9860ff6ca0f1f8f3a8d6b832020002790b501254.gh.tar.gz 738416 BLAKE2B a80aea2f5e89bbadd5aecd7bf728355f2ffd84793b2e3581e94ba10e32c68fa7b9eb2663b17e47089ba60f5b6019776f794f91771435a9e8d10876f4e38b4d97 SHA512 ed1080daa458a77dc1634381863c671f3facd34e048c952358253be950bc87eb4d11079566be8caa90eb1f704e1dbc3591418a03ed10f1b7147222afcf44fe63 diff --git a/dev-util/ruff/ruff-0.15.22.ebuild b/dev-util/ruff/ruff-0.15.22.ebuild new file mode 100644 index 000000000000..fe46867af3c0 --- /dev/null +++ b/dev-util/ruff/ruff-0.15.22.ebuild @@ -0,0 +1,111 @@ +# Copyright 2024-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# Autogenerated by pycargoebuild 0.15.1 + +EAPI=8 + +CRATES=" +" + +RUST_MIN_VER="1.95" + +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/${PV}.tar.gz -> ${P}.gh.tar.gz + https://github.com/gentoo-crate-dist/${PN}/releases/download/${PV}/${P}-crates.tar.xz +" + +LICENSE="MIT" +# Dependent crate licenses +LICENSE+=" + Apache-2.0 BSD CC0-1.0 ISC MIT MPL-2.0 PSF-2 Unicode-3.0 + Unicode-DFS-2016 WTFPL-2 ZLIB +" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv" + +RDEPEND=" + !elibc_musl? ( !elibc_Darwin? ( !elibc_bionic? ( dev-libs/jemalloc:= ) ) ) + app-arch/zstd +" +DEPEND=" + ${RDEPEND} +" + +QA_FLAGS_IGNORED="usr/bin/.*" + +DOCS=( + BREAKING_CHANGES.md + CONTRIBUTING.md + README.md + assets + docs +) + +src_prepare() { + default + + # Experimental cruft cleaner. These crates are not used by the ruff binary, + # and when they are removed in the git repo, the lockfile is regenerated + # and gets quite a bit smaller. Hence pycargoebuild also produces much + # smaller CRATES= variables. Less for the user to download, fewer distfiles + # to mirror. + pushd crates >/dev/null || die + rm -r ruff_{benchmark,dev} ty{,_{server,completion_eval}} *_wasm || die + popd > /dev/null || die + + # tests that hang in the ebuild environment + rm crates/ruff_annotate_snippets/tests/examples.rs || die +} + +src_configure() { + export RUSTFLAGS="${RUSTFLAGS}" + cargo_src_configure +} + +src_compile() { + local -x ZSTD_SYS_USE_PKG_CONFIG=1 + # 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=$(cargo_target_dir) + + ${releasedir}/ruff generate-shell-completion bash > ruff-completion.bash || die + ${releasedir}/ruff generate-shell-completion fish > ruff-completion.fish || die + ${releasedir}/ruff generate-shell-completion zsh > ruff-completion.zsh || die +} + +src_test() { + local -x ZSTD_SYS_USE_PKG_CONFIG=1 + # 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 --target-dir "${PWD}"/tested-target/ +} + +src_install() { + local releasedir=$(cargo_target_dir) + + dobin ${releasedir}/ruff + + newbashcomp ruff-completion.bash ruff + newfishcomp ruff-completion.fish ruff.fish + newzshcomp ruff-completion.zsh _ruff + + dodoc -r "${DOCS[@]}" +} diff --git a/dev-util/tbump/tbump-6.11.0-r1.ebuild b/dev-util/tbump/tbump-6.11.0-r1.ebuild index 44e9293b1eb9..af6319cbe536 100644 --- a/dev-util/tbump/tbump-6.11.0-r1.ebuild +++ b/dev-util/tbump/tbump-6.11.0-r1.ebuild @@ -42,4 +42,5 @@ EPYTEST_DESELECT=( "tbump/test/test_init.py" ) +EPYTEST_PLUGINS=() distutils_enable_tests pytest |
