From 2e36bcecf24a3f583ae8f27b71ba13b3cfd39778 Mon Sep 17 00:00:00 2001 From: V3n3RiX <venerix@koprulu.sector> Date: Tue, 31 Dec 2024 06:31:03 +0000 Subject: gentoo auto-resync : 31:12:2024 - 06:31:02 --- dev-util/Manifest.gz | Bin 65310 -> 65479 bytes dev-util/bear/Manifest | 2 +- dev-util/bear/bear-3.1.5.ebuild | 2 +- dev-util/heaptrack/Manifest | 2 +- dev-util/heaptrack/heaptrack-9999.ebuild | 26 +- dev-util/kafkactl/Manifest | 4 + dev-util/kafkactl/kafkactl-5.4.0.ebuild | 27 ++ dev-util/kafkactl/metadata.xml | 11 + dev-util/maturin/Manifest | 4 +- dev-util/maturin/maturin-1.8.0.ebuild | 629 ------------------------------- dev-util/maturin/maturin-1.8.1.ebuild | 629 +++++++++++++++++++++++++++++++ dev-util/seer/Manifest | 2 +- dev-util/seer/seer-2.4.ebuild | 2 +- 13 files changed, 691 insertions(+), 649 deletions(-) create mode 100644 dev-util/kafkactl/Manifest create mode 100644 dev-util/kafkactl/kafkactl-5.4.0.ebuild create mode 100644 dev-util/kafkactl/metadata.xml delete mode 100644 dev-util/maturin/maturin-1.8.0.ebuild create mode 100644 dev-util/maturin/maturin-1.8.1.ebuild (limited to 'dev-util') diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz index 3fdc0fe740bb..5a1de53835e0 100644 Binary files a/dev-util/Manifest.gz and b/dev-util/Manifest.gz differ diff --git a/dev-util/bear/Manifest b/dev-util/bear/Manifest index 787968135317..bd5fac22c7be 100644 --- a/dev-util/bear/Manifest +++ b/dev-util/bear/Manifest @@ -3,5 +3,5 @@ AUX bear-3.1.4-tests.patch 2199 BLAKE2B 2f2c97705aec1d55e6166cb13858d3e6eda3cc44 DIST bear-3.1.4.tar.gz 127672 BLAKE2B 18deb1172fcd8afdf4721a04b5d72b182190afd92d645841023033d187c812a0a30805af2bfb67b794ab8a8f0ca42965bebab6d035e95e2a25c5fccfe48a1afd SHA512 c63da7586d25a64dd8b3ff82f37505b36071dd064deb973c012840bc52ff6aec861fca21422b86b11629e86dc43d156b233d21b01e689369f0726799083afa98 DIST bear-3.1.5.tar.gz 152228 BLAKE2B 64d03d1ca5b1473e4d0b2106969285a2391471a0027cf387c72fe70769293fa361196cb1d37ebb528d27b5741b792472fad09688761ab7f73dc0ea7db96d8be1 SHA512 acf233f7bb8215694734b6c947c965323c0a5ea0c2a6bbb210a37e38fdf545326ca8de3a7b31ce81469756afd1c02233775ddc5936fd04132f216def6e3ce1de EBUILD bear-3.1.4-r2.ebuild 2800 BLAKE2B 0d5bac64e24cc287152991e75ba6a2149e8f3423b62612ca4b9a369106e872e90f2bf3805a26137140138c823169f7a4c139bea230053b1011f0efa95426ec4e SHA512 430c9554ec3d1d099de47eb01f2838a0cff807b797b9fd9b846b52b644cd19a3a1c4d708aff0e05adcc4aefb27d784c679d476e0b9437f56ec992853b8e4e9ab -EBUILD bear-3.1.5.ebuild 2724 BLAKE2B f214d7b91b6e92c9586acfb15eeb4a7025343b1bd533c486c40a723a37a98bbc1c198e2de9d05145f327aac3e1b877d4ee6fa119b24176128881652df584ae49 SHA512 91421997afc187deedb3ce27469fd7ecac5b399734f1d7c405f9e355ed9282e51cad6e86ac12acc462a71a4519d226cacc273b87a3c92eb0cd5d362b6ddcbd8c +EBUILD bear-3.1.5.ebuild 2722 BLAKE2B c62d0ff310125554119ff9f44d04f7c944a40294e4de5c0c877cb6769da78b1a608b512076024b20befdb71b0572af60a2f2d570e0c8584ac67797a5739c0240 SHA512 fdf1d2b3f7ffa1aebbf9ea9b3249b7edd399cb91231b26c7ad9543e703e4132765f99c7a7bca7fd13a0a8e698c345c55f5de5e7b4659f6c79d12b85a68f9013d MISC metadata.xml 1067 BLAKE2B 180de420c2173d245fa29b092d80e2c94ae2df8ba5c1c9d3fa2d706c75fbbc489d08b61505bf612fe247b7a9384b220682549f47db77b8bc3e7b170be9663380 SHA512 df9e220346c2098767bafc1e212a94fedae90892de64d8f04c599f3caf124d3ab539a9d9f757b5ba5ed4ff895fa39b954409d551514c9ee6fe44296c2317a021 diff --git a/dev-util/bear/bear-3.1.5.ebuild b/dev-util/bear/bear-3.1.5.ebuild index b3a0ae0c42c0..ed91401baefe 100644 --- a/dev-util/bear/bear-3.1.5.ebuild +++ b/dev-util/bear/bear-3.1.5.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}/${P^}" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86" IUSE="cuda test" RESTRICT="!test? ( test )" diff --git a/dev-util/heaptrack/Manifest b/dev-util/heaptrack/Manifest index d8f73891efcf..7285d7fe540e 100644 --- a/dev-util/heaptrack/Manifest +++ b/dev-util/heaptrack/Manifest @@ -1,5 +1,5 @@ AUX heaptrack-1.5.0-c99.patch 3041 BLAKE2B 9ac6cdc3796d85e477761fff5d4de2d657a5ad93ff36869141053de6b6e0c6e6dc270de385d6d2a071413e2a2ab65c1bc12c978b18e0b8d8b42209e46692df7f SHA512 b9d08c60527d3ebe456b8f6b2e3b7e21b6f5c2b57f38d639c402080f10e4754e1fb448c9e2528fedad950d767308d907ade2eaf2663cff4398f7fc1fc68591bf DIST heaptrack-1.5.0.tar.xz 5447668 BLAKE2B f4a69311267daf9439e264bf8bb9802db41abb3fa766e5dfc8fcfe39c58feab2d0fe32710c6b5a2d63715e8b013e4a81e2984de425be871e253b1b2567a1dca2 SHA512 b52cc63a29d67dade85f40a7f9abb43e104762b9c853385f501d37fcbcef90fdcdfc93e2900c71b5a47c773bf98fe75f66f8b6a9e31a12610b6deec20d9736aa EBUILD heaptrack-1.5.0.ebuild 1598 BLAKE2B aa8e07cd2fd60769c60ae0350b57ee1030df05daa0a26a91295bd5970da8651237e1b326575d247f09e91749fc968c1d7ace8508851efc9e2605e84f39077663 SHA512 35d87621c74c39145a7260e1003ff12d135cff373cbb30046227ff9f1f97e59d79c1f7f6384315d8fa45fcb933147cabb6c0639ae6f8b4c531953ef8809533c6 -EBUILD heaptrack-9999.ebuild 1488 BLAKE2B 9c1727ebd1ccfc3aa9cc5b22f6ab05e0bb794d9460752df5d98f2a30fea3991ced50a6adf2498bb0ef05af9c15c04fb5dbb1df734d3086c572e0df4dbde86538 SHA512 92fa4380d79078ea5822e6640992512905704fd44ab8d0af1508bf8e4ab31d33e4d663a63afe94d052cd0cf3738a1a7ac9df4d025735b3a4464c81494181f45f +EBUILD heaptrack-9999.ebuild 1515 BLAKE2B 025a06461e46f99f680a310dacd5933c8511c0d52ea90524f5dc0594ce357658671690e38d2644a8c20950a7edb50441346694ee323c097500a8fc26e404d0ba SHA512 a8450ce3e05cb3c3fa16764468c16a5d25032c8f5131f63242d418d76fe00ae767399bd73455f8dbc21880ad9fcbb31300a0d4411518c2c55daa8265fd6449f3 MISC metadata.xml 395 BLAKE2B bfbf8422aff66acc6dc7097c261cfc2d967b62bf7a88516e9c433b5702fe4dcbc81928986abd87eab7cc8ce3201f728bd5482eddc6635cef0c83456c52a8137e SHA512 3713423aa87a37024dbd9b0582a8fc43b8b731b0ecb8013534562151ea982e156361f7a95d1efc3e1ec31b6ee1fd659686d6214fbc64e07c09c3ed76fa7f19ab diff --git a/dev-util/heaptrack/heaptrack-9999.ebuild b/dev-util/heaptrack/heaptrack-9999.ebuild index 78ccbe37b70d..e4c530eac199 100644 --- a/dev-util/heaptrack/heaptrack-9999.ebuild +++ b/dev-util/heaptrack/heaptrack-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,23 +16,22 @@ IUSE="+gui test zstd" RESTRICT="!test? ( test )" +# TODO: unbundle robin-map DEPEND=" dev-libs/boost:=[zstd?,zlib] sys-libs/libunwind:= sys-libs/zlib gui? ( - dev-libs/kdiagram:5 - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - kde-frameworks/kconfig:5 - kde-frameworks/kconfigwidgets:5 - kde-frameworks/kcoreaddons:5 - kde-frameworks/ki18n:5 - kde-frameworks/kio:5 - kde-frameworks/kitemmodels:5 - kde-frameworks/kwidgetsaddons:5 - kde-frameworks/threadweaver:5 + dev-libs/kdiagram:6 + dev-qt/qtbase:6[gui,widgets] + kde-frameworks/kconfig:6 + kde-frameworks/kconfigwidgets:6 + kde-frameworks/kcoreaddons:6 + kde-frameworks/ki18n:6 + kde-frameworks/kio:6 + kde-frameworks/kitemmodels:6 + kde-frameworks/kwidgetsaddons:6 + kde-frameworks/threadweaver:6 ) zstd? ( app-arch/zstd:= ) " @@ -53,6 +52,7 @@ src_prepare() { src_configure() { local mycmakeargs=( + -DHEAPTRACK_USE_QT6=ON -DHEAPTRACK_BUILD_GUI=$(usex gui) -DBUILD_TESTING=$(usex test) $(cmake_use_find_package zstd ZSTD) diff --git a/dev-util/kafkactl/Manifest b/dev-util/kafkactl/Manifest new file mode 100644 index 000000000000..25b5fcc339c9 --- /dev/null +++ b/dev-util/kafkactl/Manifest @@ -0,0 +1,4 @@ +DIST kafkactl-5.4.0-vendor.tar.xz 2645464 BLAKE2B 6da25f50feff135c1c364d44fb9467f506aebfbb2b92325bfc604b47bda616b6b1337916d27ca5610f0a90e5a0795bcaa82312e75e78548c84609d849bd2cc62 SHA512 37ed3058bdc91e71701443b79889a59a580f1a5e2c897a40549a0efb7ae0f212271f7f0147705460c3b859a4f1eb93683a5a3dc3bc9bdb6dd64fbcefe6f3e063 +DIST kafkactl-5.4.0.tar.gz 129136 BLAKE2B c0d31087cdba16569b80a105b4dacfdf8623e13e48329deb6ef3ccb43841f9c2d8871d04bd0f0f49c4dbf3b35b0a1e006a6facf67b63ccfb6ae3055b13db8d26 SHA512 d7dd628fafb665a86f9a86599244338ce625673a9f1cc53d4bac49e6e833c5f04de139ffb3856ff40fc87b62b0a64680a29756ae0a38f28d3a47bfa6e5a4a819 +EBUILD kafkactl-5.4.0.ebuild 595 BLAKE2B 40d148f66f81a21fcfb9ab2c26c9b7a61c7772a121506a58f5992d1eb611308b384d42822492eb2ecf2e6cf4707f74edbfdea0a4e197bdf9fb4fc51d17136c54 SHA512 911fa96742137a7b50a883fffbd316a0d0cdc3a4f4db6461edbd98a2e6094949a5429725121d61f0f1f0a92c6233d1b0b2d3fc71958c35197648083b3f1b2216 +MISC metadata.xml 335 BLAKE2B 0251c767bc8e4d1f0605727ea0e58f092144458ea012ba76baa73fd39ddbcd3d6f6d11fff26e7c56cb64123e6c4bf935531b5d83d06a29640afb6260da86d3dd SHA512 6d67c7e30c5a56c30030e94dc289243d8fb66f043459d9778dc3d232b57bab95bb88086a50963c02f23171bff65029d39389ad47f1551943e362797da0c9733e diff --git a/dev-util/kafkactl/kafkactl-5.4.0.ebuild b/dev-util/kafkactl/kafkactl-5.4.0.ebuild new file mode 100644 index 000000000000..5ab8b772f763 --- /dev/null +++ b/dev-util/kafkactl/kafkactl-5.4.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="CLI for interacting with Kafka" +HOMEPAGE="https://github.com/deviceinsight/kafkactl" + +SRC_URI="https://github.com/deviceinsight/kafkactl/archive/v${PV}.tar.gz -> ${P}.tar.gz + http://dev.gentoo.org/~patrick/${P}-vendor.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +src_compile() { + ego build + + touch empty.yaml + ./kafkactl docs --single-page --config-file=empty.yaml +} + +src_install() { + dobin kafkactl + dodoc README.adoc kafkactl_docs.md +} diff --git a/dev-util/kafkactl/metadata.xml b/dev-util/kafkactl/metadata.xml new file mode 100644 index 000000000000..ceecf11eb7bf --- /dev/null +++ b/dev-util/kafkactl/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> + <upstream> + <remote-id type="github">deviceinsight/kafkactl</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-util/maturin/Manifest b/dev-util/maturin/Manifest index 12f117e874bf..a972e6ff0764 100644 --- a/dev-util/maturin/Manifest +++ b/dev-util/maturin/Manifest @@ -206,7 +206,7 @@ DIST mailparse-0.15.0.crate 37293 BLAKE2B 3ef9c0f3e65288066a1a792b3ad5bf4ca08126 DIST matchers-0.1.0.crate 6948 BLAKE2B ec3a5d01d2fedbb4dbf5bb185afbb9401410463a61f51674e0df6a571db352b2bbabfb99cdbdcfb4e511ae783165bf0258f5163f240a229b9087f9edbd0df41a SHA512 84214c1a84952d85631aa1ab5115df7cda223ac64e2acf055b6129ba1aa26ddc87615a8b51ca890ce3fee0419053fa7fe1599ae128f1d211b58c07b0c4af3b19 DIST maturin-1.7.4.gh.tar.gz 511488 BLAKE2B 008b2d67d553479040fcd3062b93ca12dc6f2b98c3d6cb43cac7ff0d8e4772417b99fbf2a73ed96cfcc8a7372b37d845e8485ba0afc80342943a10d716492377 SHA512 72fb43a10d3cdf35eca224232c59723bff5b9230c7d40ff01537e1ba869254b4b6e9a0c52e8b7154f7b74f0f0b5bace4e7bb9ac5257c9fbc04750160791c35e3 DIST maturin-1.7.8.gh.tar.gz 526856 BLAKE2B 0fcd40dbf20cd961aa97e936b58ea79aceddfe6175ba4c1d1b413c224c889f393719dffe583859c35894173801cbd5303093802c5a4986038eb00a1f4ff3f3d4 SHA512 11dd229bc0a240fe915ae4aa69d5dd10032ea41782cb2bf76e77e58a8d474543b133a78d6b24a0383ef281f83122f34e1e0c332227720643b63226c18e318445 -DIST maturin-1.8.0.gh.tar.gz 541509 BLAKE2B 2dd6adfc33c2a0f4b4ad1dd06844a56e88886e871b9715ae0bb6cc593632ce036fd3f8accf3a1abb5abdc37fd88583b34a6504ed031c18b698021179f42a95bd SHA512 35756bb850204d4d2451d6a88e56d9519a359b00c3984c43bdde5013e2c4bd2598ed8fea234ecd99e84f4f5dcaf042d6783f11541403e6c41de15cd30930e3ab +DIST maturin-1.8.1.gh.tar.gz 542041 BLAKE2B 0ded1146c03d1139cc826bff520dbed4f27f4c0d2fa58a1336b075d222bb73881ec455d9b8480206c9f25756d6680a3918db4b4043fb6a63a023d94d23c5ea48 SHA512 2f07ced149fd59035c3acddbc4449cdfa59f8680d1784a68fbb71414a8a6309d3e138b10a7aeb3ca1f35f52ffe04c0e557e4636c84b7d8c60cd012798e3ec041 DIST memchr-2.7.2.crate 96220 BLAKE2B 2399064b6db21838d4aa0b25ed0bf04940ee3820741658cc6bf62e5ade08f41320df743ff13f99b2781da7b844e18deb1cfe25fe570f0e93f98ff03ca5d442e3 SHA512 cadcb4239c7f3aaab042592c5186770a225621e32f8583052fd3dbebb4a6d9b99be28f589b39b5ca36cb2d56fb3709e7d4ba91838ebb882e28e51280c02bbc40 DIST memchr-2.7.4.crate 96670 BLAKE2B da38114beca670467c3e1fbf4e415af6f22d52e3223715d52e181babb89b872b46511563985bcc16d7ff4e82f812c6e83ad904b0fe2501b14445119dfa8240e6 SHA512 8d0e8b9c30208897d4b1b920f1bdcccd0c2b75d92a06abe4a1b2407938768abb6487d63de56c6a80419798fe69517210643dfaf11f5f5540185f0eccf220adb2 DIST memoffset-0.9.0.crate 9033 BLAKE2B 19090c1af8b8cf54a2cf7593748aff4d3dc685ec7080aa476139c1721ef71555495e1bc513b1efaddc7e7702f83e0e1c2a8f71ff40009d266539484c9297e0ed SHA512 2f04f9b6fed31e94388c18162ad275897a835df7b9ac827f4df0f4b0ecf71064ef247f7ad11dbc27d7a6d448984a0f29d1c000e3c8d5fa6e121fa9571770ec55 @@ -528,5 +528,5 @@ DIST zip-2.1.6.crate 107876 BLAKE2B 2e1f3f5dd3ec3911361e0b32227a0622fc40e12a84d1 DIST zopfli-0.8.1.crate 50972 BLAKE2B 27cde48858dc65ec8082d4e0d81e2758f92d3dcc7a1c1f08aa6448e99f2995a865ac3259353b26e787f108c2f88ce3c7610413ea9d3daae6f864900d74565de6 SHA512 799e25c0cc9f0bf2119a7c03225b11ed94e7c3ac83f872a27da8ae15c90206245121c38f5e2b78fece131f5bb428f01fabbfd1b1e18ea456957940042d38f38d EBUILD maturin-1.7.4-r1.ebuild 12458 BLAKE2B 594759cd0026cc4e25b491729ef4b2b043f9ed8427bcee3ac308026319bac3537311a22168920d484a4b76314b94b61f14589c42dea0b9f86ca936efb90156c0 SHA512 32a83cde5975e60e1b873e73358936252e4f6b878553a2ececad5bb594ff49ceafb65f186f133238b78bf2fb812dfef11810550214275593a7f9c432c9e6090b EBUILD maturin-1.7.8.ebuild 12849 BLAKE2B 4f0427f2bf635264bb4bb682ba12d6d4e0e36ef0760dc210c88506d7ffb423ef9609fd2c5940479859300fcadc6bf616a7514f10aabad637544fbe536bc2412d SHA512 7bdeac94d354f1ba390eec81137f04f816e683a16b17ad22a8b2d14d20f9aef5949fc6da458c07baf93220600cc0b6328cbaa91e1f8e8213b53356e1f5ab0a07 -EBUILD maturin-1.8.0.ebuild 13496 BLAKE2B e563fbe942e9f1ae98c02875ede53517a04f8f86a6a75b80d6204f35677d6bda13fe263e8c7478cb0758dd664285843bc672d4ff529d21cf71454467e0baf81c SHA512 871242e4f376f9617fc729cfd2446e52379ff1d4a9f4a7b69b8b002924acbb5721e8b4ac2b5962eabacfa5ca7d617dbf926e72076c82c59dbc42603d18b8317e +EBUILD maturin-1.8.1.ebuild 13496 BLAKE2B e563fbe942e9f1ae98c02875ede53517a04f8f86a6a75b80d6204f35677d6bda13fe263e8c7478cb0758dd664285843bc672d4ff529d21cf71454467e0baf81c SHA512 871242e4f376f9617fc729cfd2446e52379ff1d4a9f4a7b69b8b002924acbb5721e8b4ac2b5962eabacfa5ca7d617dbf926e72076c82c59dbc42603d18b8317e MISC metadata.xml 431 BLAKE2B 15731479f56d8b819c60e8e5541d3c4720462c5a90b199b803097b208432b18cc0143f8cbee471ce81ffeb8b54846fdb61fad083e7507f4f6c3630ac628546ed SHA512 7431db948fd5ab520fb6cae76c7e7dbb2c7aef907d7cde21189d1bb17c686cca7f69a0b84470b1c5d90f672e80d30fbb56f37beec1da04ebfdf025015c099ae7 diff --git a/dev-util/maturin/maturin-1.8.0.ebuild b/dev-util/maturin/maturin-1.8.0.ebuild deleted file mode 100644 index f475fea8bb01..000000000000 --- a/dev-util/maturin/maturin-1.8.0.ebuild +++ /dev/null @@ -1,629 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - adler2@2.0.0 - 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.89 - arbitrary@1.4.1 - 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 - bumpalo@3.16.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.6.0 - camino@1.1.9 - cargo-config2@0.1.30 - cargo-options@0.7.4 - cargo-platform@0.1.8 - cargo-xwin@0.18.3 - cargo-zigbuild@0.19.7 - cargo_metadata@0.19.0 - cbindgen@0.27.0 - cc@1.1.21 - cfb@0.10.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 - derive_arbitrary@1.4.1 - dialoguer@0.11.0 - diff@0.1.13 - digest@0.10.7 - dirs-sys@0.4.1 - dirs@5.0.1 - displaydoc@0.2.5 - 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.9 - filetime@0.2.23 - flate2@1.0.33 - fnv@1.0.7 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - form_urlencoded@1.2.1 - fs4@0.12.0 - fs-err@3.0.0 - futures-channel@0.3.31 - futures-core@0.3.31 - futures-executor@0.3.30 - futures-io@0.3.31 - futures-macro@0.3.31 - futures-sink@0.3.31 - futures-task@0.3.31 - futures-timer@3.0.3 - futures-util@0.3.31 - futures@0.3.30 - generic-array@0.14.7 - getrandom@0.2.15 - globset@0.4.15 - glob@0.3.1 - goblin@0.9.2 - 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 - icu_collections@1.5.0 - icu_locid@1.5.0 - icu_locid_transform@1.5.0 - icu_locid_transform_data@1.5.0 - icu_normalizer@1.5.0 - icu_normalizer_data@1.5.0 - icu_properties@1.5.1 - icu_properties_data@1.5.0 - icu_provider@1.5.0 - icu_provider_macros@1.5.0 - idna@1.0.3 - idna_adapter@1.2.0 - ignore@0.4.23 - indexmap@2.5.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.7 - libc@0.2.158 - libmimalloc-sys@0.1.38 - libredox@0.1.3 - linux-keyutils@0.2.4 - linux-raw-sys@0.4.14 - litemap@0.7.3 - lockfree-object-pool@0.1.6 - lock_api@0.4.12 - log@0.4.21 - lzma-sys@0.1.20 - 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@2.5.0 - minimal-lexical@0.2.1 - miniz_oxide@0.8.0 - msi@0.8.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.6 - pep508_rs@0.6.1 - 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.1 - proc-macro2@1.0.85 - proc-macro-crate@3.1.0 - psm@0.1.21 - pyproject-toml@0.11.0 - python-pkginfo@0.6.5 - 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.6 - relative-path@1.9.3 - rfc2047-decoder@1.0.6 - ring@0.17.8 - rstest@0.22.0 - rstest_macros@0.22.0 - rustc_version@0.4.1 - rustflags@0.1.6 - rustix@0.38.34 - rustls-pemfile@2.1.3 - rustls-pki-types@1.10.0 - rustls-webpki@0.102.8 - rustls@0.23.19 - 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.216 - serde_derive@1.0.216 - serde_derive_internals@0.29.1 - serde_json@1.0.133 - serde_spanned@0.6.6 - sha2@0.10.8 - sharded-slab@0.1.7 - shell-words@1.1.0 - shlex@1.3.0 - simd-adler32@0.3.7 - similar@2.5.0 - slab@0.4.9 - smallvec@1.13.2 - smawk@0.3.2 - snapbox-macros@0.3.10 - snapbox@0.6.16 - socks@0.3.4 - spin@0.9.8 - stable_deref_trait@1.2.0 - stacker@0.1.15 - static_assertions@1.1.0 - strsim@0.11.1 - subtle@2.5.0 - synstructure@0.13.1 - syn@1.0.109 - syn@2.0.87 - target-lexicon@0.13.0 - tar@0.4.43 - tempfile@3.11.0 - termcolor@1.4.1 - terminal_size@0.3.0 - textwrap@0.16.1 - thiserror-impl@1.0.64 - thiserror-impl@2.0.3 - thiserror@1.0.64 - thiserror@2.0.3 - thread_local@1.1.8 - time-core@0.1.2 - time-macros@0.2.18 - time@0.3.36 - tinystr@0.7.6 - toml@0.8.15 - toml_datetime@0.6.6 - toml_edit@0.21.1 - toml_edit@0.22.16 - 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.6 - twox-hash@1.6.3 - typenum@1.17.0 - unicase@2.7.0 - unicode-ident@1.0.12 - unicode-linebreak@0.1.5 - unicode-width@0.1.13 - unicode-xid@0.2.6 - unscanny@0.1.0 - untrusted@0.9.0 - ureq@2.11.0 - urlencoding@2.1.3 - url@2.5.4 - utf8parse@0.2.2 - utf8_iter@1.0.4 - utf16_iter@1.0.5 - 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@7.0.0 - 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.6 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_gnullvm@0.52.6 - windows_aarch64_msvc@0.48.5 - windows_aarch64_msvc@0.52.6 - windows_i686_gnullvm@0.52.6 - windows_i686_gnu@0.48.5 - windows_i686_gnu@0.52.6 - windows_i686_msvc@0.48.5 - windows_i686_msvc@0.52.6 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_gnullvm@0.52.6 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnu@0.52.6 - windows_x86_64_msvc@0.48.5 - windows_x86_64_msvc@0.52.6 - winnow@0.5.40 - winnow@0.6.13 - winsafe@0.0.19 - write16@1.0.0 - writeable@0.5.5 - xattr@1.3.1 - xwin@0.6.5 - xz2@0.1.7 - yansi@1.0.1 - yoke-derive@0.7.5 - yoke@0.7.4 - zerocopy-derive@0.7.34 - zerocopy@0.7.34 - zerofrom-derive@0.1.5 - zerofrom@0.1.4 - zeroize@1.8.1 - zerovec-derive@0.10.3 - zerovec@0.10.4 - zip@2.1.6 - zopfli@0.8.1 -" -# 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 - anyhow@1.0.86 - askama@0.12.1 - askama_derive@0.12.5 - askama_escape@0.10.3 - askama_parser@0.2.1 - autocfg@1.1.0 - autocfg@1.4.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 - fs-err@2.11.0 - getrandom@0.2.10 - goblin@0.8.2 - 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 - libc@0.2.161 - 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 - once_cell@1.20.2 - portable-atomic@1.7.0 - portable-atomic@1.9.0 - proc-macro2@1.0.86 - proc-macro2@1.0.88 - proc-macro2@1.0.92 - pyo3-build-config@0.18.3 - pyo3-build-config@0.23.3 - pyo3-ffi@0.18.3 - pyo3-ffi@0.23.3 - pyo3-macros-backend@0.23.3 - pyo3-macros@0.23.3 - pyo3@0.23.3 - python3-dll-a@0.2.12 - quote@1.0.37 - 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 - syn@2.0.79 - syn@2.0.89 - target-lexicon@0.12.11 - target-lexicon@0.12.14 - target-lexicon@0.12.16 - thiserror-impl@1.0.61 - thiserror-impl@1.0.63 - thiserror@1.0.61 - thiserror@1.0.63 - toml@0.5.11 - unicode-ident@1.0.5 - unicode-ident@1.0.11 - unicode-ident@1.0.13 - unicode-ident@1.0.14 - 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.5 - windows_aarch64_gnullvm@0.52.5 - windows_aarch64_msvc@0.52.5 - windows_i686_gnullvm@0.52.5 - windows_i686_gnu@0.52.5 - windows_i686_msvc@0.52.5 - windows_x86_64_gnullvm@0.52.5 - windows_x86_64_gnu@0.52.5 - windows_x86_64_msvc@0.52.5 -" -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( pypy3 python3_{10..13} ) -RUST_MIN_VER=1.75.0 -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 Boost-1.0 ISC - MIT MPL-2.0 openssl Unicode-3.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 )" - -TOMLI_DEPEND="$(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10)" -DEPEND=" - app-arch/xz-utils - ssl? ( dev-libs/openssl:= ) -" -RDEPEND=" - ${DEPEND} - ${TOMLI_DEPEND} -" -BDEPEND=" - virtual/pkgconfig - doc? ( app-text/mdbook ) - test? ( - ${TOMLI_DEPEND} - $(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 ) - ) -" - -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 - - # uv does not work easily w/ network-sandbox, force virtualenv - sed -i 's/"uv"/"uv-not-found"/' tests/common/mod.rs || die - - # 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 require uv, and not obvious to get it - # to work with network-sandbox (not worth the trouble) - --skip develop_hello_world::case_2 - --skip develop_pyo3_ffi_pure::case_2 - # compliance test using zig requires an old libc to pass (bug #946967) - --skip integration_pyo3_mixed_py_subdir - # 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.8.1.ebuild b/dev-util/maturin/maturin-1.8.1.ebuild new file mode 100644 index 000000000000..f475fea8bb01 --- /dev/null +++ b/dev-util/maturin/maturin-1.8.1.ebuild @@ -0,0 +1,629 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + adler2@2.0.0 + 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.89 + arbitrary@1.4.1 + 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 + bumpalo@3.16.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.6.0 + camino@1.1.9 + cargo-config2@0.1.30 + cargo-options@0.7.4 + cargo-platform@0.1.8 + cargo-xwin@0.18.3 + cargo-zigbuild@0.19.7 + cargo_metadata@0.19.0 + cbindgen@0.27.0 + cc@1.1.21 + cfb@0.10.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 + derive_arbitrary@1.4.1 + dialoguer@0.11.0 + diff@0.1.13 + digest@0.10.7 + dirs-sys@0.4.1 + dirs@5.0.1 + displaydoc@0.2.5 + 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.9 + filetime@0.2.23 + flate2@1.0.33 + fnv@1.0.7 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + form_urlencoded@1.2.1 + fs4@0.12.0 + fs-err@3.0.0 + futures-channel@0.3.31 + futures-core@0.3.31 + futures-executor@0.3.30 + futures-io@0.3.31 + futures-macro@0.3.31 + futures-sink@0.3.31 + futures-task@0.3.31 + futures-timer@3.0.3 + futures-util@0.3.31 + futures@0.3.30 + generic-array@0.14.7 + getrandom@0.2.15 + globset@0.4.15 + glob@0.3.1 + goblin@0.9.2 + 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 + icu_collections@1.5.0 + icu_locid@1.5.0 + icu_locid_transform@1.5.0 + icu_locid_transform_data@1.5.0 + icu_normalizer@1.5.0 + icu_normalizer_data@1.5.0 + icu_properties@1.5.1 + icu_properties_data@1.5.0 + icu_provider@1.5.0 + icu_provider_macros@1.5.0 + idna@1.0.3 + idna_adapter@1.2.0 + ignore@0.4.23 + indexmap@2.5.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.7 + libc@0.2.158 + libmimalloc-sys@0.1.38 + libredox@0.1.3 + linux-keyutils@0.2.4 + linux-raw-sys@0.4.14 + litemap@0.7.3 + lockfree-object-pool@0.1.6 + lock_api@0.4.12 + log@0.4.21 + lzma-sys@0.1.20 + 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@2.5.0 + minimal-lexical@0.2.1 + miniz_oxide@0.8.0 + msi@0.8.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.6 + pep508_rs@0.6.1 + 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.1 + proc-macro2@1.0.85 + proc-macro-crate@3.1.0 + psm@0.1.21 + pyproject-toml@0.11.0 + python-pkginfo@0.6.5 + 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.6 + relative-path@1.9.3 + rfc2047-decoder@1.0.6 + ring@0.17.8 + rstest@0.22.0 + rstest_macros@0.22.0 + rustc_version@0.4.1 + rustflags@0.1.6 + rustix@0.38.34 + rustls-pemfile@2.1.3 + rustls-pki-types@1.10.0 + rustls-webpki@0.102.8 + rustls@0.23.19 + 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.216 + serde_derive@1.0.216 + serde_derive_internals@0.29.1 + serde_json@1.0.133 + serde_spanned@0.6.6 + sha2@0.10.8 + sharded-slab@0.1.7 + shell-words@1.1.0 + shlex@1.3.0 + simd-adler32@0.3.7 + similar@2.5.0 + slab@0.4.9 + smallvec@1.13.2 + smawk@0.3.2 + snapbox-macros@0.3.10 + snapbox@0.6.16 + socks@0.3.4 + spin@0.9.8 + stable_deref_trait@1.2.0 + stacker@0.1.15 + static_assertions@1.1.0 + strsim@0.11.1 + subtle@2.5.0 + synstructure@0.13.1 + syn@1.0.109 + syn@2.0.87 + target-lexicon@0.13.0 + tar@0.4.43 + tempfile@3.11.0 + termcolor@1.4.1 + terminal_size@0.3.0 + textwrap@0.16.1 + thiserror-impl@1.0.64 + thiserror-impl@2.0.3 + thiserror@1.0.64 + thiserror@2.0.3 + thread_local@1.1.8 + time-core@0.1.2 + time-macros@0.2.18 + time@0.3.36 + tinystr@0.7.6 + toml@0.8.15 + toml_datetime@0.6.6 + toml_edit@0.21.1 + toml_edit@0.22.16 + 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.6 + twox-hash@1.6.3 + typenum@1.17.0 + unicase@2.7.0 + unicode-ident@1.0.12 + unicode-linebreak@0.1.5 + unicode-width@0.1.13 + unicode-xid@0.2.6 + unscanny@0.1.0 + untrusted@0.9.0 + ureq@2.11.0 + urlencoding@2.1.3 + url@2.5.4 + utf8parse@0.2.2 + utf8_iter@1.0.4 + utf16_iter@1.0.5 + 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@7.0.0 + 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.6 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.6 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.6 + windows_i686_gnullvm@0.52.6 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.6 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.6 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.6 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.6 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.6 + winnow@0.5.40 + winnow@0.6.13 + winsafe@0.0.19 + write16@1.0.0 + writeable@0.5.5 + xattr@1.3.1 + xwin@0.6.5 + xz2@0.1.7 + yansi@1.0.1 + yoke-derive@0.7.5 + yoke@0.7.4 + zerocopy-derive@0.7.34 + zerocopy@0.7.34 + zerofrom-derive@0.1.5 + zerofrom@0.1.4 + zeroize@1.8.1 + zerovec-derive@0.10.3 + zerovec@0.10.4 + zip@2.1.6 + zopfli@0.8.1 +" +# 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 + anyhow@1.0.86 + askama@0.12.1 + askama_derive@0.12.5 + askama_escape@0.10.3 + askama_parser@0.2.1 + autocfg@1.1.0 + autocfg@1.4.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 + fs-err@2.11.0 + getrandom@0.2.10 + goblin@0.8.2 + 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 + libc@0.2.161 + 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 + once_cell@1.20.2 + portable-atomic@1.7.0 + portable-atomic@1.9.0 + proc-macro2@1.0.86 + proc-macro2@1.0.88 + proc-macro2@1.0.92 + pyo3-build-config@0.18.3 + pyo3-build-config@0.23.3 + pyo3-ffi@0.18.3 + pyo3-ffi@0.23.3 + pyo3-macros-backend@0.23.3 + pyo3-macros@0.23.3 + pyo3@0.23.3 + python3-dll-a@0.2.12 + quote@1.0.37 + 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 + syn@2.0.79 + syn@2.0.89 + target-lexicon@0.12.11 + target-lexicon@0.12.14 + target-lexicon@0.12.16 + thiserror-impl@1.0.61 + thiserror-impl@1.0.63 + thiserror@1.0.61 + thiserror@1.0.63 + toml@0.5.11 + unicode-ident@1.0.5 + unicode-ident@1.0.11 + unicode-ident@1.0.13 + unicode-ident@1.0.14 + 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.5 + windows_aarch64_gnullvm@0.52.5 + windows_aarch64_msvc@0.52.5 + windows_i686_gnullvm@0.52.5 + windows_i686_gnu@0.52.5 + windows_i686_msvc@0.52.5 + windows_x86_64_gnullvm@0.52.5 + windows_x86_64_gnu@0.52.5 + windows_x86_64_msvc@0.52.5 +" +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..13} ) +RUST_MIN_VER=1.75.0 +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 Boost-1.0 ISC + MIT MPL-2.0 openssl Unicode-3.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 )" + +TOMLI_DEPEND="$(python_gen_cond_dep 'dev-python/tomli[${PYTHON_USEDEP}]' 3.10)" +DEPEND=" + app-arch/xz-utils + ssl? ( dev-libs/openssl:= ) +" +RDEPEND=" + ${DEPEND} + ${TOMLI_DEPEND} +" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/mdbook ) + test? ( + ${TOMLI_DEPEND} + $(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 ) + ) +" + +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 + + # uv does not work easily w/ network-sandbox, force virtualenv + sed -i 's/"uv"/"uv-not-found"/' tests/common/mod.rs || die + + # 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 require uv, and not obvious to get it + # to work with network-sandbox (not worth the trouble) + --skip develop_hello_world::case_2 + --skip develop_pyo3_ffi_pure::case_2 + # compliance test using zig requires an old libc to pass (bug #946967) + --skip integration_pyo3_mixed_py_subdir + # 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/seer/Manifest b/dev-util/seer/Manifest index b3b61c8facc6..2c26e0aea6d4 100644 --- a/dev-util/seer/Manifest +++ b/dev-util/seer/Manifest @@ -3,6 +3,6 @@ DIST seer-2.3.tar.gz 434273 BLAKE2B 31b32a36b4f15bedc791eb450f440865b6e443a30cd5 DIST seer-2.4.tar.gz 659705 BLAKE2B e88a3de2efd07df0964289596c8266e269f1e0c03ac21fc4847a87a7d844daf153ec48dd37dfa6dcf5e2ae6dcdef80a22c51902e5b5f15e0843521d5471f6576 SHA512 a461b771e7057b7ab67ab8fab7c3e1e9086e99baabda7c435c9d0760a37789c57f0474e5e8d8a8d035db8e1291597ddd7e3a57bc6094ca8f609c75bf576499b0 EBUILD seer-1.17.ebuild 958 BLAKE2B 402877f8a8033f9530e3f58117573fa493ca5af28d38248e6f8484a16d9aa899476f6c797068cc9300467b69f529c6e1bb9b17bb2b1b6440655e23da04fc0c42 SHA512 7f4defe57fa8389f13923c9e5faec735b9dc0498fef59701bed6b45a8451ca133d0b2a3f15d62df091363c74d7ba355d007f3b4b5491a6b48a83f9f2769f36f7 EBUILD seer-2.3.ebuild 1111 BLAKE2B 4ce05d47536e2cc7373ffcd081dc682b28681f8ee79285429550c8cd91c9f2a30f222c8d461204cbacb0841d0f6ee555006f612371e0e7ee289ce9fb97e8a5c4 SHA512 22529c82fbbb17874c046b0316bfb908b238335973aa4de4e094c6d451d344a28794357dacafab880640408dabc574d39ccb13615f8b9bfc7f0c8928a7e64f42 -EBUILD seer-2.4.ebuild 1115 BLAKE2B 3723dae6d98168e99f9ca2c14ddb708e42dec8680440233901120bd23a1faa865aa34ba9825c76b498aaea6384815236cc04337ed47ac9ecb74f59d67cb9261b SHA512 05b95f9f8bcd8f2a489dd7d9b3a44f4f4a73a2a0ebb3a3c0f77dc91d93505487c541154da0b15da4826bfe8ecb6773c18bd6c240ec24109110b6d5e04f0fc5ed +EBUILD seer-2.4.ebuild 1122 BLAKE2B d6b33400c930fbc86d273a05ecbec437da2a97da892281f56cab3d989657bd232f49389d6f5756d23b52393414bd949a8d76bec36e90708e6e60124d5609a810 SHA512 59af2b67da393b41e10f42678f2c81027750bf9c58c1754dada4028141b67e08c548155e639c60817177a01e5ff94ec3ab5971eaa5657a83d6e40378d3f36660 EBUILD seer-9999.ebuild 1111 BLAKE2B 4ce05d47536e2cc7373ffcd081dc682b28681f8ee79285429550c8cd91c9f2a30f222c8d461204cbacb0841d0f6ee555006f612371e0e7ee289ce9fb97e8a5c4 SHA512 22529c82fbbb17874c046b0316bfb908b238335973aa4de4e094c6d451d344a28794357dacafab880640408dabc574d39ccb13615f8b9bfc7f0c8928a7e64f42 MISC metadata.xml 318 BLAKE2B a34dc163a2b5e0fc9db7808eaa083a7b978a5578db14c5f33e870a2b73ec21f056c3b287997e8db4c1951e8d56852df746fccc30cf47ad24fdbae13896329014 SHA512 4c3706be2572cfb702b357753b35deb33199ed701d95b37f005919e374712ee5412a8b9214ea4c3c82e8371457b5571ed9a055b1df963196650a64e8c0d67fbd diff --git a/dev-util/seer/seer-2.4.ebuild b/dev-util/seer/seer-2.4.ebuild index 9415e7984c49..d600490eb0c2 100644 --- a/dev-util/seer/seer-2.4.ebuild +++ b/dev-util/seer/seer-2.4.ebuild @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]] ; then else SRC_URI="https://github.com/epasveer/seer/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~ppc64" fi S="${WORKDIR}"/${P}/src -- cgit v1.2.3