diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2024-09-25 23:56:10 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2024-09-26 00:13:56 -0400 |
commit | 0aa265202f71cabffac24b014d26af028c08c403 (patch) | |
tree | 04146c3bc1eb8e70c57c0626bdf2a3ff06913b35 /dev-util | |
parent | dev-util/maturin: add 1.7.4 (diff) | |
download | gentoo-0aa265202f71cabffac24b014d26af028c08c403.tar.gz gentoo-0aa265202f71cabffac24b014d26af028c08c403.tar.bz2 gentoo-0aa265202f71cabffac24b014d26af028c08c403.zip |
dev-util/maturin: drop 1.7.2, 1.7.3
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/maturin/Manifest | 3 | ||||
-rw-r--r-- | dev-util/maturin/maturin-1.7.2.ebuild | 576 | ||||
-rw-r--r-- | dev-util/maturin/maturin-1.7.3.ebuild | 576 |
3 files changed, 0 insertions, 1155 deletions
diff --git a/dev-util/maturin/Manifest b/dev-util/maturin/Manifest index af1165148507..92b012d0e633 100644 --- a/dev-util/maturin/Manifest +++ b/dev-util/maturin/Manifest @@ -212,7 +212,6 @@ DIST ignore-0.4.23.crate 55901 BLAKE2B 8c5138e723cbccffe84aa215b2e73daa18d8b2d39 DIST indexmap-1.9.3.crate 54653 BLAKE2B 7bc1768589e74020dc15d3dd064009edaaef39b7aeb682d0ca8e49944e3f020b9c04d64feb102e88b22feb40863479dfaf4722d6a77b5d19e7ca553f4bf64c1b SHA512 2aa8069eb07a814c8fa3e11296c9f032ef60963520d7786ad20cca5cb7e73b8f76d97722a994d65295bb713020aadce5008cd3df5e99d8bd968ef1979f910a37 DIST indexmap-2.2.3.crate 79019 BLAKE2B cc87bac104efd9aa565e3b8d6071f271b33501e2192b3a478120c41d015537e807bf3ae808ddab930aeb861f353022ac76522e5102e32f72722b93d36d5f2236 SHA512 ddc45ebcfb36d761d8c11b8f61bcef046a51eea71692d89495c897cf9b4cdb5e14287600285297c8a6aab543761d9f5ba3ab45442803837a810b945aa346d48a DIST indexmap-2.2.6.crate 82420 BLAKE2B fac5cf6339dc3c0a40b100035a5c874cc7b2efeafeb31c51488d25156e392dc9db86a497e76eead351d2126f69d060422faa9c55d73407a0de9f5be18d234123 SHA512 53211c4a9003d751feb6dcdf1a76495764cbf32d24bbfe2be7023946622ef4f2b07a6de57109e5d24ee01892f4b2be0e0692e10cd31fd39c4ffdff4d37abe9ea -DIST indexmap-2.4.0.crate 83544 BLAKE2B f4b3e1b877c9355a491e33d10e3ef730f943b54bb14f33ed476120e2a8f0cd3550f6aeee1a56e1868881e1853b3d41283ab803faf5afbf32c86b36e08e7f2026 SHA512 9c7f2b495f0568ce56e2fa8d3355948783b490b23b46a83acade2864e41eb31a50cf372d818b2a1d3d24327282a9866e690348134a20ee481d748bdc581145ec DIST indexmap-2.5.0.crate 85919 BLAKE2B 766da0a2ddc406e3fb1a70a0bee00141045ff72b52cc412adf05972ccef59d416f502c429dada111461cb522a5c442087e01d8fb235c2f1fd5493adea00e79dc SHA512 c4627d43b1bc5c5fd64861d1a7ed66255ec3f790367028b2758a40751286d6677da7170cfb04dd88ca4c2d163df621583d2e0dc4e9db6d7ed9bd0cbea42b1729 DIST indicatif-0.17.7.crate 63108 BLAKE2B 665bc2077207cac6ca2071d9e6ead76abb30d5f7c209d7b4a2ff5a1fcba566b331467239bd9168082839c961acf5a0522ae4c899aec141ccc649025b2eeeacc3 SHA512 412955eec523e961a20bb48f9921128004e723b405c8f1bb73abfaeb4f532ac6f883794fe6c8738a40c2e0a400a6ebf94ee17d89f7cdc98d9d0f8611d84a369e DIST indicatif-0.17.8.crate 64869 BLAKE2B c534020b2c7b25bb07cdd0fd4414fc817506647cf5b8e2081c22be58857d5adb170082a3756004c69187619fc5625f8b9a1904566dc51c621838e09ecda5b43e SHA512 487e73445c5c7d3c16d6f93a3d9767f41b37d2832e56851154f8b69e678ab7d9ab04eba225a6bcf8b48842ae0db0249b060e998e29a252dedf8afacdc88b1aaf @@ -261,8 +260,6 @@ DIST mailparse-0.15.0.crate 37293 BLAKE2B 3ef9c0f3e65288066a1a792b3ad5bf4ca08126 DIST matchers-0.1.0.crate 6948 BLAKE2B ec3a5d01d2fedbb4dbf5bb185afbb9401410463a61f51674e0df6a571db352b2bbabfb99cdbdcfb4e511ae783165bf0258f5163f240a229b9087f9edbd0df41a SHA512 84214c1a84952d85631aa1ab5115df7cda223ac64e2acf055b6129ba1aa26ddc87615a8b51ca890ce3fee0419053fa7fe1599ae128f1d211b58c07b0c4af3b19 DIST maturin-1.6.0.gh.tar.gz 464510 BLAKE2B dc40df2ae593d57dd8d52526734cf6e8cf01c42de4cd92b5ee0d4a20168367bef6b6fe783dd7e2ba51d96b91510699a207ada15c69f97cc832d34eb5f1028ae2 SHA512 de67ce91200fb17ffe40587ae66b9a39db53ba74512354aa632631097926833be01dd685eefcfc95e9f13535c73ba1dcd166b2111d987769aa109f4a7f8e2c09 DIST maturin-1.7.1.gh.tar.gz 505952 BLAKE2B 0b1294277e3e203a38d904782fb9e9fbc8336f50670abd1c68b8c8c2ff2a7dfdcd8fa6e98dfb4b43c625349d01f6b89826b8c9740e7660629671ad4c07ee0fd7 SHA512 7022cb87d5710807f1b8e4e858d19e2dc2e07b02d7f47e9bc6a322686dce90c7aeb8c2f5caf7b5da4ca61cadbede7daf84728ae9f341c38384231872c9be5cb2 -DIST maturin-1.7.2.gh.tar.gz 511124 BLAKE2B 1b2e4f91f4148772c5944bf8ca2decf050deb07fd1275bf660ad19fec6470f4aee34fcc8e827da42c9d1667aaf4a3e575903341bcfb5ce39773be007b0de6aa7 SHA512 ec3bce5aea7c82c3bb241c24eeee1479aaa7f1e36b6e093b9ea260cbc127db17f92d0d3a4ac301f20e94ced9d3bf7ef3dafa42658a2de7f8e56356ee9b87a5fe -DIST maturin-1.7.3.gh.tar.gz 511217 BLAKE2B ae2a001f2ba34da7d249ab7f7a441703e35a2068e5ffbcdad2dbae252cdc3c3b6bc9eca4397ba8a4c8b46e23370d27f46a523f8c03ed47946a96815f37eae81d SHA512 a623b1db9eb7c41e392610c2a8ea65fecb87ae870eb663b09b9c84a832217bc60a81b639904a63bff09290cdf71277a9368235f09862c2e5639c94815268b692 DIST maturin-1.7.4.gh.tar.gz 511488 BLAKE2B 008b2d67d553479040fcd3062b93ca12dc6f2b98c3d6cb43cac7ff0d8e4772417b99fbf2a73ed96cfcc8a7372b37d845e8485ba0afc80342943a10d716492377 SHA512 72fb43a10d3cdf35eca224232c59723bff5b9230c7d40ff01537e1ba869254b4b6e9a0c52e8b7154f7b74f0f0b5bace4e7bb9ac5257c9fbc04750160791c35e3 DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa DIST memchr-2.7.1.crate 96307 BLAKE2B f1a008fbdbfe84852a8ae1d9d9574306b1bf120dd5087903adbcca6af342c9abbb296496eb9bf6cb58915c4444b3edd6ca4e27131ac7d8aed8849815df87a944 SHA512 5120496faa31fc427c8b4178461a262b3a34d70eddb7ad17a19d6db8b9969c9e113d3625b5e6dc677087fc80907377b00ba0421aba9a92cf73ca2849d932f473 diff --git a/dev-util/maturin/maturin-1.7.2.ebuild b/dev-util/maturin/maturin-1.7.2.ebuild deleted file mode 100644 index 8808dfef70ae..000000000000 --- a/dev-util/maturin/maturin-1.7.2.ebuild +++ /dev/null @@ -1,576 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - adler@1.0.2 - ahash@0.8.11 - aho-corasick@1.1.3 - allocator-api2@0.2.18 - anstream@0.6.14 - anstyle-parse@0.2.4 - anstyle-query@1.1.0 - anstyle-wincon@3.0.3 - anstyle@1.0.7 - anyhow@1.0.86 - autocfg@1.3.0 - automod@1.0.14 - base64@0.21.7 - base64@0.22.1 - bitflags@1.3.2 - bitflags@2.5.0 - block-buffer@0.10.4 - bstr@1.10.0 - byteorder@1.5.0 - bytesize@1.3.0 - bytes@1.7.1 - bzip2-sys@0.1.11+1.0.8 - bzip2@0.4.4 - cab@0.5.0 - camino@1.1.9 - cargo-config2@0.1.26 - cargo-options@0.7.4 - cargo-platform@0.1.8 - cargo-xwin@0.16.5 - cargo-zigbuild@0.19.3 - cargo_metadata@0.18.1 - cbindgen@0.26.0 - cc@1.1.21 - cfb@0.9.0 - cfg-if@1.0.0 - charset@0.1.5 - chumsky@0.9.3 - clap@4.5.7 - clap_builder@4.5.7 - clap_complete@4.5.5 - clap_complete_command@0.6.1 - clap_complete_nushell@4.5.2 - clap_derive@4.5.5 - clap_lex@0.7.1 - cli-table@0.4.7 - colorchoice@1.0.1 - configparser@3.1.0 - console@0.15.8 - content_inspector@0.2.4 - core-foundation-sys@0.8.6 - core-foundation@0.9.4 - cpufeatures@0.2.12 - crc32fast@1.4.2 - crc-catalog@2.4.0 - crc@3.2.1 - crossbeam-channel@0.5.13 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.20 - crypto-common@0.1.6 - data-encoding@2.6.0 - deranged@0.3.11 - derivative@2.2.0 - dialoguer@0.11.0 - diff@0.1.13 - digest@0.10.7 - dirs-sys@0.4.1 - dirs@5.0.1 - dissimilar@1.0.9 - dunce@1.0.5 - dyn-clone@1.0.17 - either@1.13.0 - encode_unicode@0.3.6 - encoding_rs@0.8.34 - equivalent@1.0.1 - errno@0.3.9 - expect-test@1.5.0 - fastrand@2.1.0 - fat-macho@0.4.8 - filetime@0.2.23 - flate2@1.0.30 - fnv@1.0.7 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - form_urlencoded@1.2.1 - fs-err@2.11.0 - futures-channel@0.3.30 - futures-core@0.3.30 - futures-executor@0.3.30 - futures-io@0.3.30 - futures-macro@0.3.30 - futures-sink@0.3.30 - futures-task@0.3.30 - futures-timer@3.0.3 - futures-util@0.3.30 - futures@0.3.30 - generic-array@0.14.7 - getrandom@0.2.15 - globset@0.4.14 - glob@0.3.1 - goblin@0.8.2 - hashbrown@0.12.3 - hashbrown@0.14.5 - heck@0.4.1 - heck@0.5.0 - home@0.5.9 - humantime-serde@1.1.1 - humantime@2.1.0 - idna@0.5.0 - ignore@0.4.22 - indexmap@1.9.3 - indexmap@2.4.0 - indicatif@0.17.8 - indoc@2.0.5 - instant@0.1.13 - is_terminal_polyfill@1.70.0 - itertools@0.12.1 - itoa@1.0.11 - keyring@2.3.3 - lazy_static@1.4.0 - lddtree@0.3.5 - libc@0.2.158 - libmimalloc-sys@0.1.38 - libredox@0.1.3 - linux-keyutils@0.2.4 - linux-raw-sys@0.4.14 - lock_api@0.4.12 - log@0.4.21 - lzxd@0.2.5 - mailparse@0.15.0 - matchers@0.1.0 - memchr@2.7.2 - mimalloc@0.1.42 - mime@0.3.17 - mime_guess@2.0.4 - minijinja@1.0.21 - minimal-lexical@0.2.1 - miniz_oxide@0.7.3 - msi@0.7.0 - multipart@0.18.0 - native-tls@0.2.12 - nom@7.1.3 - normalize-line-endings@0.3.0 - normpath@1.2.0 - number_prefix@0.4.0 - num-conv@0.1.0 - nu-ansi-term@0.46.0 - once_cell@1.19.0 - openssl-macros@0.1.1 - openssl-probe@0.1.5 - openssl-sys@0.9.103 - openssl@0.10.66 - option-ext@0.2.0 - os_pipe@1.2.0 - overload@0.1.1 - parking_lot@0.12.3 - parking_lot_core@0.9.10 - paste@1.0.15 - path-slash@0.2.1 - pep440_rs@0.6.0 - pep508_rs@0.6.0 - percent-encoding@2.3.1 - pin-project-lite@0.2.14 - pin-utils@0.1.0 - pkg-config@0.3.30 - plain@0.2.3 - platform-info@2.0.3 - portable-atomic@1.6.0 - powerfmt@0.2.0 - ppv-lite86@0.2.17 - pretty_assertions@1.4.0 - proc-macro2@1.0.85 - proc-macro-crate@3.1.0 - psm@0.1.21 - pyproject-toml@0.11.0 - python-pkginfo@0.6.2 - quoted_printable@0.5.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_syscall@0.5.1 - redox_users@0.4.5 - regex-automata@0.1.10 - regex-automata@0.4.7 - regex-syntax@0.6.29 - regex-syntax@0.8.4 - regex@1.10.5 - relative-path@1.9.3 - rfc2047-decoder@1.0.5 - ring@0.17.8 - rstest@0.21.0 - rstest_macros@0.21.0 - rustc_version@0.4.0 - rustflags@0.1.6 - rustix@0.38.34 - rustls-pemfile@2.1.2 - rustls-pki-types@1.7.0 - rustls-webpki@0.102.4 - rustls@0.22.4 - rustversion@1.0.17 - ryu@1.0.18 - same-file@1.0.6 - schannel@0.1.23 - schemars@0.8.21 - schemars_derive@0.8.21 - scopeguard@1.2.0 - scroll@0.12.0 - scroll_derive@0.12.0 - security-framework-sys@2.11.0 - security-framework@2.11.0 - semver@1.0.23 - serde@1.0.210 - serde_derive@1.0.210 - serde_derive_internals@0.29.1 - serde_json@1.0.128 - serde_spanned@0.6.6 - sha2@0.10.8 - sharded-slab@0.1.7 - shell-words@1.1.0 - shlex@1.3.0 - similar@2.5.0 - slab@0.4.9 - smallvec@1.13.2 - smawk@0.3.2 - snapbox-macros@0.3.9 - snapbox@0.6.10 - socks@0.3.4 - spin@0.9.8 - stacker@0.1.15 - static_assertions@1.1.0 - strsim@0.11.1 - subtle@2.5.0 - syn@1.0.109 - syn@2.0.76 - target-lexicon@0.12.16 - tar@0.4.41 - tempfile@3.10.1 - termcolor@1.4.1 - terminal_size@0.3.0 - textwrap@0.16.1 - thiserror-impl@1.0.61 - thiserror@1.0.61 - thread_local@1.1.8 - time-core@0.1.2 - time-macros@0.2.18 - time@0.3.36 - tinyvec@1.7.0 - tinyvec_macros@0.1.1 - toml@0.5.11 - toml@0.8.14 - toml_datetime@0.6.6 - toml_edit@0.21.1 - toml_edit@0.22.14 - tracing-attributes@0.1.27 - tracing-core@0.1.32 - tracing-log@0.2.0 - tracing-serde@0.1.3 - tracing-subscriber@0.3.18 - tracing@0.1.40 - trycmd@0.15.4 - twox-hash@1.6.3 - typenum@1.17.0 - unicase@2.7.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.13 - unicode-xid@0.2.4 - unscanny@0.1.0 - untrusted@0.9.0 - ureq@2.9.7 - urlencoding@2.1.3 - url@2.5.2 - utf8parse@0.2.2 - uuid@1.8.0 - valuable@0.1.0 - vcpkg@0.2.15 - versions@6.2.0 - version_check@0.9.4 - wait-timeout@0.2.0 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - webpki-roots@0.26.2 - which@5.0.0 - 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-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_gnullvm@0.52.5 - windows_i686_gnu@0.48.5 - windows_i686_gnu@0.52.5 - windows_i686_msvc@0.48.5 - windows_i686_msvc@0.52.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_gnullvm@0.52.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnu@0.52.5 - windows_x86_64_msvc@0.48.5 - windows_x86_64_msvc@0.52.5 - winnow@0.5.40 - winnow@0.6.13 - winsafe@0.0.19 - xattr@1.3.1 - xwin@0.5.1 - yansi@0.5.1 - zerocopy-derive@0.7.34 - zerocopy@0.7.34 - zeroize@1.8.1 - zip@0.6.6 -" -# additional crates used by test-crates/* test packages, -# `grep test-crates tests/run.rs` to see which are needed -CRATES_TEST=" - anstream@0.6.15 - anstyle-parse@0.2.5 - anstyle-query@1.1.1 - anstyle-wincon@3.0.4 - anstyle@1.0.8 - askama@0.12.1 - askama_derive@0.12.5 - askama_escape@0.10.3 - askama_parser@0.2.1 - autocfg@1.1.0 - basic-toml@0.1.9 - bincode@1.3.3 - bytes@1.6.0 - camino@1.1.7 - cargo_metadata@0.15.4 - cc@1.0.73 - cc@1.0.81 - cc@1.0.83 - clap@4.5.16 - clap_builder@4.5.15 - clap_derive@4.5.13 - clap_lex@0.7.2 - colorchoice@1.0.2 - getrandom@0.2.10 - indoc@2.0.4 - is_terminal_polyfill@1.70.1 - libc@0.2.134 - libc@0.2.147 - libc@0.2.149 - libc@0.2.155 - log@0.4.22 - memchr@2.7.4 - memoffset@0.9.0 - memoffset@0.9.1 - mime_guess@2.0.5 - once_cell@1.15.0 - once_cell@1.18.0 - portable-atomic@1.7.0 - proc-macro2@1.0.86 - pyo3-build-config@0.18.3 - pyo3-build-config@0.22.0 - pyo3-build-config@0.22.2 - pyo3-ffi@0.18.3 - pyo3-ffi@0.22.0 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.0 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.0 - pyo3-macros@0.22.2 - pyo3@0.22.0 - pyo3@0.22.2 - python3-dll-a@0.2.6 - python3-dll-a@0.2.9 - serde@1.0.203 - serde@1.0.209 - serde_derive@1.0.203 - serde_derive@1.0.209 - serde_json@1.0.118 - serde_json@1.0.127 - siphasher@0.3.11 - syn@2.0.68 - syn@2.0.72 - target-lexicon@0.12.11 - target-lexicon@0.12.14 - thiserror-impl@1.0.63 - thiserror@1.0.63 - unicode-ident@1.0.5 - unicode-ident@1.0.11 - uniffi@0.28.0 - uniffi@0.28.1 - uniffi_bindgen@0.28.0 - uniffi_bindgen@0.28.1 - uniffi_build@0.28.0 - uniffi_build@0.28.1 - uniffi_checksum_derive@0.28.0 - uniffi_checksum_derive@0.28.1 - uniffi_core@0.28.0 - uniffi_core@0.28.1 - uniffi_macros@0.28.0 - uniffi_macros@0.28.1 - uniffi_meta@0.28.0 - uniffi_meta@0.28.1 - uniffi_testing@0.28.0 - uniffi_testing@0.28.1 - uniffi_udl@0.28.0 - uniffi_udl@0.28.1 - unindent@0.2.3 - version_check@0.9.5 - weedle2@5.0.0 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_gnu@0.52.6 - windows_i686_msvc@0.52.6 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_gnu@0.52.6 - windows_x86_64_msvc@0.52.6 -" -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..13} ) -inherit cargo distutils-r1 flag-o-matic shell-completion toolchain-funcs - -DESCRIPTION="Build and publish crates with pyo3, rust-cpython and cffi bindings" -HOMEPAGE="https://www.maturin.rs/" -SRC_URI=" - https://github.com/PyO3/maturin/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} - test? ( $(cargo_crate_uris ${CRATES_TEST}) ) -" - -# note: rustls+ring is unused, so openssl license can be skipped -LICENSE="|| ( Apache-2.0 MIT ) doc? ( CC-BY-4.0 OFL-1.1 )" -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 - Unicode-DFS-2016 -" # crates -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc +ssl test" -RESTRICT="!test? ( test )" - -RDEPEND="$(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10)" -DEPEND="ssl? ( dev-libs/openssl:= )" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/mdbook ) - test? ( - ${RDEPEND} - $(python_gen_cond_dep 'dev-python/cffi[${PYTHON_USEDEP}]' 'python*') - dev-python/boltons[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-vcs/git - elibc_musl? ( dev-util/patchelf ) - ) -" -RDEPEND+=" ${DEPEND}" - -QA_FLAGS_IGNORED="usr/bin/${PN}" - -src_prepare() { - distutils-r1_src_prepare - - # we build the Rust executable (just once) via cargo_src_compile - sed -i -e '/setuptools_rust/d' -e '/rust_extensions/d' setup.py || die - - if use test; then - # used to prevent use of network during tests, and silence pip - # if it finds unrelated issues with system packages (bug #913613) - cat > "${T}"/pip.conf <<-EOF || die - [global] - quiet = 2 - - [install] - no-index = yes - no-dependencies = yes - EOF - - # used by *git_sdist_generator tests - git init -q || die - git config --global user.email "larry@gentoo.org" || die - git config --global user.name "Larry the Cow" || die - git add . || die - git commit -qm init || die - fi -} - -src_configure() { - export OPENSSL_NO_VENDOR=1 - - # bug #938847 (TODO?: should probably be an eclass default for musl) - use elibc_musl && RUSTFLAGS+=" -C target-feature=-crt-static" - - # https://github.com/rust-lang/stacker/issues/79 - use s390 && ! is-flagq '-march=*' && - append-cflags $(test-flags-CC -march=z10) - - local myfeatures=( - # like release.yml + native-tls for better platform support than rustls - full - password-storage - $(usev ssl native-tls) - ) - - cargo_src_configure --no-default-features -} - -python_compile_all() { - cargo_src_compile - - use !doc || mdbook build -d html guide || die - - if ! tc-is-cross-compiler; then - local maturin=$(cargo_target_dir)/maturin - "${maturin}" completions bash > "${T}"/${PN} || die - "${maturin}" completions fish > "${T}"/${PN}.fish || die - "${maturin}" completions zsh > "${T}"/_${PN} || die - else - ewarn "shell completion files were skipped due to cross-compilation" - fi -} - -python_test() { - local -x MATURIN_TEST_PYTHON=${EPYTHON} - local -x PIP_CONFIG_FILE=${T}/pip.conf - local -x VIRTUALENV_SYSTEM_SITE_PACKAGES=1 - - # need this for (new) python versions not yet recognized by pyo3 - local -x PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 - - local skip=( - # picky cli output test that easily benignly fail (bug #937992) - --skip cli_tests - # avoid need for wasm over a single hello world test - --skip integration_wasm_hello_world - # fragile depending on rust version, also wants libpypy*-c.so for pypy - --skip pyo3_no_extension_module - # unimportant tests that use uv, and it does not seem to be able - # to find the system's dev-python/uv (not worth the trouble) - --skip develop_hello_world::case_2 - --skip develop_pyo3_ffi_pure::case_2 - # fails on sparc since rust-1.74 (bug #934573), skip for now given - # should not affect the pep517 backend which is all we need on sparc - $(usev sparc '--skip build_context::test::test_macosx_deployment_target') - ) - - cargo_src_test -- "${skip[@]}" -} - -python_install_all() { - cargo_src_install - - dodoc Changelog.md README.md - use doc && dodoc -r guide/html - - if ! tc-is-cross-compiler; then - dobashcomp "${T}"/${PN} - dofishcomp "${T}"/${PN}.fish - dozshcomp "${T}"/_${PN} - fi -} diff --git a/dev-util/maturin/maturin-1.7.3.ebuild b/dev-util/maturin/maturin-1.7.3.ebuild deleted file mode 100644 index 8808dfef70ae..000000000000 --- a/dev-util/maturin/maturin-1.7.3.ebuild +++ /dev/null @@ -1,576 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - adler@1.0.2 - ahash@0.8.11 - aho-corasick@1.1.3 - allocator-api2@0.2.18 - anstream@0.6.14 - anstyle-parse@0.2.4 - anstyle-query@1.1.0 - anstyle-wincon@3.0.3 - anstyle@1.0.7 - anyhow@1.0.86 - autocfg@1.3.0 - automod@1.0.14 - base64@0.21.7 - base64@0.22.1 - bitflags@1.3.2 - bitflags@2.5.0 - block-buffer@0.10.4 - bstr@1.10.0 - byteorder@1.5.0 - bytesize@1.3.0 - bytes@1.7.1 - bzip2-sys@0.1.11+1.0.8 - bzip2@0.4.4 - cab@0.5.0 - camino@1.1.9 - cargo-config2@0.1.26 - cargo-options@0.7.4 - cargo-platform@0.1.8 - cargo-xwin@0.16.5 - cargo-zigbuild@0.19.3 - cargo_metadata@0.18.1 - cbindgen@0.26.0 - cc@1.1.21 - cfb@0.9.0 - cfg-if@1.0.0 - charset@0.1.5 - chumsky@0.9.3 - clap@4.5.7 - clap_builder@4.5.7 - clap_complete@4.5.5 - clap_complete_command@0.6.1 - clap_complete_nushell@4.5.2 - clap_derive@4.5.5 - clap_lex@0.7.1 - cli-table@0.4.7 - colorchoice@1.0.1 - configparser@3.1.0 - console@0.15.8 - content_inspector@0.2.4 - core-foundation-sys@0.8.6 - core-foundation@0.9.4 - cpufeatures@0.2.12 - crc32fast@1.4.2 - crc-catalog@2.4.0 - crc@3.2.1 - crossbeam-channel@0.5.13 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-utils@0.8.20 - crypto-common@0.1.6 - data-encoding@2.6.0 - deranged@0.3.11 - derivative@2.2.0 - dialoguer@0.11.0 - diff@0.1.13 - digest@0.10.7 - dirs-sys@0.4.1 - dirs@5.0.1 - dissimilar@1.0.9 - dunce@1.0.5 - dyn-clone@1.0.17 - either@1.13.0 - encode_unicode@0.3.6 - encoding_rs@0.8.34 - equivalent@1.0.1 - errno@0.3.9 - expect-test@1.5.0 - fastrand@2.1.0 - fat-macho@0.4.8 - filetime@0.2.23 - flate2@1.0.30 - fnv@1.0.7 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - form_urlencoded@1.2.1 - fs-err@2.11.0 - futures-channel@0.3.30 - futures-core@0.3.30 - futures-executor@0.3.30 - futures-io@0.3.30 - futures-macro@0.3.30 - futures-sink@0.3.30 - futures-task@0.3.30 - futures-timer@3.0.3 - futures-util@0.3.30 - futures@0.3.30 - generic-array@0.14.7 - getrandom@0.2.15 - globset@0.4.14 - glob@0.3.1 - goblin@0.8.2 - hashbrown@0.12.3 - hashbrown@0.14.5 - heck@0.4.1 - heck@0.5.0 - home@0.5.9 - humantime-serde@1.1.1 - humantime@2.1.0 - idna@0.5.0 - ignore@0.4.22 - indexmap@1.9.3 - indexmap@2.4.0 - indicatif@0.17.8 - indoc@2.0.5 - instant@0.1.13 - is_terminal_polyfill@1.70.0 - itertools@0.12.1 - itoa@1.0.11 - keyring@2.3.3 - lazy_static@1.4.0 - lddtree@0.3.5 - libc@0.2.158 - libmimalloc-sys@0.1.38 - libredox@0.1.3 - linux-keyutils@0.2.4 - linux-raw-sys@0.4.14 - lock_api@0.4.12 - log@0.4.21 - lzxd@0.2.5 - mailparse@0.15.0 - matchers@0.1.0 - memchr@2.7.2 - mimalloc@0.1.42 - mime@0.3.17 - mime_guess@2.0.4 - minijinja@1.0.21 - minimal-lexical@0.2.1 - miniz_oxide@0.7.3 - msi@0.7.0 - multipart@0.18.0 - native-tls@0.2.12 - nom@7.1.3 - normalize-line-endings@0.3.0 - normpath@1.2.0 - number_prefix@0.4.0 - num-conv@0.1.0 - nu-ansi-term@0.46.0 - once_cell@1.19.0 - openssl-macros@0.1.1 - openssl-probe@0.1.5 - openssl-sys@0.9.103 - openssl@0.10.66 - option-ext@0.2.0 - os_pipe@1.2.0 - overload@0.1.1 - parking_lot@0.12.3 - parking_lot_core@0.9.10 - paste@1.0.15 - path-slash@0.2.1 - pep440_rs@0.6.0 - pep508_rs@0.6.0 - percent-encoding@2.3.1 - pin-project-lite@0.2.14 - pin-utils@0.1.0 - pkg-config@0.3.30 - plain@0.2.3 - platform-info@2.0.3 - portable-atomic@1.6.0 - powerfmt@0.2.0 - ppv-lite86@0.2.17 - pretty_assertions@1.4.0 - proc-macro2@1.0.85 - proc-macro-crate@3.1.0 - psm@0.1.21 - pyproject-toml@0.11.0 - python-pkginfo@0.6.2 - quoted_printable@0.5.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_syscall@0.5.1 - redox_users@0.4.5 - regex-automata@0.1.10 - regex-automata@0.4.7 - regex-syntax@0.6.29 - regex-syntax@0.8.4 - regex@1.10.5 - relative-path@1.9.3 - rfc2047-decoder@1.0.5 - ring@0.17.8 - rstest@0.21.0 - rstest_macros@0.21.0 - rustc_version@0.4.0 - rustflags@0.1.6 - rustix@0.38.34 - rustls-pemfile@2.1.2 - rustls-pki-types@1.7.0 - rustls-webpki@0.102.4 - rustls@0.22.4 - rustversion@1.0.17 - ryu@1.0.18 - same-file@1.0.6 - schannel@0.1.23 - schemars@0.8.21 - schemars_derive@0.8.21 - scopeguard@1.2.0 - scroll@0.12.0 - scroll_derive@0.12.0 - security-framework-sys@2.11.0 - security-framework@2.11.0 - semver@1.0.23 - serde@1.0.210 - serde_derive@1.0.210 - serde_derive_internals@0.29.1 - serde_json@1.0.128 - serde_spanned@0.6.6 - sha2@0.10.8 - sharded-slab@0.1.7 - shell-words@1.1.0 - shlex@1.3.0 - similar@2.5.0 - slab@0.4.9 - smallvec@1.13.2 - smawk@0.3.2 - snapbox-macros@0.3.9 - snapbox@0.6.10 - socks@0.3.4 - spin@0.9.8 - stacker@0.1.15 - static_assertions@1.1.0 - strsim@0.11.1 - subtle@2.5.0 - syn@1.0.109 - syn@2.0.76 - target-lexicon@0.12.16 - tar@0.4.41 - tempfile@3.10.1 - termcolor@1.4.1 - terminal_size@0.3.0 - textwrap@0.16.1 - thiserror-impl@1.0.61 - thiserror@1.0.61 - thread_local@1.1.8 - time-core@0.1.2 - time-macros@0.2.18 - time@0.3.36 - tinyvec@1.7.0 - tinyvec_macros@0.1.1 - toml@0.5.11 - toml@0.8.14 - toml_datetime@0.6.6 - toml_edit@0.21.1 - toml_edit@0.22.14 - tracing-attributes@0.1.27 - tracing-core@0.1.32 - tracing-log@0.2.0 - tracing-serde@0.1.3 - tracing-subscriber@0.3.18 - tracing@0.1.40 - trycmd@0.15.4 - twox-hash@1.6.3 - typenum@1.17.0 - unicase@2.7.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.13 - unicode-xid@0.2.4 - unscanny@0.1.0 - untrusted@0.9.0 - ureq@2.9.7 - urlencoding@2.1.3 - url@2.5.2 - utf8parse@0.2.2 - uuid@1.8.0 - valuable@0.1.0 - vcpkg@0.2.15 - versions@6.2.0 - version_check@0.9.4 - wait-timeout@0.2.0 - walkdir@2.5.0 - wasi@0.11.0+wasi-snapshot-preview1 - webpki-roots@0.26.2 - which@5.0.0 - 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-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_gnullvm@0.52.5 - windows_i686_gnu@0.48.5 - windows_i686_gnu@0.52.5 - windows_i686_msvc@0.48.5 - windows_i686_msvc@0.52.5 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_gnullvm@0.52.5 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnu@0.52.5 - windows_x86_64_msvc@0.48.5 - windows_x86_64_msvc@0.52.5 - winnow@0.5.40 - winnow@0.6.13 - winsafe@0.0.19 - xattr@1.3.1 - xwin@0.5.1 - yansi@0.5.1 - zerocopy-derive@0.7.34 - zerocopy@0.7.34 - zeroize@1.8.1 - zip@0.6.6 -" -# additional crates used by test-crates/* test packages, -# `grep test-crates tests/run.rs` to see which are needed -CRATES_TEST=" - anstream@0.6.15 - anstyle-parse@0.2.5 - anstyle-query@1.1.1 - anstyle-wincon@3.0.4 - anstyle@1.0.8 - askama@0.12.1 - askama_derive@0.12.5 - askama_escape@0.10.3 - askama_parser@0.2.1 - autocfg@1.1.0 - basic-toml@0.1.9 - bincode@1.3.3 - bytes@1.6.0 - camino@1.1.7 - cargo_metadata@0.15.4 - cc@1.0.73 - cc@1.0.81 - cc@1.0.83 - clap@4.5.16 - clap_builder@4.5.15 - clap_derive@4.5.13 - clap_lex@0.7.2 - colorchoice@1.0.2 - getrandom@0.2.10 - indoc@2.0.4 - is_terminal_polyfill@1.70.1 - libc@0.2.134 - libc@0.2.147 - libc@0.2.149 - libc@0.2.155 - log@0.4.22 - memchr@2.7.4 - memoffset@0.9.0 - memoffset@0.9.1 - mime_guess@2.0.5 - once_cell@1.15.0 - once_cell@1.18.0 - portable-atomic@1.7.0 - proc-macro2@1.0.86 - pyo3-build-config@0.18.3 - pyo3-build-config@0.22.0 - pyo3-build-config@0.22.2 - pyo3-ffi@0.18.3 - pyo3-ffi@0.22.0 - pyo3-ffi@0.22.2 - pyo3-macros-backend@0.22.0 - pyo3-macros-backend@0.22.2 - pyo3-macros@0.22.0 - pyo3-macros@0.22.2 - pyo3@0.22.0 - pyo3@0.22.2 - python3-dll-a@0.2.6 - python3-dll-a@0.2.9 - serde@1.0.203 - serde@1.0.209 - serde_derive@1.0.203 - serde_derive@1.0.209 - serde_json@1.0.118 - serde_json@1.0.127 - siphasher@0.3.11 - syn@2.0.68 - syn@2.0.72 - target-lexicon@0.12.11 - target-lexicon@0.12.14 - thiserror-impl@1.0.63 - thiserror@1.0.63 - unicode-ident@1.0.5 - unicode-ident@1.0.11 - uniffi@0.28.0 - uniffi@0.28.1 - uniffi_bindgen@0.28.0 - uniffi_bindgen@0.28.1 - uniffi_build@0.28.0 - uniffi_build@0.28.1 - uniffi_checksum_derive@0.28.0 - uniffi_checksum_derive@0.28.1 - uniffi_core@0.28.0 - uniffi_core@0.28.1 - uniffi_macros@0.28.0 - uniffi_macros@0.28.1 - uniffi_meta@0.28.0 - uniffi_meta@0.28.1 - uniffi_testing@0.28.0 - uniffi_testing@0.28.1 - uniffi_udl@0.28.0 - uniffi_udl@0.28.1 - unindent@0.2.3 - version_check@0.9.5 - weedle2@5.0.0 - windows-targets@0.52.6 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_gnu@0.52.6 - windows_i686_msvc@0.52.6 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_gnu@0.52.6 - windows_x86_64_msvc@0.52.6 -" -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..13} ) -inherit cargo distutils-r1 flag-o-matic shell-completion toolchain-funcs - -DESCRIPTION="Build and publish crates with pyo3, rust-cpython and cffi bindings" -HOMEPAGE="https://www.maturin.rs/" -SRC_URI=" - https://github.com/PyO3/maturin/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz - ${CARGO_CRATE_URIS} - test? ( $(cargo_crate_uris ${CRATES_TEST}) ) -" - -# note: rustls+ring is unused, so openssl license can be skipped -LICENSE="|| ( Apache-2.0 MIT ) doc? ( CC-BY-4.0 OFL-1.1 )" -LICENSE+=" - 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 - Unicode-DFS-2016 -" # crates -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="doc +ssl test" -RESTRICT="!test? ( test )" - -RDEPEND="$(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10)" -DEPEND="ssl? ( dev-libs/openssl:= )" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/mdbook ) - test? ( - ${RDEPEND} - $(python_gen_cond_dep 'dev-python/cffi[${PYTHON_USEDEP}]' 'python*') - dev-python/boltons[${PYTHON_USEDEP}] - dev-python/virtualenv[${PYTHON_USEDEP}] - dev-vcs/git - elibc_musl? ( dev-util/patchelf ) - ) -" -RDEPEND+=" ${DEPEND}" - -QA_FLAGS_IGNORED="usr/bin/${PN}" - -src_prepare() { - distutils-r1_src_prepare - - # we build the Rust executable (just once) via cargo_src_compile - sed -i -e '/setuptools_rust/d' -e '/rust_extensions/d' setup.py || die - - if use test; then - # used to prevent use of network during tests, and silence pip - # if it finds unrelated issues with system packages (bug #913613) - cat > "${T}"/pip.conf <<-EOF || die - [global] - quiet = 2 - - [install] - no-index = yes - no-dependencies = yes - EOF - - # used by *git_sdist_generator tests - git init -q || die - git config --global user.email "larry@gentoo.org" || die - git config --global user.name "Larry the Cow" || die - git add . || die - git commit -qm init || die - fi -} - -src_configure() { - export OPENSSL_NO_VENDOR=1 - - # bug #938847 (TODO?: should probably be an eclass default for musl) - use elibc_musl && RUSTFLAGS+=" -C target-feature=-crt-static" - - # https://github.com/rust-lang/stacker/issues/79 - use s390 && ! is-flagq '-march=*' && - append-cflags $(test-flags-CC -march=z10) - - local myfeatures=( - # like release.yml + native-tls for better platform support than rustls - full - password-storage - $(usev ssl native-tls) - ) - - cargo_src_configure --no-default-features -} - -python_compile_all() { - cargo_src_compile - - use !doc || mdbook build -d html guide || die - - if ! tc-is-cross-compiler; then - local maturin=$(cargo_target_dir)/maturin - "${maturin}" completions bash > "${T}"/${PN} || die - "${maturin}" completions fish > "${T}"/${PN}.fish || die - "${maturin}" completions zsh > "${T}"/_${PN} || die - else - ewarn "shell completion files were skipped due to cross-compilation" - fi -} - -python_test() { - local -x MATURIN_TEST_PYTHON=${EPYTHON} - local -x PIP_CONFIG_FILE=${T}/pip.conf - local -x VIRTUALENV_SYSTEM_SITE_PACKAGES=1 - - # need this for (new) python versions not yet recognized by pyo3 - local -x PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 - - local skip=( - # picky cli output test that easily benignly fail (bug #937992) - --skip cli_tests - # avoid need for wasm over a single hello world test - --skip integration_wasm_hello_world - # fragile depending on rust version, also wants libpypy*-c.so for pypy - --skip pyo3_no_extension_module - # unimportant tests that use uv, and it does not seem to be able - # to find the system's dev-python/uv (not worth the trouble) - --skip develop_hello_world::case_2 - --skip develop_pyo3_ffi_pure::case_2 - # fails on sparc since rust-1.74 (bug #934573), skip for now given - # should not affect the pep517 backend which is all we need on sparc - $(usev sparc '--skip build_context::test::test_macosx_deployment_target') - ) - - cargo_src_test -- "${skip[@]}" -} - -python_install_all() { - cargo_src_install - - dodoc Changelog.md README.md - use doc && dodoc -r guide/html - - if ! tc-is-cross-compiler; then - dobashcomp "${T}"/${PN} - dofishcomp "${T}"/${PN}.fish - dozshcomp "${T}"/_${PN} - fi -} |