summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dev-util/ruff: Use new cargo_target_dir helperJames Le Cuirot2024-06-173-6/+6
| | | | Signed-off-by: James Le Cuirot <chewi@gentoo.org>
* dev-util/ruff: add 0.4.8Patrick McLean2024-06-052-0/+455
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.4.7Eli Schwartz2024-06-042-0/+447
| | | | | Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: add 0.4.6Eli Schwartz2024-05-302-37/+29
| | | | | Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: update various urls to resolve redirectsEli Schwartz2024-05-232-4/+4
| | | | | | | | The github project is now under a company organization, rather than the lead developer's personal account. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: add 0.4.5, drop 0.4.4Patrick McLean2024-05-232-23/+26
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: fix tests rebuilding jemalloc against vendored copyEli Schwartz2024-05-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | I will never understand why people INSIST on "local -x GLOBAL_VAR" as though it is somehow clean when its fundamental intention is to be global. End result: repeating the same block of code multiple times so you can pseudo-globally set it locally each time you use it. *After* the code is buggy for a while. I have a recentish custom QA check that catches it though: * QA Notice: cargo built package contains possibly vendored code * * crate tikv-jemalloc-sys: jemalloc.sym.o arena.sym.o background_thread.sym.o base.sym.o bin.sym.o bin_info.sym.o bitmap.sym.o buf_writer.sym.o cache_bin.sym.o ckh.sym.o counter.sym.o ctl.sym.o decay.sym.o ecache.sym.o div.sym.o edata.sym.o edata_cache.sym.o ehooks.sym.o emap.sym.o eset.sym.o exp_grow.sym.o extent.sym.o extent_dss.sym.o extent_mmap.sym.o fxp.sym.o san.sym.o san_bump.sym.o hook.sym.o hpa.sym.o hpa_hooks.sym.o hpdata.sym.o inspect.sym.o large.sym.o log.sym.o malloc_io.sym.o mutex.sym.o nstime.sym.o pa.sym.o pa_extra.sym.o pai.sym.o pac.sym.o pages.sym.o peak_event.sym.o prof.sym.o prof_data.sym.o prof_log.sym.o prof_recent.sym.o prof_stats.sym.o prof_sys.sym.o psset.sym.o rtree.sym.o safety_check.sym.o sc.sym.o sec.sym.o stats.sym.o sz.sym.o tcache.sym.o test_hooks.sym.o thread_event.sym.o ticker.sym.o tsd.sym.o witness.sym.o jemalloc.o arena.o background_thread.o base.o bin.o bin_info.o bitmap.o buf_writer.o cache_bin.o ckh.o counter.o ctl.o decay.o div.o ecache.o edata.o edata_cache.o ehooks.o emap.o eset.o exp_grow.o extent.o extent_dss.o extent_mmap.o fxp.o san.o san_bump.o hook.o hpa.o hpa_hooks.o hpdata.o inspect.o large.o log.o malloc_io.o mutex.o nstime.o pa.o pa_extra.o pai.o pac.o pages.o peak_event.o prof.o prof_data.o prof_log.o prof_recent.o prof_stats.o prof_sys.o psset.o rtree.o safety_check.o sc.o sec.o stats.o sz.o tcache.o test_hooks.o thread_event.o ticker.o tsd.o witness.o jemalloc.pic.o arena.pic.o background_thread.pic.o base.pic.o bin.pic.o bin_info.pic.o bitmap.pic.o buf_writer.pic.o cache_bin.pic.o ckh.pic.o counter.pic.o ctl.pic.o decay.pic.o div.pic.o ecache.pic.o edata.pic.o edata_cache.pic.o ehooks.pic.o emap.pic.o eset.pic.o exp_grow.pic.o extent.pic.o extent_dss.pic.o extent_mmap.pic.o fxp.pic.o san.pic.o san_bump.pic.o hook.pic.o hpa.pic.o hpa_hooks.pic.o hpdata.pic.o inspect.pic.o large.pic.o log.pic.o malloc_io.pic.o mutex.pic.o nstime.pic.o pa.pic.o pa_extra.pic.o pai.pic.o pac.pic.o pages.pic.o peak_event.pic.o prof.pic.o prof_data.pic.o prof_log.pic.o prof_recent.pic.o prof_stats.pic.o prof_sys.pic.o psset.pic.o rtree.pic.o safety_check.pic.o sc.pic.o sec.pic.o stats.pic.o sz.pic.o tcache.pic.o test_hooks.pic.o thread_event.pic.o ticker.pic.o tsd.pic.o witness.pic.o * QA Notice: cargo built package contains possibly vendored code from unsolvable crates * * ring Only reproducible when building with FEATURES=test, however, which I don't usually do on syncing @world. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: add 0.4.4Eli Schwartz2024-05-102-7/+7
| | | | | Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: add 0.4.3, drop 0.4.2Patrick McLean2024-05-072-108/+130
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.4.2, drop 0.4.1Patrick McLean2024-04-252-27/+29
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.4.1, drop 0.4.0Patrick McLean2024-04-192-1/+1
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.4.0, drop 0.3.7Patrick McLean2024-04-182-65/+21
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: disable unprefixed malloc on unsupported platformsLinuxUserGD2024-04-181-3/+6
| | | | | | | | Closes: https://bugs.gentoo.org/927338 Closes: https://bugs.gentoo.org/928621 Signed-off-by: LinuxUserGD <hugegameartgd@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36256 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.3.7, drop 0.3.5Patrick McLean2024-04-124-52/+25
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: drop 0.3.4Patrick McLean2024-04-011-452/+0
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: new package, add 0.3.5Patrick McLean2024-04-012-28/+482
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: remove unused patchMichael Mair-Keimberger2024-03-231-29/+0
| | | | | Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dev-util/ruff: add 0.3.4Eli Schwartz2024-03-222-37/+25
| | | | | Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: add 0.3.3, drop 0.3.2Patrick McLean2024-03-182-31/+45
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.3.2Eli Schwartz2024-03-143-93/+122
| | | | | Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: add myself as a maintainerEli Schwartz2024-03-141-0/+4
| | | | | Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: use system jemallocEli Schwartz2024-03-141-0/+4
| | | | | | | | | | | | One of ruff's dependency crates is tikv-jemalloc-sys. This supports linking to the system jemalloc; use it. Compiles a bit faster, produces somewhat smaller binaries.. * SIZE: 37.74MiB -> 32.37MiB, 29 -> 29 files * ------> SIZE(-14.21%) Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: cut down on number of programs built / installedEli Schwartz2024-03-141-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is neither necessary nor desirable to compile and install every conceivable crate in the ruff source code. - ruff_dev is "an internal CLI for developers of Ruff" - ruff_python_formatter is just the source code for `ruff format`, but compiled standalone with a barebones main.rs for faster dev iteration - libruff_wasm.so exists solely to implement https://play.ruff.rs which would matter if we were packaging www-apps/ruff, or if we were using `--target web`, neither of which is true - libruff_macros.so is an internal proc-macro and it makes no sense that it should build a .so to begin with... We only care about two things: - ruff, the cli program - ruff_shrinking, which is a debug tool for producing minimal testcases of an issue. It is theoretically useful, so can't hurt to distribute. * FILES:-usr/bin/ruff_dev * FILES:-usr/bin/ruff_python_formatter * FILES:-usr/lib64/libruff_macros.so * FILES:-usr/lib64/libruff_wasm.so * SONAME:-libruff_macros.so(64) * SONAME:-libruff_wasm.so(64) * SIZE: 77.00MiB -> 37.74MiB, 33 -> 29 files * ------> FILES(-4) SONAME(-2) SIZE(-50.99%) Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: install shell completionsEli Schwartz2024-03-141-1/+7
| | | | | Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: install as a standard cargo projectEli Schwartz2024-03-141-24/+1
| | | | | | | | | | | | | | | | | | | | | | | The python module has no functionality. It can be used solely as: ``` python3.11 -m ruff ``` in which case it will check for sys.prefix + '/bin/ruff' and try to run it. The downside of trying to install it as a python project is that it: - adds fuzzy USE flags on python version - recompiles everything once per python impl, despite attempts at copying sources around - adds extra dependencies on e.g. maturin - generally complicates the ebuild We don't need any of that since this is just a cargo program. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: add 0.3.0, drop 0.2.2Patrick McLean2024-02-292-33/+27
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.2.2, drop 0.2.1Patrick McLean2024-02-212-225/+209
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.2.1, drop 0.2.0Patrick McLean2024-02-062-13/+13
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: keyword 0.2.0 for ~loongWANG Xuerui2024-02-051-1/+1
| | | | Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
* dev-util/ruff: add 0.2.0, drop 0.1.14Patrick McLean2024-02-013-41/+56
| | | | | Bug: https://bugs.gentoo.org/922155 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.1.14, drop 0.1.13-r1Patrick McLean2024-01-193-54/+71
| | | | | Bug: https://bugs.gentoo.org/922155 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: fix minimum rust version (1.73->1.71)Sam James2024-01-151-1/+1
| | | | | Closes: https://bugs.gentoo.org/920343 Signed-off-by: Sam James <sam@gentoo.org>
* dev-util/ruff: Update LICENSEUlrich Müller2024-01-151-2/+1
| | | | | | | BSD-2-with-views is the standard FreeBSD license aka BSD-2: https://directory.fsf.org/wiki/License:BSD-2-Clause-FreeBSD Signed-off-by: Ulrich Müller <ulm@gentoo.org>
* dev-util/ruff: drop 0.1.5, 0.1.6, 0.1.7, 0.1.8Patrick McLean2024-01-125-1980/+0
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.1.13Patrick McLean2024-01-122-0/+513
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.1.8Patrick McLean2023-12-132-0/+501
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.1.7Patrick McLean2023-12-042-0/+498
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.1.6Patrick McLean2023-11-172-0/+483
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.1.5, drop 0.1.3Patrick McLean2023-11-082-39/+41
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.1.3, drop 0.1.2Patrick McLean2023-10-262-1/+1
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.1.2, drop 0.1.1Patrick McLean2023-10-242-18/+18
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.1.1, drop 0.1.0Patrick McLean2023-10-192-7/+7
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: drop 0.0.292Patrick McLean2023-10-161-463/+0
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: new package, add 0.1.0Patrick McLean2023-10-162-15/+489
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.0.292, drop 0.0.291Patrick McLean2023-10-022-40/+28
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.0.291, drop 0.0.290Patrick McLean2023-09-222-45/+56
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.0.290, drop 0.0.289Patrick McLean2023-09-152-77/+63
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: add 0.0.289, drop 0.0.288Patrick McLean2023-09-122-1/+1
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: drop 0.0.287Patrick McLean2023-09-112-481/+0
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* dev-util/ruff: drop 0.0.286Patrick McLean2023-09-112-574/+0
| | | | Signed-off-by: Patrick McLean <chutzpah@gentoo.org>