summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-02-24 03:39:03 -0500
committerIonen Wolkens <ionen@gentoo.org>2023-02-24 04:02:16 -0500
commit48c7c57d37c9ea32200abb0322585244d7b5749d (patch)
treeb4d2174d3594a93a9e38ce95164da876e278060f
parentsci-mathematics/libpoly: enable py3.11 (diff)
downloadgentoo-48c7c57d37c9ea32200abb0322585244d7b5749d.tar.gz
gentoo-48c7c57d37c9ea32200abb0322585244d7b5749d.tar.bz2
gentoo-48c7c57d37c9ea32200abb0322585244d7b5749d.zip
dev-util/maturin: add 0.14.14
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--dev-util/maturin/Manifest2
-rw-r--r--dev-util/maturin/maturin-0.14.14.ebuild501
2 files changed, 503 insertions, 0 deletions
diff --git a/dev-util/maturin/Manifest b/dev-util/maturin/Manifest
index 5d9557564bf8..443598f08ac1 100644
--- a/dev-util/maturin/Manifest
+++ b/dev-util/maturin/Manifest
@@ -168,6 +168,7 @@ DIST mailparse-0.13.8.crate 36008 BLAKE2B 8112658b4ceb5b3528375f4f8a178a26c18b54
DIST matchers-0.1.0.crate 6948 BLAKE2B ec3a5d01d2fedbb4dbf5bb185afbb9401410463a61f51674e0df6a571db352b2bbabfb99cdbdcfb4e511ae783165bf0258f5163f240a229b9087f9edbd0df41a SHA512 84214c1a84952d85631aa1ab5115df7cda223ac64e2acf055b6129ba1aa26ddc87615a8b51ca890ce3fee0419053fa7fe1599ae128f1d211b58c07b0c4af3b19
DIST maturin-0.14.12.gh.tar.gz 387648 BLAKE2B 12f4d6625b0e0633e14591c98aad994f33393e981f9f2fef9422c00cb86e5b8eed1c8c5fe56cafd67dc6f06afae34aecda47e19ca757d3bafe9076806cfee110 SHA512 ce6cb8513dbd2f25abb6639d9b8becb5617bc1d9a43248c8bd32a9792e2239c78bb665c90bd3bf885155469d84d812f83000221c7536f7ebd3ceeccc7fb2a117
DIST maturin-0.14.13.gh.tar.gz 391487 BLAKE2B 33fd35fd7ff0b90b451261b48133f2f78ef7edae4c633950850d918f577f204d32d6d8f7ba0bc1fc30ca42af3048dd0b8fd6e55139403f7e347619088b52b8aa SHA512 5debe5289b0efb4bad37b962558e467d3b88a9a70f9ac2b886b43e1fcec8ec521400e06231b767135533ee8892c9f3de7752299d4ef2b2b8ad1a89b75c97f803
+DIST maturin-0.14.14.gh.tar.gz 391895 BLAKE2B c03f6c7ee5deb492c78677545d28979e0694a2ea870362ceda9294d8ec80d658c018928c1a870b5f2887d4f68515b26793708fac1fbba244a6b59eb5ee02b80e SHA512 3fafc15732c32a49797c05166e3e2a1289b8b85200c13beb9dbafda9445bb1dea2f503f4f4cc6776d272652e64eb53997e9588ffcdfd9824adf7d751c6f604e2
DIST maturin-1.0.0_beta2.gh.tar.gz 397572 BLAKE2B 91662de95543036ca32877c4298d37fef1e7c94ed22a21d264ac10a20a6284068318b49af60fea5b7e0d13bcb2f464df1f6e40b2d6faa1747f2ec2d942b9d21f SHA512 81bd01a243714c83c2149b371c9b0d2824645af8f2dcb82e8d7d360c42eea3ddb98b608cfe9593df7bc44a4f1f8b0282efccd7da21c39608e9d1a1b8845057ca
DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa
DIST memoffset-0.6.5.crate 7686 BLAKE2B 9a797388702389076c426052c3d54dc62802d5db8bc5c9c83990429f2ffaec4fab4c7dd3f09cd0704d1ea555e87976563bb43408ba54b5e66ce7e406d4604009 SHA512 11bdd9185b99dfee8e659e051b09ee301c7142a372a8117864745a5085c015436d2efbb1478192886f09cbc562529e209d2e3325d94938a64bc75b1d91d2bf3f
@@ -179,6 +180,7 @@ DIST minijinja-0.30.2.crate 113523 BLAKE2B e3d413b97276b0856507cc15b5c72bf6ff00e
DIST minijinja-0.30.4.crate 114892 BLAKE2B b8d97c891818f4c28627a94167c125670e360b1236621a7f766b1ec3e3b3cb57501d6c074409103e5c090ee0c698e3ed48b7c4c53f0b20cb61512995d2091e57 SHA512 33e8c9a741318c36a1dfe1a4d0c6c80f4e05ad9ef4fb73dbaa8e800c3172854f8e33f658512a362f789b101bf5615dcc59a43ac7aa831db3b365e36921fd1939
DIST minimal-lexical-0.2.1.crate 94841 BLAKE2B e6b8919b80d938d0b98d60d4f5f29ce43d77ebfcf8b18bde08909141915c6ef4f0d07a543538d4f3ba8527a9f55926d4a8e83473248469d087e80b274d701d61 SHA512 385fab51884bdcc7b0f2728a219ab164d0dc8efe42160b918f2c09f79ecf853fb12bda006d11e649f097bae1499dcd41ddf2a8784ee7d178cf2c28059e46078c
DIST miniz_oxide-0.6.2.crate 54536 BLAKE2B 8127ebec5a2cee1c2101d9533da573e01ef1a0fcb169bb0fb1419973ddd2e6953d8dfe85f9509a5d1226643ad290f0ee1479fc68f1788ade7ddf9633d90bfe1e SHA512 250782e214572acdd11df87c2788cd5f78e8388d9b285d0a850918219678e262e8b9905cc88728f5b70d13920ef9d19c43d243dad8fbcc18f8c8462662ce1419
+DIST miniz_oxide-0.6.4.crate 55181 BLAKE2B 4f0229c6c676b8827f974585b639a9602cd93fd68cb9088a580af1259b5b30d7580bf5aa7ee4f24ee528a0c5fe814dec3dea29b762ff80de8405753992ed9acb SHA512 d25483822cc24eeec5399a883a7951f27ddb1bb8a76c6218d13f431d4eabcfdf06e4b73b0bed2039a19957f1b6c164552077ab5e17e18553dc2b68b20e1ddad0
DIST msi-0.5.0.crate 58953 BLAKE2B 642d76410455e08f3b9200bc572631d3e3180bb917f786e88756b7239f351f0650da92a6490aad244d5b278feeeb561aa28abc8fc7fac6bd65fa3b3c34479b3f SHA512 70c7829f9f92d9d8c38b92cb8d7ebf8fd12e21ede253b94258a57741f5c062aef866f3b99acede26c586b33e255f14a6d628e56494851849ec26c71891300514
DIST multipart-0.18.0.crate 62797 BLAKE2B 438abdd6041c3a52e836b7627bb0a490494b6a0c4ab47d27905480fcdde27e7c18497ef4cae550c14b8c4c34e661176ee640806cc427e3b2e570c38be31d868e SHA512 a34036e1c05c241f130ed30eb7a2d96c2590ea8c0cb7e6cf98c160ca0fc6e0f1227192b45d8166abd7221633c36c57718fdb0ccfa8ff4254d4eeb3abb5210704
DIST native-tls-0.2.11.crate 29008 BLAKE2B 594511c364e639e309f32f37ae20ecfc5ddeeb39c3f7180c5f3f2cf304d8c323b977af933ffe70cce696a5a63e17c5fa7ddb119d46fc3db819a28e31a388640b SHA512 7e77959932f2859757f1aeb37b78fdd459b7b6fd02424f4b7399525b94c21d1f499a718775503b8f3dfe3b4b740e1cfbee77052a2ebd0994468addb3fa665e6c
diff --git a/dev-util/maturin/maturin-0.14.14.ebuild b/dev-util/maturin/maturin-0.14.14.ebuild
new file mode 100644
index 000000000000..1b208da14678
--- /dev/null
+++ b/dev-util/maturin/maturin-0.14.14.ebuild
@@ -0,0 +1,501 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+ adler-1.0.2
+ aes-0.7.5
+ ahash-0.3.8
+ ahash-0.7.6
+ aho-corasick-0.7.20
+ anyhow-1.0.69
+ askama-0.11.1
+ askama_derive-0.11.2
+ askama_escape-0.10.3
+ askama_shared-0.12.2
+ async-io-1.12.0
+ async-lock-2.6.0
+ autocfg-1.1.0
+ base64-0.13.1
+ bincode-1.3.3
+ bitflags-1.3.2
+ block-buffer-0.10.3
+ block-buffer-0.9.0
+ block-modes-0.8.1
+ block-padding-0.2.1
+ bstr-1.2.0
+ bumpalo-3.12.0
+ byteorder-1.4.3
+ bytes-1.4.0
+ bytesize-1.1.0
+ bzip2-0.4.4
+ bzip2-sys-0.1.11+1.0.8
+ cab-0.4.1
+ camino-1.1.2
+ cargo-options-0.5.3
+ cargo-platform-0.1.2
+ cargo-xwin-0.13.3
+ cargo-zigbuild-0.14.3
+ cargo_metadata-0.15.2
+ cbindgen-0.24.3
+ cc-1.0.79
+ cfb-0.7.3
+ cfg-if-1.0.0
+ charset-0.1.3
+ chumsky-0.8.0
+ cipher-0.3.0
+ clap-4.0.32
+ clap_complete-4.0.7
+ clap_complete_command-0.4.0
+ clap_complete_fig-4.0.2
+ clap_derive-4.0.21
+ clap_lex-0.3.0
+ cli-table-0.4.7
+ concolor-0.0.11
+ concolor-query-0.1.0
+ concurrent-queue-2.1.0
+ configparser-3.0.2
+ console-0.15.5
+ const-random-0.1.15
+ const-random-macro-0.1.15
+ content_inspector-0.2.4
+ core-foundation-0.9.3
+ core-foundation-sys-0.8.3
+ cpufeatures-0.2.5
+ crc32fast-1.3.2
+ 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
+ crypto-mac-0.11.1
+ ctor-0.1.26
+ data-encoding-2.3.3
+ derivative-2.2.0
+ dialoguer-0.10.3
+ diff-0.1.13
+ digest-0.10.6
+ digest-0.9.0
+ dirs-4.0.0
+ dirs-sys-0.3.7
+ dunce-1.0.3
+ either-1.8.1
+ encode_unicode-0.3.6
+ encoding-0.2.33
+ encoding-index-japanese-1.20141219.5
+ encoding-index-korean-1.20141219.5
+ encoding-index-simpchinese-1.20141219.5
+ encoding-index-singlebyte-1.20141219.5
+ encoding-index-tradchinese-1.20141219.5
+ encoding_index_tests-0.1.4
+ encoding_rs-0.8.32
+ enumflags2-0.6.4
+ enumflags2_derive-0.6.4
+ errno-0.2.8
+ errno-dragonfly-0.1.2
+ event-listener-2.5.3
+ fastrand-1.8.0
+ fat-macho-0.4.6
+ filetime-0.2.19
+ flate2-1.0.25
+ fnv-1.0.7
+ foreign-types-0.3.2
+ foreign-types-shared-0.1.1
+ form_urlencoded-1.1.0
+ fs-err-2.9.0
+ futures-0.3.26
+ futures-channel-0.3.26
+ futures-core-0.3.26
+ futures-executor-0.3.26
+ futures-io-0.3.26
+ futures-lite-1.12.0
+ futures-macro-0.3.26
+ futures-sink-0.3.26
+ futures-task-0.3.26
+ futures-util-0.3.26
+ generic-array-0.14.6
+ getrandom-0.2.8
+ glob-0.3.1
+ globset-0.4.10
+ goblin-0.6.0
+ hashbrown-0.12.3
+ heck-0.4.1
+ hermit-abi-0.2.6
+ hkdf-0.11.0
+ hmac-0.11.0
+ humantime-2.1.0
+ humantime-serde-1.1.1
+ idna-0.3.0
+ ignore-0.4.18
+ indexmap-1.9.2
+ indicatif-0.17.3
+ indoc-2.0.0
+ instant-0.1.12
+ io-lifetimes-1.0.4
+ is-terminal-0.4.2
+ itertools-0.10.5
+ itoa-1.0.5
+ js-sys-0.3.61
+ keyring-1.2.1
+ lazy_static-1.4.0
+ lddtree-0.3.2
+ libc-0.2.139
+ linux-raw-sys-0.1.4
+ lock_api-0.4.9
+ log-0.4.17
+ lzxd-0.1.4
+ mailparse-0.13.8
+ matchers-0.1.0
+ memchr-2.5.0
+ memoffset-0.6.5
+ memoffset-0.7.1
+ mime-0.3.16
+ mime_guess-2.0.4
+ minijinja-0.30.2
+ minimal-lexical-0.2.1
+ miniz_oxide-0.6.4
+ msi-0.5.0
+ multipart-0.18.0
+ native-tls-0.2.11
+ nb-connect-1.2.0
+ nix-0.22.3
+ nom-7.1.3
+ nom8-0.2.0
+ normalize-line-endings-0.3.0
+ normpath-1.0.1
+ nu-ansi-term-0.46.0
+ num-0.4.0
+ num-bigint-0.4.3
+ num-complex-0.4.3
+ num-integer-0.1.45
+ num-iter-0.1.43
+ num-rational-0.4.1
+ num-traits-0.2.15
+ num_cpus-1.15.0
+ number_prefix-0.4.0
+ once_cell-1.17.0
+ opaque-debug-0.3.0
+ openssl-0.10.45
+ openssl-macros-0.1.0
+ openssl-probe-0.1.5
+ openssl-src-111.25.0+1.1.1t
+ openssl-sys-0.9.80
+ os_pipe-1.1.2
+ os_str_bytes-6.4.1
+ output_vt100-0.1.3
+ overload-0.1.1
+ parking-2.0.0
+ parking_lot-0.12.1
+ parking_lot_core-0.9.6
+ paste-1.0.11
+ path-slash-0.2.1
+ pep440-0.2.0
+ percent-encoding-2.2.0
+ pin-project-lite-0.2.9
+ pin-utils-0.1.0
+ pkg-config-0.3.26
+ plain-0.2.3
+ platform-info-1.0.2
+ polling-2.5.2
+ portable-atomic-0.3.19
+ ppv-lite86-0.2.17
+ pretty_assertions-1.3.0
+ proc-macro-crate-0.1.5
+ proc-macro-crate-1.2.1
+ proc-macro-error-1.0.4
+ proc-macro-error-attr-1.0.4
+ proc-macro-hack-0.5.20+deprecated
+ proc-macro2-1.0.51
+ pyproject-toml-0.3.1
+ python-pkginfo-0.5.5
+ quote-1.0.23
+ quoted_printable-0.4.7
+ 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
+ rfc2047-decoder-0.2.1
+ ring-0.16.20
+ rpassword-7.2.0
+ rtoolbox-0.0.1
+ rustc_version-0.4.0
+ rustix-0.36.7
+ rustls-0.20.8
+ rustversion-1.0.11
+ ryu-1.0.12
+ same-file-1.0.6
+ schannel-0.1.21
+ scoped-tls-1.0.1
+ scopeguard-1.1.0
+ scroll-0.11.0
+ scroll_derive-0.11.0
+ sct-0.7.0
+ secret-service-2.0.2
+ security-framework-2.8.2
+ security-framework-sys-2.8.0
+ semver-1.0.16
+ serde-1.0.152
+ serde_derive-1.0.152
+ serde_json-1.0.93
+ serde_repr-0.1.10
+ sha2-0.10.6
+ sha2-0.9.9
+ sharded-slab-0.1.4
+ shell-words-1.1.0
+ shlex-1.1.0
+ similar-2.2.1
+ siphasher-0.3.10
+ slab-0.4.7
+ smallvec-1.10.0
+ smawk-0.3.1
+ snapbox-0.4.4
+ snapbox-macros-0.3.1
+ socket2-0.4.7
+ socks-0.3.4
+ spin-0.5.2
+ static_assertions-1.1.0
+ strsim-0.10.0
+ subtle-2.4.1
+ syn-1.0.107
+ tar-0.4.38
+ target-lexicon-0.12.6
+ tempfile-3.3.0
+ termcolor-1.2.0
+ terminal_size-0.2.3
+ textwrap-0.16.0
+ thiserror-1.0.38
+ thiserror-impl-1.0.38
+ thread_local-1.1.4
+ time-0.3.17
+ time-core-0.1.0
+ time-macros-0.2.6
+ tiny-keccak-2.0.2
+ tinyvec-1.6.0
+ tinyvec_macros-0.1.0
+ toml-0.5.11
+ toml_datetime-0.5.0
+ toml_edit-0.17.1
+ tracing-0.1.37
+ tracing-attributes-0.1.23
+ tracing-core-0.1.30
+ tracing-log-0.1.3
+ tracing-serde-0.1.3
+ tracing-subscriber-0.3.16
+ trycmd-0.14.10
+ twox-hash-1.6.3
+ typenum-1.16.0
+ unicase-2.6.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
+ uniffi_bindgen-0.22.0
+ uniffi_checksum_derive-0.22.0
+ uniffi_meta-0.22.0
+ uniffi_testing-0.22.0
+ untrusted-0.7.1
+ ureq-2.6.2
+ url-2.3.1
+ uuid-1.3.0
+ valuable-0.1.0
+ vcpkg-0.2.15
+ version_check-0.9.4
+ versions-4.1.0
+ wait-timeout-0.2.0
+ waker-fn-1.1.0
+ walkdir-2.3.2
+ wasi-0.11.0+wasi-snapshot-preview1
+ wasm-bindgen-0.2.84
+ wasm-bindgen-backend-0.2.84
+ wasm-bindgen-macro-0.2.84
+ wasm-bindgen-macro-support-0.2.84
+ wasm-bindgen-shared-0.2.84
+ web-sys-0.3.61
+ webpki-0.22.0
+ webpki-roots-0.22.6
+ weedle2-4.0.0
+ wepoll-ffi-0.1.2
+ which-4.4.0
+ 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_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
+ xattr-0.2.3
+ xwin-0.2.10
+ yansi-0.5.1
+ zbus-1.9.3
+ zbus_macros-1.9.3
+ zip-0.6.4
+ zvariant-2.10.0
+ zvariant_derive-2.10.0"
+# additional crates used by test-crates/* test packages,
+# `grep test-crates tests/run.rs` to see which are needed
+CRATES_TEST="
+ anyhow-1.0.66
+ bytes-1.3.0
+ camino-1.1.1
+ cc-1.0.73
+ cc-1.0.74
+ glob-0.3.0
+ heck-0.4.0
+ indoc-1.0.7
+ itoa-1.0.4
+ libc-0.2.134
+ libc-0.2.137
+ memoffset-0.8.0
+ nom-7.1.1
+ once_cell-1.15.0
+ once_cell-1.16.0
+ parking_lot_core-0.9.3
+ parking_lot_core-0.9.4
+ paste-1.0.10
+ proc-macro2-1.0.46
+ proc-macro2-1.0.47
+ pyo3-0.18.1
+ pyo3-build-config-0.18.1
+ pyo3-ffi-0.18.1
+ pyo3-macros-0.18.1
+ pyo3-macros-backend-0.18.1
+ python3-dll-a-0.2.6
+ quote-1.0.21
+ ryu-1.0.11
+ semver-1.0.14
+ serde-1.0.151
+ serde_derive-1.0.151
+ serde_json-1.0.89
+ syn-1.0.102
+ syn-1.0.103
+ syn-1.0.105
+ target-lexicon-0.12.4
+ thiserror-1.0.37
+ thiserror-impl-1.0.37
+ toml-0.5.10
+ unicode-ident-1.0.5
+ uniffi-0.22.0
+ uniffi_build-0.22.0
+ uniffi_macros-0.22.0
+ unindent-0.1.10
+ windows-sys-0.36.1
+ windows_aarch64_gnullvm-0.42.0
+ windows_aarch64_msvc-0.36.1
+ windows_aarch64_msvc-0.42.0
+ windows_i686_gnu-0.36.1
+ windows_i686_gnu-0.42.0
+ windows_i686_msvc-0.36.1
+ windows_i686_msvc-0.42.0
+ windows_x86_64_gnu-0.36.1
+ windows_x86_64_gnu-0.42.0
+ windows_x86_64_gnullvm-0.42.0
+ windows_x86_64_msvc-0.36.1
+ windows_x86_64_msvc-0.42.0"
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{9..11} )
+inherit cargo distutils-r1 flag-o-matic
+
+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}) )"
+
+LICENSE="
+ 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD
+ CC0-1.0 ISC MIT MPL-2.0 SSLeay Unicode-DFS-2016 openssl
+ doc? ( CC-BY-4.0 OFL-1.1 )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/tomli[${PYTHON_USEDEP}]
+ ' 3.{9..10} pypy3)"
+BDEPEND="
+ dev-python/setuptools-rust[${PYTHON_USEDEP}]
+ 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}]
+ )"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # used to prevent use of network during tests
+ cat > "${T}"/pip.conf <<-EOF || die
+ [install]
+ no-index = yes
+ no-dependencies = yes
+ EOF
+
+ # TODO: package-agnostic way to handle IUSE=debug with setuptools-rust?
+ use !debug || sed -i "s/^cargo_args = \[/&'--profile','dev',/" setup.py || die
+
+ # setup.py handles most for non-tests, but ensure rustls is disabled except
+ # on arches where ring crate should work (keep in sync below, bug #859577)
+ if use !amd64 && use !x86 && use !arm64 && use !arm; then
+ sed -i '/^if platform.machine/s/^if/if True or/' setup.py || die
+ fi
+}
+
+src_configure() {
+ filter-lto # undefined references with ring crate
+
+ if use !amd64 && use !x86 && use !arm64 && use !arm; then
+ local myfeatures=( upload log )
+ cargo_src_configure --no-default-features
+ fi
+}
+
+python_compile_all() {
+ use !doc || mdbook build -d html guide || die
+}
+
+python_test() {
+ local -x MATURIN_TEST_PYTHON=${EPYTHON}
+ local -x PIP_CONFIG_FILE=${T}/pip.conf
+ local -x VIRTUALENV_SYSTEM_SITE_PACKAGES=1
+
+ local skip=(
+ --skip locked_doesnt_build_without_cargo_lock
+ # relies on 80-chars terminal output but ignores exported COLUMNS=80
+ --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
+ )
+
+ cargo_src_test -- "${skip[@]}"
+}
+
+python_install_all() {
+ dodoc Changelog.md README.md
+ use doc && dodoc -r guide/html
+}