summaryrefslogtreecommitdiff
path: root/dev-util/ruff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-23 09:44:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-23 09:44:00 +0000
commit8d15cb8238a384acdb70250a0cd213f2ab5f0ab6 (patch)
tree547dd4d959be6b14e702d37e94063dc2104319a5 /dev-util/ruff
parent71fb24e4cc15fe73651423df81c5e6a79fa8c142 (diff)
gentoo auto-resync : 23:02:2023 - 09:44:00
Diffstat (limited to 'dev-util/ruff')
-rw-r--r--dev-util/ruff/Manifest3
-rw-r--r--dev-util/ruff/ruff-0.0.252.ebuild410
2 files changed, 413 insertions, 0 deletions
diff --git a/dev-util/ruff/Manifest b/dev-util/ruff/Manifest
index bb85d9949df5..b922a75efdae 100644
--- a/dev-util/ruff/Manifest
+++ b/dev-util/ruff/Manifest
@@ -1,5 +1,6 @@
DIST LibCST-f2f0b7a487a8725d161fe8b3ed73a6758b21e177.gh.tar.gz 726087 BLAKE2B 417f707cbc87ec30fff0ec6a78a480a5a76a24ad3f129ccddf53e55ae311d8cf036b63170196a445500b5f9a45e864ee7f713be677433d4d0abbd8d9479418f7 SHA512 ad69c317b2d7efcd3bde56a2777ade7c71da02542f14e7ee930b9e12cad2b0b4f7ce287ac03769f4df21f3edc7fe36aed11a82c949257b90acfaac4b17aa51a9
DIST RustPython-61b48f108982d865524f86624a9d5bc2ae3bccef.gh.tar.gz 10345891 BLAKE2B f626531f3172309535f20de0e2ec9642fe49abc38130f76e34e5e129c064f746fc821d17b9b2376e917448f032f69ca711c534c584d2c98fc6fcb867830b388b SHA512 5f5e7ca2df72eaa3dfb82efcc0f8a76d2bb695aa5c9ca57bd6879b69a17516d61057781596e0f1d3f92fa62c4b921b7ed6b903af18a8d0ecf78a45fad2e84ee8
+DIST RustPython-edf5995a1e4c366976304ca05432dd27c913054e.gh.tar.gz 10387859 BLAKE2B e9b3abf79642155b67074a03cd64fcbd53482285b1f64cc9d0e17c76cf301a78daa08c8ac576cd7494146f9a6053dd057570f1959fb359c5eda313bbe3b1e95a SHA512 90be15b2fb31b91b7fae56e4c3f9be58e2098592a7efedde953aa6fa4f05c78fb028318ebcfd0d55150e09877ade62ff3380d646c6950d9ae4de57bc7e1bc963
DIST adler-1.0.2.crate 12778 BLAKE2B a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd SHA512 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
DIST ahash-0.7.6.crate 38030 BLAKE2B aca3661477fcd7822d6d10970151e05c28e1615f8cd7ddaac064b15102027e404b19b0f3f16dd76145048594ea1c22ae27dd08cc05c411efbae9ec7a1ef55ce9 SHA512 61354688b6fb096359faefb6f34be958cd2215d56b88c22c737d24183eaad433f811bc9e64f927e4852c87d2799c22fda82b55cfbef2ed6357ff74f0c4ffec68
DIST aho-corasick-0.7.20.crate 111440 BLAKE2B 3f5d54fea2793ce1c2c4d5b3049b910f45a5721e7538cb2557df63dc3069ab3f6b66aceb5e9a48f21c43ae29778fd045428ea103b2a6de81659e605e30e64ca6 SHA512 ad31f3d1b3fe41e593d4ca7e721bbad62936f2e6a17fd1e0997353edb6fc906d1bef2b79f0ac7c7676abe637bbabb23ff22059947be379a2441011f8178983c5
@@ -253,6 +254,7 @@ DIST remove_dir_all-0.5.3.crate 9184 BLAKE2B ab7ef94e0230ddc9b363f038254a180881b
DIST reqwest-0.11.14.crate 145216 BLAKE2B e7ae6b489acc2b8a8eff2f6d34db7817ac811998bc6c6c565f93b99746b3e03e823ae55c8867cf39844c4e6ec412c9248bcca9725bdeae91928d37f670177cd6 SHA512 b853212d8495e98295e861b900e73ce80be1135ec9904b57dd75de2102fc465c3e3dee93c70c07dc46ac67b56affbc0f88a7b65c706521564a7c1ac5f6e62115
DIST ring-0.16.20.crate 5082615 BLAKE2B 6011eb7148c2d2ab410e564a06604f4350e07ea030e4d7dcb30574b977f0b0c7e53e09f6e6dbb2d068cdf110262876c48dfaeeef1b691932a056fe149916d934 SHA512 d97d1b08eb796d4c107426ff2c015ab1f221612500c8a57fca8e3f064e8c0f5ae2a5e6071d013313cd9f4be8fed4ba03beae84bd446f56b2b2ca5d483c328191
DIST ruff-0.0.247.gh.tar.gz 1039897 BLAKE2B 410a85aac15a9f05576e98fbae544d9d5a129f0c865720696a2337b2f7a4f3dec539fd0c008d9971170dc10e0c25904275656ff2475d52a0d2740710d4065ae2 SHA512 865f5c31fe5239ef6e534a93f5b963fb7c249017e8912080c4247c95f3e3583062db647d8e96a83704426fc0f5e634370fc6813f61c53c027a9c85e9692d80f4
+DIST ruff-0.0.252.gh.tar.gz 1067753 BLAKE2B 5656c83ea0351609a37c0f14faa66aa8240a42d06bd0129d7bbdb637247c71bcdc72d12142eb4ff54403491a35be3af92f96508d509c0ccfde29a599a1307cf2 SHA512 0eba88d85fde6cd56602376eb5ba9410c73ecc536eb8c6ae6c41cb673a2804e0bc210789d519c4caaab653a7ac41a6ff31469373236229be162636e23fbdfdce
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.36.8.crate 290808 BLAKE2B 62da252100523d282d6d8d2bf141f6e59f0dafcebb0a1025b6bddb78c2a100643d63edcaea4cf64ce68696219ef52706f6b49f6a7b22f99c544866643952f98b SHA512 6fd6ca326feac93145ddbf6eba65c8eff731c9a9e7ff3a6724c19e5c8bbb05236f526df27c4c916e855e7e75e65914470af2d9c98e1571692991a7bd811b5bb0
@@ -394,4 +396,5 @@ DIST yaml-rust-0.4.5.crate 47783 BLAKE2B 3e888c5cc7afb43eaf3aaab2b6f47b86df164a6
DIST yansi-term-0.1.2.crate 14342 BLAKE2B 31a1651bb43644cf880d591a22fe9d899ab0acbc744ced2952f120b4abfa0c42f6513089e34deaff1a453f3a26f9fb78442f016baa9524ccac9b21e4a7ed6ad6 SHA512 ba720e36487871427aaa7139e8aeaf5b2b3f2d1df4798d7e238e323dc3d3220f12202e223f74339201be3466848c372dc1712e1842e5cd6bd51c3dedf76c9ff6
DIST zune-inflate-0.2.50.crate 37058 BLAKE2B 6e6686708ce4f83dc753cf93af7304e177568fe77dbef5b1feec6b38731da7ff077a2b1e02c24e270e013066c240c2a936b8a25a5a0a79f9f242831c1b46a810 SHA512 02fa9bbc4a30e145f034581212333788a24ad9756b1d2efef3a8b6967389fcb4258fe5c71936eb16b75238965021ae796525a754a94ff96d2d45f4e0509f74c0
EBUILD ruff-0.0.247.ebuild 10023 BLAKE2B 030a6964d060a0a421aaab1145ad44cc0ad4c6719feffc02b1fa3633536d1cce5fe830564525ab752a902bb3a4e21f09d5ed92d5ea140d6591252f44f929636b SHA512 8a7c19cfd45cd692a2155f9503f03814bf5980cfc0394c1d88feb73500a5b2a4053dd75ebf6c79853f7aa116688fd05694102252b23ed52920f9e5d86b38148e
+EBUILD ruff-0.0.252.ebuild 8702 BLAKE2B be57bb3227c0efcde8f95338dcb753a69086bfd8c75750641a355e52d5292b34a15feac647a1761d16e4bd14f6b6600e933209a45bb07a6705235a91941da37e SHA512 be5d961e2ce5ff7161ad4a25bbbd6b8e83153e32c39dd39bfe97cca76b2d9cefa14b0bcead222156842be70e302267fa790cf131731da814303f33df22696878
MISC metadata.xml 375 BLAKE2B 46856b904e322f25ebb96268418206fb70b76f22751c5f8c12d0b3fb51a11b91518c42313d8a9f2fbd71dd5a3ca359772f54829a7858148c5f5f03f44fe1dad4 SHA512 ad24b0cafc7adc414a0da36f5b518eacbba3069ac15484504ce063916133e7c15945c04c7c6886e30c75010300598876ab498d5d44c48f66c5ed252f3fd2f36f
diff --git a/dev-util/ruff/ruff-0.0.252.ebuild b/dev-util/ruff/ruff-0.0.252.ebuild
new file mode 100644
index 000000000000..b0c70b030c83
--- /dev/null
+++ b/dev-util/ruff/ruff-0.0.252.ebuild
@@ -0,0 +1,410 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+ adler-1.0.2
+ ahash-0.7.6
+ aho-corasick-0.7.20
+ android_system_properties-0.1.5
+ anes-0.1.6
+ annotate-snippets-0.6.1
+ annotate-snippets-0.9.1
+ anyhow-1.0.69
+ ascii-1.1.0
+ ascii-canvas-3.0.0
+ assert_cmd-2.0.8
+ atty-0.2.14
+ autocfg-1.1.0
+ base64-0.13.1
+ bincode-1.3.3
+ bisection-0.1.0
+ bit-set-0.5.3
+ bit-vec-0.6.3
+ bitflags-1.3.2
+ block-buffer-0.10.3
+ bstr-0.2.17
+ bstr-1.2.0
+ bumpalo-3.12.0
+ cachedir-0.3.0
+ cast-0.3.0
+ cc-1.0.79
+ cfg-if-1.0.0
+ chic-1.2.2
+ chrono-0.4.23
+ ciborium-0.2.0
+ ciborium-io-0.2.0
+ ciborium-ll-0.2.0
+ clap-3.2.23
+ clap-4.1.6
+ clap_complete-4.1.1
+ clap_complete_command-0.4.0
+ clap_complete_fig-4.1.0
+ clap_derive-4.1.0
+ clap_lex-0.2.4
+ clap_lex-0.3.1
+ clearscreen-2.0.0
+ codespan-reporting-0.11.1
+ colored-2.0.0
+ configparser-3.0.2
+ console-0.15.5
+ console_error_panic_hook-0.1.7
+ console_log-0.2.0
+ core-foundation-sys-0.8.3
+ cpufeatures-0.2.5
+ crc32fast-1.3.2
+ criterion-0.4.0
+ criterion-plot-0.5.0
+ crossbeam-channel-0.5.6
+ crossbeam-deque-0.8.2
+ crossbeam-epoch-0.9.13
+ crossbeam-utils-0.8.14
+ crunchy-0.2.2
+ crypto-common-0.1.6
+ cxx-1.0.90
+ cxx-build-1.0.90
+ cxxbridge-flags-1.0.90
+ cxxbridge-macro-1.0.90
+ diff-0.1.13
+ difflib-0.4.0
+ digest-0.10.6
+ dirs-4.0.0
+ dirs-next-2.0.0
+ dirs-sys-0.3.7
+ dirs-sys-next-0.1.2
+ doc-comment-0.3.3
+ drop_bomb-0.1.5
+ dyn-clone-1.0.10
+ either-1.8.1
+ ena-0.14.0
+ encode_unicode-0.3.6
+ errno-0.2.8
+ errno-dragonfly-0.1.2
+ fastrand-1.9.0
+ fern-0.6.1
+ filetime-0.2.20
+ fixedbitset-0.4.2
+ flate2-1.0.25
+ fnv-1.0.7
+ form_urlencoded-1.1.0
+ fsevent-sys-4.1.0
+ generic-array-0.14.6
+ getrandom-0.2.8
+ glob-0.3.1
+ globset-0.4.10
+ half-1.8.2
+ hashbrown-0.12.3
+ heck-0.4.1
+ hermit-abi-0.1.19
+ hermit-abi-0.2.6
+ hermit-abi-0.3.1
+ hexf-parse-0.2.1
+ iana-time-zone-0.1.53
+ iana-time-zone-haiku-0.1.1
+ idna-0.3.0
+ ignore-0.4.20
+ imperative-1.0.4
+ indexmap-1.9.2
+ inotify-0.9.6
+ inotify-sys-0.1.5
+ insta-1.26.0
+ instant-0.1.12
+ io-lifetimes-1.0.5
+ is-terminal-0.4.3
+ itertools-0.10.5
+ itoa-1.0.5
+ joinery-2.1.0
+ js-sys-0.3.61
+ kqueue-1.0.7
+ kqueue-sys-1.0.3
+ lalrpop-0.19.8
+ lalrpop-util-0.19.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.139
+ libmimalloc-sys-0.1.30
+ link-cplusplus-1.0.8
+ linked-hash-map-0.5.6
+ linux-raw-sys-0.1.4
+ lock_api-0.4.9
+ log-0.4.17
+ lz4_flex-0.9.5
+ matches-0.1.10
+ memchr-2.5.0
+ memoffset-0.7.1
+ mimalloc-0.1.34
+ miniz_oxide-0.6.2
+ mio-0.8.5
+ natord-1.0.9
+ new_debug_unreachable-1.0.4
+ nextest-workspace-hack-0.1.0
+ nix-0.26.2
+ nohash-hasher-0.2.0
+ nom-5.1.2
+ nom8-0.2.0
+ notify-5.1.0
+ num-bigint-0.4.3
+ num-complex-0.4.3
+ num-integer-0.1.45
+ num-traits-0.2.15
+ num_cpus-1.15.0
+ num_enum-0.5.9
+ num_enum_derive-0.5.9
+ once_cell-1.17.0
+ oorandom-11.1.3
+ os_str_bytes-6.4.1
+ parking_lot-0.12.1
+ parking_lot_core-0.9.7
+ paste-1.0.11
+ path-absolutize-3.0.14
+ path-dedot-3.0.18
+ peg-0.8.1
+ peg-macros-0.8.1
+ peg-runtime-0.8.1
+ percent-encoding-2.2.0
+ pest-2.5.5
+ pest_derive-2.5.5
+ pest_generator-2.5.5
+ pest_meta-2.5.5
+ petgraph-0.6.3
+ phf-0.11.1
+ phf_codegen-0.11.1
+ phf_generator-0.11.1
+ phf_shared-0.10.0
+ phf_shared-0.11.1
+ pico-args-0.4.2
+ pin-project-lite-0.2.9
+ plotters-0.3.4
+ plotters-backend-0.3.4
+ plotters-svg-0.3.3
+ ppv-lite86-0.2.17
+ precomputed-hash-0.1.1
+ predicates-2.1.5
+ predicates-core-1.0.5
+ predicates-tree-1.0.7
+ proc-macro-crate-1.3.0
+ proc-macro-error-1.0.4
+ proc-macro-error-attr-1.0.4
+ proc-macro2-1.0.51
+ quick-junit-0.3.2
+ quick-xml-0.26.0
+ quote-1.0.23
+ radium-0.7.0
+ rand-0.8.5
+ rand_chacha-0.3.1
+ rand_core-0.6.4
+ rayon-1.6.1
+ rayon-core-1.10.2
+ redox_syscall-0.2.16
+ redox_users-0.4.3
+ regex-1.7.1
+ regex-automata-0.1.10
+ regex-syntax-0.6.28
+ remove_dir_all-0.5.3
+ ring-0.16.20
+ rust-stemmers-1.2.0
+ rustc-hash-1.1.0
+ rustix-0.36.8
+ rustls-0.20.8
+ rustversion-1.0.11
+ ryu-1.0.12
+ same-file-1.0.6
+ schemars-0.8.11
+ schemars_derive-0.8.11
+ scoped-tls-1.0.1
+ scopeguard-1.1.0
+ scratch-1.0.3
+ sct-0.7.0
+ semver-1.0.16
+ serde-1.0.152
+ serde-wasm-bindgen-0.4.5
+ serde_derive-1.0.152
+ serde_derive_internals-0.26.0
+ serde_json-1.0.93
+ serde_spanned-0.6.1
+ serde_test-1.0.152
+ sha2-0.10.6
+ shellexpand-3.0.0
+ similar-2.2.1
+ siphasher-0.3.10
+ smallvec-1.10.0
+ smawk-0.3.1
+ spin-0.5.2
+ static_assertions-1.1.0
+ string_cache-0.8.4
+ strsim-0.10.0
+ strum-0.24.1
+ strum_macros-0.24.3
+ syn-1.0.107
+ tempfile-3.3.0
+ term-0.7.0
+ termcolor-1.2.0
+ terminfo-0.7.5
+ termtree-0.4.0
+ test-case-2.2.2
+ test-case-macros-2.2.2
+ textwrap-0.16.0
+ thiserror-1.0.38
+ thiserror-impl-1.0.38
+ thread_local-1.1.7
+ tikv-jemalloc-sys-0.5.3+5.3.0-patched
+ tikv-jemallocator-0.5.0
+ time-0.1.45
+ tiny-keccak-2.0.2
+ tinytemplate-1.2.1
+ tinyvec-1.6.0
+ tinyvec_macros-0.1.1
+ titlecase-2.2.1
+ toml-0.6.0
+ toml_datetime-0.5.1
+ toml_edit-0.18.1
+ tracing-0.1.37
+ tracing-core-0.1.30
+ twox-hash-1.6.3
+ typenum-1.16.0
+ ucd-trie-0.1.5
+ unic-char-property-0.9.0
+ unic-char-range-0.9.0
+ unic-common-0.9.0
+ unic-emoji-char-0.9.0
+ unic-ucd-category-0.9.0
+ unic-ucd-ident-0.9.0
+ unic-ucd-version-0.9.0
+ unicode-bidi-0.3.10
+ unicode-ident-1.0.6
+ unicode-linebreak-0.1.4
+ unicode-normalization-0.1.22
+ unicode-width-0.1.10
+ unicode-xid-0.2.4
+ unicode_names2-0.5.1
+ untrusted-0.7.1
+ ureq-2.6.2
+ url-2.3.1
+ uuid-1.3.0
+ version_check-0.9.4
+ volatile-0.3.0
+ wait-timeout-0.2.0
+ walkdir-2.3.2
+ wasi-0.10.0+wasi-snapshot-preview1
+ wasi-0.11.0+wasi-snapshot-preview1
+ wasm-bindgen-0.2.84
+ wasm-bindgen-backend-0.2.84
+ wasm-bindgen-futures-0.4.34
+ wasm-bindgen-macro-0.2.84
+ wasm-bindgen-macro-support-0.2.84
+ wasm-bindgen-shared-0.2.84
+ wasm-bindgen-test-0.3.34
+ wasm-bindgen-test-macro-0.3.34
+ web-sys-0.3.61
+ webpki-0.22.0
+ webpki-roots-0.22.6
+ which-4.4.0
+ widestring-0.5.1
+ winapi-0.3.9
+ winapi-i686-pc-windows-gnu-0.4.0
+ winapi-util-0.1.5
+ winapi-x86_64-pc-windows-gnu-0.4.0
+ windows-sys-0.42.0
+ windows-sys-0.45.0
+ windows-targets-0.42.1
+ windows_aarch64_gnullvm-0.42.1
+ windows_aarch64_msvc-0.42.1
+ windows_i686_gnu-0.42.1
+ windows_i686_msvc-0.42.1
+ windows_x86_64_gnu-0.42.1
+ windows_x86_64_gnullvm-0.42.1
+ windows_x86_64_msvc-0.42.1
+ yaml-rust-0.4.5
+ yansi-term-0.1.2
+"
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=maturin
+
+LIBCST_COMMIT="f2f0b7a487a8725d161fe8b3ed73a6758b21e177"
+RUSTPYTHON_COMMIT="edf5995a1e4c366976304ca05432dd27c913054e"
+declare -A GIT_CRATES=(
+ [libcst]="https://github.com/charliermarsh/LibCST;${LIBCST_COMMIT};LibCST-%commit%/native/libcst"
+ [libcst_derive]="https://github.com/charliermarsh/LibCST;${LIBCST_COMMIT};LibCST-%commit%/native/libcst_derive"
+ [rustpython-ast]="https://github.com/RustPython/RustPython;${RUSTPYTHON_COMMIT};RustPython-%commit%/compiler/ast"
+ [rustpython-common]="https://github.com/RustPython/RustPython;${RUSTPYTHON_COMMIT};RustPython-%commit%/common"
+ [rustpython-compiler-core]="https://github.com/RustPython/RustPython;${RUSTPYTHON_COMMIT};RustPython-%commit%/compiler/core"
+ [rustpython-parser]="https://github.com/RustPython/RustPython;${RUSTPYTHON_COMMIT};RustPython-%commit%/compiler/parser"
+)
+
+inherit distutils-r1 cargo
+
+DESCRIPTION="An extremely fast Python linter, written in Rust"
+# Double check the homepage as the cargo_metadata crate
+# does not provide this value so instead repository is used
+HOMEPAGE="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 set may be more restrictive as OR is not respected
+# use cargo-license for a more accurate license picture
+LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions Artistic-2 BSD Boost-1.0 CC0-1.0 ISC LGPL-3+ MIT MPL-2.0 Unicode-DFS-2016 Unlicense WTFPL-2 ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ dev-util/patchelf
+"
+
+# rust does not use *FLAGS from make.conf, silence portage warning
+# update with proper path to binaries this crate installs, omit leading /
+QA_FLAGS_IGNORED="usr/bin/ruff usr/lib*/libruff.so"
+
+# haven't been able to figure out how to get tests working yet
+RESTRICT=test
+
+DOCS=(
+ BREAKING_CHANGES.md
+ CODE_OF_CONDUCT.md
+ CONTRIBUTING.md
+ README.md
+)
+
+src_prepare() {
+ sed -r 's:(strip[[:space:]]*=[[:space:]]*)true:\1false:' \
+ -i pyproject.toml || die
+
+ eapply_user
+}
+
+src_configure() {
+ export RUSTFLAGS="${RUSTFLAGS}"
+ cargo_src_configure
+}
+
+src_compile() {
+ cargo_src_compile
+
+ python_copy_sources
+ distutils-r1_src_configure
+ distutils-r1_src_compile
+
+ patchelf --set-soname libruff.so target/$(usex 'debug' 'debug' 'release')/libruff.so || die
+}
+
+src_test() {
+ cargo_src_test
+ distutils-r1_src_test
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ local releasedir=target/$(usex 'debug' 'debug' 'release')
+
+ dobin ${releasedir}/ruff
+ dolib.so ${releasedir}/libruff.so
+
+ dodoc "${DOCS[@]}"
+}