From 7021b9684fe7600fcba8b1911c5e10d8c9399d1a Mon Sep 17 00:00:00 2001 From: Daniele Rondina Date: Sun, 11 Jan 2026 04:53:47 +0000 Subject: [PATCH] Bump dev-util/maturin-1.11.5 --- dev-util/maturin/Manifest | 2 + dev-util/maturin/maturin-1.11.5.ebuild | 61 ++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 dev-util/maturin/maturin-1.11.5.ebuild diff --git a/dev-util/maturin/Manifest b/dev-util/maturin/Manifest index f08985c..4781051 100644 --- a/dev-util/maturin/Manifest +++ b/dev-util/maturin/Manifest @@ -1,3 +1,5 @@ +DIST maturin-1.11.5-mark-rust-bundle.tar.xz 64302808 BLAKE2B 2e9230b3937396f05185d16089f633fc50ed19600b57e9ae26c25aff4608242c2faf73ec347e75465fa0fb723ae83c20487f2d12bfdd98b300d5bf0f970a2418 SHA512 0d7013b5e923a0e8ee0749b771f035bb56b66f5a58679df1f59e00a2579bb5d8420f57aeafe890562adb404da163a6c0f7ace1e707b48c5bd996a84418472ac9 +DIST maturin-1.11.5.tar.gz 226885 BLAKE2B 9450afeaa2562078e13e88cb29675157c66cd003f676d855729e22efaf6253c393a75d5ccda653e608ae74e6ace996c52e18811079187a9cd2ff0c77bc261ea7 SHA512 e8b2eb29b77a0b57517751510b20d050d05e4cd05c50be4fa47d9e7ab622b313908a9f93b74d35f3915657d3ece49567106e80f2dae18812ddd03b694ffee954 DIST maturin-1.9.5-mark-rust-bundle.tar.xz 57109504 BLAKE2B 8344db047f39b1b98746f0af6acbe3793554f08627f04d276c5d887960d5bc54bdd974e9b6d07621dc03871d25b3784850f4e7a250a3d823cc546691af1e0cda SHA512 b59c285e2f802113f703dc2f2b629aaf6ebaf900929c9a66ac326040555d5882a4ea6595ea3032f16cbd5c715d045be1540a7d9cb15b277b4338840f7779f8b0 DIST maturin-1.9.5.tar.gz 214843 BLAKE2B f315a33ab689587d5fb9b71094d88be4aa5065d4c7c913727706c302b910126185a7082dfb4498379acfb165da1727619f2b7e8fca6e4b6c09f3c165a777c7ef SHA512 1d0118a6153836c461849940b5267c7e77b91cd364ac9c04eb7645d82253904a5d56695f4d3ff40185851ad084955e042ece67fbf61e2d085332ee381a773b4f DIST maturin-1.9.6-mark-rust-bundle.tar.xz 57109644 BLAKE2B e862336b5770a84cc409a1b546273ca5e0dfd7e0ca8d92885cbe4aa16d189c852a067f54d2eb2a37fe74ec1d87d4ee8dde852886e6a6235997d97abb0fc33a70 SHA512 2a6ae1cbdde39978ef593ed5581b900500bc2fd093bffba834c3545b492cba21051e2eeb4ba9d08b25118cc28f1415ea0ba1448fe416c4bf036d4ee2ed8c143a diff --git a/dev-util/maturin/maturin-1.11.5.ebuild b/dev-util/maturin/maturin-1.11.5.ebuild new file mode 100644 index 0000000..0cb0508 --- /dev/null +++ b/dev-util/maturin/maturin-1.11.5.ebuild @@ -0,0 +1,61 @@ +# Distributed under the terms of the GNU General Public License v2 +# Autogen by MARK Devkit + +EAPI=7 +PYTHON_COMPAT=( python3+ ) +ECARGO_BUNDLE_POSTFIX="mark-rust-bundle" +CARGO_OPTIONAL="yes" +inherit cargo distutils-r1 + +DESCRIPTION="Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages" +HOMEPAGE="https://github.com/pyo3/maturin" +SRC_URI=" +https://files.pythonhosted.org/packages/a4/84/bfed8cc10e2d8b6656cf0f0ca6609218e6fcb45a62929f5094e1063570f7/maturin-1.11.5.tar.gz -> maturin-1.11.5.tar.gz +mirror://macaroni/maturin-1.11.5-mark-rust-bundle.tar.xz -> maturin-1.11.5-mark-rust-bundle.tar.xz" +SLOT="0" +KEYWORDS="*" +BDEPEND="virtual/rust + +" +RDEPEND=" + dev-python/tomli[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools-rust[${PYTHON_USEDEP}] +" +S="${WORKDIR}/maturin-1.11.5" +src_unpack() { + cargo_src_unpack +} +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 +} +src_configure() { + export OPENSSL_NO_VENDOR=1 + export ZSTD_SYS_USE_PKG_CONFIG=1 + local myfeatures=( + full + password-storage + native-tls + ) + cargo_src_configure --no-default-features +} +src_compile() { + cargo_src_compile + distutils-r1_src_compile +} +src_install() { + dobin target/release/maturin + dodoc Changelog.md README.md + local maturin=target/release/maturin + mkdir -p "${D}"/usr/share/{bash-completion/completions/,fish/vendor_completions.d/,zsh/site-functions/} || die + "${maturin}" completions bash > "${D}"/usr/share/bash-completion/${PN} || die + "${maturin}" completions fish > "${D}"/usr/share/fish/vendor_completions.d//${PN}.fish || die + "${maturin}" completions zsh > "${D}"/usr/share/zsh/site-functions/_${PN} || die + distutils-r1_src_install +} + + +# vim: filetype=ebuild