diff options
author | orbea <orbea@riseup.net> | 2024-10-21 18:11:58 -0700 |
---|---|---|
committer | orbea <orbea@riseup.net> | 2024-10-21 18:14:18 -0700 |
commit | d92e25ddd7f506dcdb8b1268a1bbaa563a19fc85 (patch) | |
tree | 32870002b03a287a06025fb9788c71a90daffde6 | |
parent | dev-util/maturin: add 1.7.1, 1.7.4 (diff) | |
download | libressl-d92e25ddd7f506dcdb8b1268a1bbaa563a19fc85.tar.gz libressl-d92e25ddd7f506dcdb8b1268a1bbaa563a19fc85.tar.bz2 libressl-d92e25ddd7f506dcdb8b1268a1bbaa563a19fc85.zip |
dev-util/maturin: drop 1.7.0
Signed-off-by: orbea <orbea@riseup.net>
-rw-r--r-- | dev-util/maturin/Manifest | 4 | ||||
-rw-r--r-- | dev-util/maturin/maturin-1.7.0.ebuild | 530 |
2 files changed, 0 insertions, 534 deletions
diff --git a/dev-util/maturin/Manifest b/dev-util/maturin/Manifest index aae81c2..92b012d 100644 --- a/dev-util/maturin/Manifest +++ b/dev-util/maturin/Manifest @@ -80,7 +80,6 @@ DIST cargo-zigbuild-0.19.3.crate 41006 BLAKE2B 655e209d108efb665df0aaa45806e28d1 DIST cargo_metadata-0.15.4.crate 19993 BLAKE2B 33bb182a4fbf453be323cd657e0927d7ae8f4cada172c482d96ba959155aa0bd5fc392d4e0a6d4a869456be5de8756c92a4ee0642d60db992aca6d8adadb8f0a SHA512 dae54e7d21642a12fe967d832769f2310a18903a0a46694dd441974f037d8a53e148bae2668a177478b91629c5da736ce56aca3e140d442267ff0bc65bb984a0 DIST cargo_metadata-0.18.1.crate 24535 BLAKE2B 9d0018e28a3941e269dbd30291054a882a960905a43d4818c874250356a6c203bf08ed77a8041f08607390b2a382864701c519d71a0b88818ee59c6322c74e86 SHA512 43f87d2b84597ec9a27e9fccf06ec5f2630a0147a9c85779622c25493bd61268c266643f8206a17d76a16329af85f0cc563a9af7e17ca77024c0eaf788555f7d DIST cbindgen-0.26.0.crate 206157 BLAKE2B 4c435ccf9d5ab3cc036691cc51c55334e27a0348002b6303b11974c0aa4908b9f902577ca6e50bf241ca75816775e7bb33901f1f81e3d5293ddd2128b458204b SHA512 2de81f46c9c68c985241a349f13125876667d1460d3658ead8c4ee9788cd139c30dbc08bebddc172cf0bd4644f3f17c02cf66f2a3ef706c52366fdaf0f9d8059 -DIST cc-1.0.104.crate 79710 BLAKE2B 67248278ef46eada183d63377fc66ad83244c906b4a7d26a8363cc1e88dabb13e894ceaeb1c02f0444a0d7d2d2bc92075689b17de990348ec61e855ac473e97f SHA512 b8c9a3dcc685fd7c962f59ff96e1d60ee0bce290d9019d9d3035f49ac4d2806708a3266985e8d2e6fa8c9b36bcde8272b5ed7a6b258cbb8dc4cebeed69eb3b15 DIST cc-1.0.73.crate 57880 BLAKE2B be8d7a25a54afdd759844e76aec61526fc2bd5ca09480e6cdd3bdcf27e5f9d3a88dc16cbcbf54cd021470a7cc521e1ad468116c112bbd30752bac0d5486939ac SHA512 980f012b90c6410144f6de4995048337e09214f19603076db6d4edb88e9ef9ac9e8c6e25569f66c2be3a47e99298f5886dafc102e1a9122316179aa26bc1c985 DIST cc-1.0.81.crate 66857 BLAKE2B 1f20aa7fe1e41b7d043242ed2e6b840ef7e764fcd844d82441d20dede2bac7386c8089e7dffee5bc22a49bfab2cf9f2c82757bb5068fdfc82610eae7cb2b188e SHA512 00878fcc5e344571cd8756fcd7e0a8e11325cf504eed09ea2ac890368c4d69978fc0de9ef99757cbacdadbf50faadc486d20640b529ac9a4963b3afd71caca6a DIST cc-1.0.82.crate 67879 BLAKE2B 3b06cbe1516d4fe8291e1543b09d32d39a135c2352e545b64bc69fc82a40128a9b1291f20bd4cac6a3c37d9466093f8b63cae20663ad517bd7dbc380bfa87ee7 SHA512 27810ea12401635b0122e5b3a71367a52ca7040f196cb30f709e0b8ec0e717aeb8a89ef4e891b1c7c88f7cc8a1c35e55db132b728b0c499e0b683d5b803a671f @@ -260,7 +259,6 @@ DIST mailparse-0.14.1.crate 37264 BLAKE2B 322c5ffbb60be7a62f9169438d0678ffc37fc3 DIST mailparse-0.15.0.crate 37293 BLAKE2B 3ef9c0f3e65288066a1a792b3ad5bf4ca08126573fd15d9360b2d7748ba623ee0bf3eff1073b3244f1ca5007c2ea9c4e88310dc3809826ae940b13091df47134 SHA512 85899a2a65d195778615e3cebd2e5b6ad2ea3fd2b5a8929caab7fbd3e50306a5c99328deb7ffad9b3135f3fafca4c4e74f372e42a88d2785ade215334b92b416 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.0.gh.tar.gz 498922 BLAKE2B 9bfbdc145ffe973ddbbc8cb29ec4b04564cfdb3766ae1211355f3b13abcaee52dd1e8c19e2811fbc7d32e799d659fa8a1b08b509feae25423b0034de1a8b2834 SHA512 3121607866f6338fc13e5a17a1a0bf673e72704acc7f31f2015584af519e96158effecbf8651be614e1faa2c0dc4136966525ae9e4ce04aed9b838ff21abb978 DIST maturin-1.7.1.gh.tar.gz 505952 BLAKE2B 0b1294277e3e203a38d904782fb9e9fbc8336f50670abd1c68b8c8c2ff2a7dfdcd8fa6e98dfb4b43c625349d01f6b89826b8c9740e7660629671ad4c07ee0fd7 SHA512 7022cb87d5710807f1b8e4e858d19e2dc2e07b02d7f47e9bc6a322686dce90c7aeb8c2f5caf7b5da4ca61cadbede7daf84728ae9f341c38384231872c9be5cb2 DIST maturin-1.7.4.gh.tar.gz 511488 BLAKE2B 008b2d67d553479040fcd3062b93ca12dc6f2b98c3d6cb43cac7ff0d8e4772417b99fbf2a73ed96cfcc8a7372b37d845e8485ba0afc80342943a10d716492377 SHA512 72fb43a10d3cdf35eca224232c59723bff5b9230c7d40ff01537e1ba869254b4b6e9a0c52e8b7154f7b74f0f0b5bace4e7bb9ac5257c9fbc04750160791c35e3 DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa @@ -297,11 +295,9 @@ DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574 DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c DIST oneshot-uniffi-0.1.6.crate 31794 BLAKE2B d5cbb1ab31f541167692541d8f1f6c75243d5b39ff9c2357d25ca1da5d7eccc3fd2ff7ce4dbaf246e26c6741d2e78bba036388c7c1d63cf024d476737a9bd3ef SHA512 d87a9843546626ae3d0d06f347638b62b4dbd34ae3d1a9651353734d7dde120e474161f8e45bcbed2dc9c9e708cb38e9501d7e40ed62c39f48026009c20adfea DIST openssl-0.10.63.crate 270890 BLAKE2B 0571a214347f823c9079c1f6d204c62469235ced63cbfdb8494427aed8069f45bbb26b81d1edbddb3602c0bffd54d1ca96204aef8cb85aec041edf45d89889db SHA512 47baa5f2e34b622dff0cd475dbbf6772adf48abbcec5be1cbcafe2beb9060ae46a3d873896ee4b5d864da0b132f0efd956596c49f2afc650a44cff6af001aa56 -DIST openssl-0.10.64.crate 272306 BLAKE2B a8b618aa403cdb06a7f135cd966775f21c99739365c55aabde2680a6154d03c7d554bfae6c62a069841c70ed82ece6c3f0cd589da8c26022b7022c3c4d79a6d8 SHA512 a1fa9f71cfebbb37ed9d4a902360f2cc95a78f55b5da5d51eef69db38cef016fc03236485158d689ccf054e04937b8cddf88e3f0f31672997fb30c6cac73cbf6 DIST openssl-0.10.66.crate 273705 BLAKE2B 7892e96dac3b24ad5622833b4061bd82028210f9f26ec9772cebb65905ff6e45da8b21ad1aabfb87bb5610f534018da6bd20c10eaee8c189dd08a7ebfbf12b4b SHA512 2f4dd6e40dd8aff8c04563517fabeecd5ac0d986764649cc9af9bf4ce25757a67f75655eee207703b46fe57661a216ff00144358ffcbc70525447a063fa086c1 DIST openssl-macros-0.1.1.crate 5601 BLAKE2B 69dc1c1f3b7bc4f934cae0dce64c3efa501162e5279efd6af3b74f7a7716c04b6996b306b310f1c045cfa2eff2895314a47ecbb020a817e461c6d77d0bc11e92 SHA512 57e75c84f78fb83f884eeaedb0dd135ecb40192dad2facd908e6a575c9b65b38a2c93bca4630e09ea5a82c77d8bc8364cb2f5778cbfe9d8f484cafe3346b883c DIST openssl-probe-0.1.5.crate 7227 BLAKE2B d1fd6a9498b3ab7f25b228f19043067604bf20790530fd0ab6fe3d4d3bc27f13e6e94d1e7ef49314c3663477d8916b8790b90427f74976143b54b95350895165 SHA512 7e560314150709a34520472698060c4f29689d4e608dc4dde146140aa690350d3603279c693367deeb0f21ab34ef61956143a3447827a2b7a3d578b9ccd6552c -DIST openssl-sys-0.9.102.crate 68622 BLAKE2B 0d3d3c9ef8e2542c7f35db1d8feaf512cc7313481bfcc99354d601e8d6332adfc2e7ee8b35599a9241de35c163efd840186e904375bdc9c65ee743abbc154cba SHA512 7ecfaa0b49cea5c60f6f063fe5217252a65b27c5e6d1185e0aa1bb4b59c4cf9bf326840e8795a870a537c18ee5a987feedaaf2dd767cd6f1380f25468a1622bd DIST openssl-sys-0.9.103.crate 71552 BLAKE2B 4cc1ab93f5a444b4b985c84f6ae90f345da4639e4ff7c5502dc1ae59f842d46e3855057a7c05855f7cd739b5311f330dff361480ef2a0102fe46471506956148 SHA512 61b802f6baf918ec055be90ee47c69fe0184f6d9a1d29c748386192a11d4df115758961ec9b636126a6b42d7d8f7509248c59f7c035905558c4cc35b804a8eaf DIST openssl-sys-0.9.99.crate 68158 BLAKE2B 59995535bc24f0ca67ea204193aee4114f88538bbd74ade7c22bc2ea1b0d7e41a79118b6d22917bd1e305a43c16f8aea095c635d27a56fc0481a2baa3092dfa3 SHA512 b91197583135c22d34814e6382dc4ad4be9c3905c979addee8688dbc52ce627815e719b9d0b365195335d4d665eaa79a406f89e4c19cef73988938d51fe2f4ee DIST option-ext-0.2.0.crate 7345 BLAKE2B cbfc03e7c960fe3023512a4ad816d657b4f54f8ecbde9f9c4df4c5fee3b36b68ab463c67ad650778279e01c7ffaa63a0dacbd0c080c8c3d15b1611de0e71f92d SHA512 f8539f97b01af97e0b80fc96556002251befa60f8ddd19613311e62f9dc9834d71c22f5d8e7c53c4925046e38cdcf834c3c28042a4da862d6f6a21ddff8d8e56 diff --git a/dev-util/maturin/maturin-1.7.0.ebuild b/dev-util/maturin/maturin-1.7.0.ebuild deleted file mode 100644 index 45a316c..0000000 --- a/dev-util/maturin/maturin-1.7.0.ebuild +++ /dev/null @@ -1,530 +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 - arbitrary@1.3.2 - autocfg@1.3.0 - automod@1.0.14 - base64@0.13.1 - base64@0.21.7 - base64@0.22.1 - bitflags@1.3.2 - bitflags@2.5.0 - block-buffer@0.10.4 - bstr@1.9.1 - byteorder@1.5.0 - bytesize@1.3.0 - bytes@1.6.0 - bzip2-sys@0.1.11+1.0.8 - bzip2@0.4.4 - cab@0.5.0 - camino@1.1.7 - cargo-config2@0.1.26 - cargo-options@0.7.4 - cargo-platform@0.1.8 - cargo-xwin@0.16.5 - cargo-zigbuild@0.18.4 - cargo_metadata@0.18.1 - cbindgen@0.26.0 - cc@1.0.104 - cfb@0.9.0 - cfg-if@1.0.0 - charset@0.1.3 - chumsky@0.9.3 - clap@4.5.7 - clap_builder@4.5.7 - clap_complete@4.5.5 - clap_complete_command@0.5.1 - clap_complete_nushell@0.1.11 - 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 - 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 - derive_arbitrary@1.3.2 - dialoguer@0.11.0 - diff@0.1.13 - digest@0.10.7 - dirs-sys@0.4.1 - dirs@5.0.1 - displaydoc@0.2.4 - dissimilar@1.0.9 - dunce@1.0.4 - dyn-clone@1.0.17 - either@1.12.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.2.6 - 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.155 - 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 - num_enum@0.7.2 - num_enum_derive@0.7.2 - 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.102 - openssl@0.10.64 - 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.5.0 - pep508_rs@0.4.2 - 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.10.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 - 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.204 - serde_derive@1.0.204 - serde_derive_internals@0.29.1 - serde_json@1.0.120 - 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.66 - target-lexicon@0.12.14 - 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 - zip@1.1.4 -" -# additional crates used by test-crates/* test packages, -# `grep test-crates tests/run.rs` to see which are needed -CRATES_TEST=" - 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 - cargo_metadata@0.15.4 - cc@1.0.73 - cc@1.0.81 - cc@1.0.83 - getrandom@0.2.10 - indoc@2.0.4 - libc@0.2.134 - libc@0.2.147 - libc@0.2.149 - memchr@2.7.4 - memoffset@0.9.0 - once_cell@1.15.0 - once_cell@1.18.0 - proc-macro2@1.0.86 - pyo3-build-config@0.18.3 - pyo3-build-config@0.22.0 - pyo3-ffi@0.18.3 - pyo3-ffi@0.22.0 - pyo3-macros-backend@0.22.0 - pyo3-macros@0.22.0 - pyo3@0.22.0 - python3-dll-a@0.2.6 - python3-dll-a@0.2.9 - serde@1.0.203 - serde_derive@1.0.203 - serde_json@1.0.118 - siphasher@0.3.11 - syn@2.0.68 - target-lexicon@0.12.11 - unicode-ident@1.0.5 - unicode-ident@1.0.11 - uniffi@0.28.0 - uniffi_bindgen@0.28.0 - uniffi_build@0.28.0 - uniffi_checksum_derive@0.28.0 - uniffi_core@0.28.0 - uniffi_macros@0.28.0 - uniffi_meta@0.28.0 - uniffi_testing@0.28.0 - uniffi_udl@0.28.0 - unindent@0.2.3 - weedle2@5.0.0 -" -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: 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 ~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 - ) -" -RDEPEND+=" ${DEPEND}" - -QA_FLAGS_IGNORED="usr/bin/${PN}" - -src_prepare() { - pushd "${ECARGO_HOME}"/gentoo/openssl-sys-0.9.102 > /dev/null || die - eapply "${FILESDIR}/${PN}-1.7.0-libressl-openssl-sys.patch" - popd > /dev/null || die - - 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 - - # 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 COLUMNS=100 # match clap_builder crate default - 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=( - # 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 -} |