diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2021-11-21 09:36:25 -0500 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-11-21 09:37:24 -0500 |
commit | 92d61af616f579c014a3eb7d9186ad3ec7636af8 (patch) | |
tree | 4b56aeb84103daf50e1ced85319287ac1baa1943 /dev-util | |
parent | sci-astronomy/stellarium: Stabilize 0.21.2 ppc, #825478 (diff) | |
download | gentoo-92d61af616f579c014a3eb7d9186ad3ec7636af8.tar.gz gentoo-92d61af616f579c014a3eb7d9186ad3ec7636af8.tar.bz2 gentoo-92d61af616f579c014a3eb7d9186ad3ec7636af8.zip |
dev-util/maturin: add 0.12.1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/maturin/Manifest | 2 | ||||
-rw-r--r-- | dev-util/maturin/maturin-0.12.1.ebuild | 316 |
2 files changed, 318 insertions, 0 deletions
diff --git a/dev-util/maturin/Manifest b/dev-util/maturin/Manifest index 7bc0146689d8..9413f6c67ee9 100644 --- a/dev-util/maturin/Manifest +++ b/dev-util/maturin/Manifest @@ -116,12 +116,14 @@ DIST keyring-0.10.4.crate 22959 BLAKE2B 7a7f5aa2775895f35d47297d65490a675559cef9 DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8 DIST libc-0.2.103.crate 540563 BLAKE2B cc99ae88783e6f3044ecec5154e0de81a7f792b89415cc2736eb4a436edd316277d690971c4aa0eff7935b5a355c8966805c4ee72c5fec8caecf65a29c13caf9 SHA512 79e1c99bfeb30283f85742cf17867000301bbe022c6b2ace415b4a767068dd64b09581bcc802d42150e45849f5adf8ee2720a0c695324d87d3d96a5c554a216d DIST libc-0.2.107.crate 554639 BLAKE2B 583cc24943707bbd53823f15fddfececd7acadb5a4d7dc5d0eb07d7b4d851b93500f1e4081b70c6ce3cc76700bdd6c4173ba710fdd52af7776ec7f31aefa3714 SHA512 df1586889c97d45c95f47495f8285c273c143f1861e632b326345ee66da63c227c064d9e12a6a1b48cfb866c70010a4ad407fed120a1a808da7a345777a8f909 +DIST libc-0.2.108.crate 559475 BLAKE2B eb8b0250136aa57e89d256d8401fb590d74a1447039324ab4572786185a2f4b7a955c356c8cab63b019619617313fafd5b7c44dd09cfa3cc92dbb9b7fb714580 SHA512 a29f0c5cc7e4b653c2bc33c92dc90b5d3a7132d4409d6b92b94fa9fe1391d8cf57a63d339ca0602f2efac28d3dc3beb854cf9a6d03bf027fef5e5276fc5b1487 DIST lock_api-0.4.5.crate 25199 BLAKE2B c91adefaa0dc3efa786957794b67cf219f5159909179282c13c7e3b68d73a0acebac29438cfcb39b75cbe87bc181e981ab4ff2776134621d8ea92e7a6aaf966a SHA512 d6cd948a4183a73e8b91b9167d551e72dd75820c76123fb0839f8389c7872d2c46dbcf5785d7600ecc4e27f3d214f476585b9c39e85f70500eb8d012e5ff9535 DIST log-0.4.14.crate 34582 BLAKE2B ddfba35947ae1f5905cd9ecb9eb862a78af6f00ee8b8fe6258b369b140928fe677a02b1b3ca5bdec36ff2b16abd85a9f49688fd5f3d1ba2b2905e7f96b8a84c1 SHA512 796100167663d85a7bc4244cd305e9b3f0a1b1520764b63464698eb136318d0928c40c16f5d19d9f602a5bf769851275bbd48d66b088b0c37be7a6fb62def7cc DIST mailparse-0.13.6.crate 34804 BLAKE2B d3e88b5ef7d97e06f0b75cf14f2134c5dbc9516a002c099210f2ad1912a9a5e86765fef5eb61131882a70eaef1ef44a57a0f10c3d88cfe8eedc4dfff2cb77881 SHA512 35abe8fdd944f931462b95b55081aae2b3c986bae342baaa0fb1bc179c1f31f68202648426c3dd8ce3c6839d733803dc09fa67684c165125c60c7fbf26cbded2 DIST matches-0.1.9.crate 2246 BLAKE2B de155202636c6a03ed68cdb21e8ef96e19b45be040a82943d2d7e5192c0ab5c253ab6d65f0b30b2689e21da79cba684af5be6e63c48266681aceba356f6eea41 SHA512 6a2809687d30ff04ea97bf9d1610d746e097699a4c3625ffd1b7b1e4a9673ece9d559058c9f760b99d6ab509024f7b338e7cfa6fe767499c983efa98bfb98305 DIST maturin-0.11.5.tar.gz 584266 BLAKE2B be92b8b3f94e7b5e5225a57118219cb854ea072a03b92b5811a135f54c634b89dd52c3c6bb50be539b7578e3748a34fdf4552bb46544500b061743c7dbd92ba0 SHA512 31c32849fe424393351c6f895eaf76852647fcd6b5bf77d1244147315c4e730762c03d49d898bc76805dcd0a6ed8004e8eaf26a2f78af2228f8cfd3cb2201c7b DIST maturin-0.12.0.tar.gz 248005 BLAKE2B 9dcb841e7455943a76de6a4fd769a0b4779730141383f83ccf51dd24172803ecb8122b7dde9477b85bbcfc9d6149a4391531fbd49aa6015eeee407f25cb526e6 SHA512 93255d425922b8c4fd7145391368d0aa8cdb1e88d5a148a65ee2d843dc38e327f776bb42d32e4163183274803ffd560710343afea0aa89bbab7e98a9aa28d6b5 +DIST maturin-0.12.1.tar.gz 250396 BLAKE2B 5a45d8e2900fa1bc3dda9dcb429a10231bed70aaf0f4e90ebb128d8b382d85dd4526d55597ef0b1fff3a650b9baa254e81fed0a99812f199fc80396500f99baa SHA512 5b437278d0b8606d2549adea9c92da9c99189d45ecfd2fbf3e5db73ca79112a674a32261c9558fefdaad8e7ab63d1a1ff1d6208515937505808e78aab43d546c DIST memchr-2.4.1.crate 64977 BLAKE2B 31479718c118093b684bed946eae0706d77d9d275bd49f5aeff4de490f479abd60c7dc462150eafffc6d6fc1da0853123b78be038826b775d2a41a4c39d93ab5 SHA512 d8912e3902a2126f86159bdc998532a2890b882cbb7d59b5a470fffcad4c32281e045f2fff48a235aa4189f1928866bf3d33b699d50866ad6b6c272bba7adb11 DIST mime-0.3.16.crate 15206 BLAKE2B 9a599ca82fd0dd6d3d2dea68a47b8441b1024d016ee1fb23cc6431b39ead20c9b3fe1ff3397af79c2c1b2cd277c440d4fff69f6b28c550ddbe15f680923c834b SHA512 cb1d691610cb82720e553247336fc5eab63407ad37febf2eb50aaa4e329cca70959ecd8bb8c7af5753acec2c8e86fc9a0f8ad9ad2de93fe9295ce84033d6054c DIST mime_guess-2.0.3.crate 27437 BLAKE2B 6f9176749241dc9b8c08eea3285ac1aeb40ab079f8184d93c436c00b205ab754d9c2b5c481774837bd1c4522b33338fb7ecabe88ee2da471478cdc1391d9281c SHA512 b08013ce235e66eaf49a88ab4c5cf4d1f1b95846c1bbdc1a73efea9052058860c7dbe2b028fe1b33c713621862fe9af2ed097558cbf5e08903ee406a44af162d diff --git a/dev-util/maturin/maturin-0.12.1.ebuild b/dev-util/maturin/maturin-0.12.1.ebuild new file mode 100644 index 000000000000..7773509a6045 --- /dev/null +++ b/dev-util/maturin/maturin-0.12.1.ebuild @@ -0,0 +1,316 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + addr2line-0.17.0 + adler-1.0.2 + aes-0.6.0 + aes-soft-0.6.4 + aesni-0.10.0 + aho-corasick-0.7.18 + ansi_term-0.11.0 + anyhow-1.0.47 + async-io-1.6.0 + atty-0.2.14 + autocfg-1.0.1 + backtrace-0.3.63 + base64-0.10.1 + base64-0.13.0 + bitflags-1.3.2 + block-buffer-0.9.0 + block-modes-0.7.0 + block-padding-0.2.1 + bumpalo-3.8.0 + byteorder-1.4.3 + bytes-1.1.0 + bytesize-1.1.0 + bzip2-0.4.3 + bzip2-sys-0.1.11+1.0.8 + cache-padded-1.1.1 + camino-1.0.5 + cargo-platform-0.1.2 + cargo_metadata-0.14.1 + cbindgen-0.20.0 + cc-1.0.72 + cfg-if-0.1.10 + cfg-if-1.0.0 + charset-0.1.2 + cipher-0.2.5 + clap-2.33.3 + concurrent-queue-1.2.2 + configparser-3.0.0 + core-foundation-0.9.2 + core-foundation-sys-0.8.3 + cpufeatures-0.2.1 + crc32fast-1.2.1 + crypto-mac-0.10.1 + derivative-2.2.0 + digest-0.9.0 + dirs-4.0.0 + dirs-sys-0.3.6 + encoding_rs-0.8.29 + enumflags2-0.6.4 + enumflags2_derive-0.6.4 + env_logger-0.7.1 + fastrand-1.5.0 + fat-macho-0.4.4 + filetime-0.2.15 + flate2-1.0.22 + fnv-1.0.7 + form_urlencoded-1.0.1 + fs-err-2.6.0 + futures-0.3.17 + futures-channel-0.3.17 + futures-core-0.3.17 + futures-executor-0.3.17 + futures-io-0.3.17 + futures-lite-1.12.0 + futures-macro-0.3.17 + futures-sink-0.3.17 + futures-task-0.3.17 + futures-util-0.3.17 + generic-array-0.14.4 + getrandom-0.2.3 + gimli-0.26.1 + glob-0.3.0 + goblin-0.4.3 + h2-0.3.7 + hashbrown-0.11.2 + heck-0.3.3 + hermit-abi-0.1.19 + hkdf-0.10.0 + hmac-0.10.1 + http-0.2.5 + http-body-0.4.4 + httparse-1.5.1 + httpdate-1.0.2 + human-panic-1.0.3 + humantime-1.3.0 + hyper-0.14.15 + hyper-rustls-0.22.1 + idna-0.2.3 + indexmap-1.7.0 + indoc-1.0.3 + instant-0.1.12 + ipnet-2.3.1 + itoa-0.4.8 + js-sys-0.3.55 + keyring-0.10.4 + lazy_static-1.4.0 + libc-0.2.108 + log-0.4.14 + mailparse-0.13.6 + matches-0.1.9 + memchr-2.4.1 + mime-0.3.16 + mime_guess-2.0.3 + miniz_oxide-0.4.4 + mio-0.7.14 + miow-0.3.7 + nb-connect-1.2.0 + nix-0.17.0 + ntapi-0.3.6 + num-0.3.1 + num-bigint-0.3.3 + num-complex-0.3.1 + num-integer-0.1.44 + num-iter-0.1.42 + num-rational-0.3.2 + num-traits-0.2.14 + num_cpus-1.13.0 + object-0.27.1 + once_cell-1.8.0 + opaque-debug-0.3.0 + os_type-2.3.0 + parking-2.0.0 + percent-encoding-2.1.0 + pin-project-lite-0.2.7 + pin-utils-0.1.0 + pkg-config-0.3.22 + plain-0.2.3 + platform-info-0.1.0 + polling-2.2.0 + ppv-lite86-0.2.15 + pretty_env_logger-0.4.0 + proc-macro-crate-0.1.5 + proc-macro-crate-1.1.0 + proc-macro-error-1.0.4 + proc-macro-error-attr-1.0.4 + proc-macro-hack-0.5.19 + proc-macro-nested-0.1.7 + proc-macro2-1.0.32 + pyproject-toml-0.3.1 + python-pkginfo-0.5.0 + quick-error-1.2.3 + quote-1.0.10 + quoted_printable-0.4.3 + rand-0.8.4 + rand_chacha-0.3.1 + rand_core-0.6.3 + rand_hc-0.3.1 + redox_syscall-0.2.10 + redox_users-0.4.0 + regex-1.5.4 + regex-syntax-0.6.25 + remove_dir_all-0.5.3 + reqwest-0.11.6 + rfc2047-decoder-0.1.2 + ring-0.16.20 + rpassword-5.0.1 + rustc-demangle-0.1.21 + rustls-0.19.1 + ryu-1.0.5 + same-file-1.0.6 + scoped-tls-1.0.0 + scroll-0.10.2 + scroll_derive-0.10.5 + sct-0.6.1 + secret-service-2.0.1 + security-framework-2.4.2 + security-framework-sys-2.4.2 + semver-1.0.4 + serde-1.0.130 + serde_derive-1.0.130 + serde_json-1.0.71 + serde_repr-0.1.7 + serde_urlencoded-0.7.0 + sha2-0.9.8 + shlex-1.1.0 + slab-0.4.5 + smawk-0.3.1 + socket2-0.4.2 + spin-0.5.2 + static_assertions-1.1.0 + strsim-0.8.0 + structopt-0.3.25 + structopt-derive-0.4.18 + subtle-2.4.1 + syn-1.0.81 + tar-0.4.37 + target-lexicon-0.12.2 + tempfile-3.2.0 + termcolor-1.1.2 + textwrap-0.11.0 + textwrap-0.14.2 + thiserror-1.0.30 + thiserror-impl-1.0.30 + time-0.1.43 + tinyvec-1.5.1 + tinyvec_macros-0.1.0 + tokio-1.14.0 + tokio-rustls-0.22.0 + tokio-util-0.6.9 + toml-0.5.8 + tower-service-0.3.1 + tracing-0.1.29 + tracing-core-0.1.21 + try-lock-0.2.3 + typenum-1.14.0 + unicase-2.6.0 + unicode-bidi-0.3.7 + unicode-linebreak-0.1.2 + unicode-normalization-0.1.19 + unicode-segmentation-1.8.0 + unicode-width-0.1.9 + unicode-xid-0.2.2 + unindent-0.1.7 + untrusted-0.7.1 + url-2.2.2 + uuid-0.8.2 + vec_map-0.8.2 + version_check-0.9.3 + void-1.0.2 + waker-fn-1.1.0 + walkdir-2.3.2 + want-0.3.0 + wasi-0.10.2+wasi-snapshot-preview1 + wasm-bindgen-0.2.78 + wasm-bindgen-backend-0.2.78 + wasm-bindgen-futures-0.4.28 + wasm-bindgen-macro-0.2.78 + wasm-bindgen-macro-support-0.2.78 + wasm-bindgen-shared-0.2.78 + web-sys-0.3.55 + webpki-0.21.4 + webpki-roots-0.21.1 + wepoll-ffi-0.1.2 + 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 + winreg-0.7.0 + xattr-0.2.2 + zbus-1.9.1 + zbus_macros-1.9.1 + zip-0.5.13 + zvariant-2.9.0 + zvariant_derive-2.9.0" +CRATES_TEST=" + indoc-0.3.6 + indoc-impl-0.3.6 + libc-0.2.107 + lock_api-0.4.5 + parking_lot-0.11.2 + parking_lot_core-0.8.5 + paste-0.1.18 + paste-impl-0.1.18 + pyo3-0.15.1 + pyo3-build-config-0.15.1 + pyo3-macros-0.15.1 + pyo3-macros-backend-0.15.1 + scopeguard-1.1.0 + smallvec-1.7.0" +PYTHON_COMPAT=( python3_{8..10} ) +inherit cargo flag-o-matic python-any-r1 + +DESCRIPTION="Build and publish crates with pyo3, rust-cpython and cffi bindings" +HOMEPAGE="https://github.com/pyo3/maturin" +SRC_URI=" + https://github.com/PyO3/maturin/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris) + test? ( $(cargo_crate_uris ${CRATES_TEST}) )" + +LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD ISC MIT MPL-2.0 openssl" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +PROPERTIES="test_network" +RESTRICT="test" # uses venv+pip + +BDEPEND=" + >=virtual/rust-1.56 + test? ( + $(python_gen_any_dep ' + dev-python/cffi[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ') + )" + +QA_FLAGS_IGNORED="usr/bin/maturin" + +python_check_deps() { + has_version -b "dev-python/cffi[${PYTHON_USEDEP}]" && + has_version -b "dev-python/virtualenv[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_configure() { + filter-flags '-flto*' # undefined references with ring crate + + cargo_src_configure +} + +src_test() { + cargo_src_test -- --skip locked_doesnt_build_without_cargo_lock +} + +src_install() { + cargo_src_install + + dodoc -r Changelog.md Readme.md guide/src/. +} |