From 66a3ae8bf78d944875fd3e195a000c2213710b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Sun, 21 Sep 2025 20:15:45 +0300 Subject: [PATCH] python3-maturin 1.9.4-2 --- python3-maturin/alr.sh | 64 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 58 insertions(+), 6 deletions(-) diff --git a/python3-maturin/alr.sh b/python3-maturin/alr.sh index 3a96e56..deae6b6 100644 --- a/python3-maturin/alr.sh +++ b/python3-maturin/alr.sh @@ -1,8 +1,10 @@ name='python3-maturin' version='1.9.4' -release='1' -desc='Build and publish crates with pyo3, rust-cpython and cffi bindings - Python bindings.' +release='2' +desc='Build and publish crates with pyo3, rust-cpython and cffi bindings - Python bindings' +desc_ru='Привязки Python для сборки и публикации крейтов с pyo3, rust-cpython и cffi' homepage='https://github.com/PyO3/maturin' +maintainer='Evgeny Khramov ' maintainer_ru='Евгений Храмов ' architectures=('amd64') license=('Apache-2.0 OR MIT') @@ -10,9 +12,26 @@ provides=('python3-maturin') conflicts=('python3-maturin') deps=( + 'maturin' + 'python3' +) + +deps_alt=( + 'maturin' + 'python3' +) +deps_arch=( 'maturin' 'python' ) +deps_debian=( + 'maturin' + 'python3' +) +deps_fedora=("${deps[@]}") +deps_redos=("${deps[@]}") +deps_rhel=("${deps[@]}") +deps_rosa=("${deps[@]}") build_deps=( 'bzip2' @@ -27,18 +46,46 @@ build_deps=( 'rust' ) -build_deps_almalinux=( - 'bzip2' +build_deps_alt=( + 'libbzip2' 'libgcc' 'git' + 'glibc-core' + 'python3-module-build' + 'python3-module-installer' + 'python3-module-setuptools' + 'python3-module-setuptools-rust' + 'python3-module-wheel' + 'rust' +) +build_deps_arch=( + 'bzip2' + 'gcc-libs' + 'git' 'glibc' + 'python-build' + 'python-installer' + 'python-setuptools' + 'python-setuptools-rust' + 'python-wheel' + 'rust' +) +build_deps_debian=( + 'libbz2-dev' + 'libgcc-s1' + 'git' + 'libc6' 'python3-build' 'python3-installer' 'python3-setuptools' 'python3-setuptools-rust' - 'python3-setuptools-wheel' - 'rust' + 'python3-wheel' + 'rustc' ) +build_deps_fedora=("${build_deps[@]}") +build_deps_redos=("${build_deps[@]}") +build_deps_rhel=("${build_deps[@]}") +build_deps_rosa=("${build_deps[@]}") options=(!lto) sources=("https://github.com/PyO3/maturin/archive/v$version/maturin-v$version.tar.gz") @@ -71,3 +118,8 @@ package() { install-license ./license-mit ./python3-maturin/LICENSE } + +files() { + files-find "./usr/lib/python3.*/site-packages" + files-find-share "licenses" +}