python3-maturin 1.9.4-2

This commit is contained in:
2025-09-21 20:15:45 +03:00
parent 945f8fbeb3
commit 66a3ae8bf7

View File

@@ -1,8 +1,10 @@
name='python3-maturin' name='python3-maturin'
version='1.9.4' version='1.9.4'
release='1' release='2'
desc='Build and publish crates with pyo3, rust-cpython and cffi bindings - Python bindings.' 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' homepage='https://github.com/PyO3/maturin'
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>' maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('amd64') architectures=('amd64')
license=('Apache-2.0 OR MIT') license=('Apache-2.0 OR MIT')
@@ -10,9 +12,26 @@ provides=('python3-maturin')
conflicts=('python3-maturin') conflicts=('python3-maturin')
deps=( deps=(
'maturin'
'python3'
)
deps_alt=(
'maturin'
'python3'
)
deps_arch=(
'maturin' 'maturin'
'python' 'python'
) )
deps_debian=(
'maturin'
'python3'
)
deps_fedora=("${deps[@]}")
deps_redos=("${deps[@]}")
deps_rhel=("${deps[@]}")
deps_rosa=("${deps[@]}")
build_deps=( build_deps=(
'bzip2' 'bzip2'
@@ -27,18 +46,46 @@ build_deps=(
'rust' 'rust'
) )
build_deps_almalinux=( build_deps_alt=(
'bzip2' 'libbzip2'
'libgcc' 'libgcc'
'git' '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' '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-build'
'python3-installer' 'python3-installer'
'python3-setuptools' 'python3-setuptools'
'python3-setuptools-rust' 'python3-setuptools-rust'
'python3-setuptools-wheel' 'python3-wheel'
'rust' 'rustc'
) )
build_deps_fedora=("${build_deps[@]}")
build_deps_redos=("${build_deps[@]}")
build_deps_rhel=("${build_deps[@]}")
build_deps_rosa=("${build_deps[@]}")
options=(!lto) options=(!lto)
sources=("https://github.com/PyO3/maturin/archive/v$version/maturin-v$version.tar.gz") 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 install-license ./license-mit ./python3-maturin/LICENSE
} }
files() {
files-find "./usr/lib/python3.*/site-packages"
files-find-share "licenses"
}