diff --git a/maturin/alr.sh b/maturin/alr.sh index 028c852..d1f0990 100644 --- a/maturin/alr.sh +++ b/maturin/alr.sh @@ -29,7 +29,19 @@ build_deps=( 'rust' 'openssl-devel' ) - +build_deps_almalinux=( + 'bzip2' + 'libgcc' + 'git' + 'glibc' + 'python3-build' + 'python3-installer' + 'python3-setuptools' + 'python3-setuptools-rust' + 'python3-setuptools-wheel' + 'rust' + 'openssl-devel' +) options=(!lto) sources=("https://github.com/PyO3/maturin/archive/v$version/$name-v$version.tar.gz") checksums=('SKIP') diff --git a/python3-clevercsv/alr.sh b/python3-clevercsv/alr.sh index 80a23f9..823fe9c 100644 --- a/python3-clevercsv/alr.sh +++ b/python3-clevercsv/alr.sh @@ -25,7 +25,7 @@ build_deps_almalinux=( 'python3-build' 'python3-devel' 'python3-installer' - 'python3.12-wheel' + 'python3-setuptools-wheel' ) #opt_deps=( # 'python3-pandas' diff --git a/python3-maturin/alr.sh b/python3-maturin/alr.sh index 87e458f..870282d 100644 --- a/python3-maturin/alr.sh +++ b/python3-maturin/alr.sh @@ -36,7 +36,7 @@ build_deps_almalinux=( 'python3-installer' 'python3-setuptools' 'python3-setuptools-rust' - 'python3.12-wheel' + 'python3-setuptools-wheel' 'rust' ) diff --git a/python3-pendulum/alr.sh b/python3-pendulum/alr.sh index 4422f8c..0b93714 100644 --- a/python3-pendulum/alr.sh +++ b/python3-pendulum/alr.sh @@ -29,7 +29,7 @@ build_deps_almalinux=( 'python3-build' 'python3-installer' 'python3-maturin' - 'python3.12-wheel' + 'python3-setuptools-wheel' 'python3-babel' 'python3-freezegun' 'python3-pytest' diff --git a/python3-rich/alr.sh b/python3-rich/alr.sh new file mode 100644 index 0000000..fa515d8 --- /dev/null +++ b/python3-rich/alr.sh @@ -0,0 +1,44 @@ +name='python3-rich' +version='13.8.1' +release='1' +desc='Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal.' +homepage='Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal' +maintainer_ru='Евгений Храмов ' +architectures=('all') +license=('MIT') +provides=('python3-rich') +conflicts=('python3-rich' 'python-rich') + +deps=( + 'python3-colorama' + 'python3-markdown-it-py' + 'python3-pygments' +) + +build_deps=( + 'python3-build' + 'python3-installer' + 'python3-poetry-core' + 'python3-wheel' +) + +build_deps_almalinux=( + 'python3-build' + 'python3-installer' + 'python3-poetry-core' + 'python3-setuptools-wheel' +) + +sources=("https://github.com/willmcgugan/rich/archive/v${version}/rich-${version}.tar.gz") +checksums=('SKIP') + +build() { + cd rich-${version} + python -m build --wheel --no-isolation +} + +package() { + cd rich-${version} + python -m installer --destdir="$pkgdir" dist/*.whl + install-license LICENSE ./python3-rich/LICENSE +}