From 992e189721d0d9f56a190e7bd387e38c8522f585 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=D0=A5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=BE=D0=B2?= Date: Mon, 30 Sep 2024 19:14:02 +0300 Subject: [PATCH] gitea deps --- python3-rich/alr.sh | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 python3-rich/alr.sh 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 +}