fastfetch, python3-rich, python3-sphinx

This commit is contained in:
Евгений Храмов 2024-10-24 10:07:21 +03:00
parent bfd4403c67
commit dfa48314b8
3 changed files with 18 additions and 18 deletions

@ -1,5 +1,5 @@
name='fastfetch' name='fastfetch'
version='2.27.1' version='2.28.0'
release='1' release='1'
desc='Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way. It is written mainly in C, with performance and customizability in mind. Currently, Linux, Android, FreeBSD, MacOS and Windows 7+ are supported.' desc='Fastfetch is a neofetch-like tool for fetching system information and displaying them in a pretty way. It is written mainly in C, with performance and customizability in mind. Currently, Linux, Android, FreeBSD, MacOS and Windows 7+ are supported.'
homepage='https://github.com/fastfetch-cli/fastfetch' homepage='https://github.com/fastfetch-cli/fastfetch'

@ -1,5 +1,5 @@
name='python3-rich' name='python3-rich'
version='13.8.1' version='13.9.3'
release='1' release='1'
desc='Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal.' 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' homepage='Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal'

@ -11,15 +11,15 @@ provides=('sphinx')
conflicts=('sphinx') conflicts=('sphinx')
deps=( deps=(
python3-babel 'python3-babel'
python3-docutils 'python3-docutils'
python3-imagesize 'python3-imagesize'
python3-jinja 'python3-jinja'
python3-packaging 'python3-packaging'
python3-pygments 'python3-pygments'
python3-requests 'python3-requests'
python3-snowballstemmer 'python3-snowballstemmer'
python3-sphinx-alabaster-theme 'python3-sphinx-alabaster-theme'
python3-sphinxcontrib-{{apple,dev,html}help,jsmath,qthelp,serializinghtml} python3-sphinxcontrib-{{apple,dev,html}help,jsmath,qthelp,serializinghtml}
) )
@ -62,12 +62,12 @@ check() {
} }
package() { package() {
cd $_name site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
python -m installer --destdir="$pkgdir" dist/*.whl install -d "$pkgdir"/usr/share/licenses/$name
ln -s "$site_packages"/"$_name"-$version.dist-info/LICENSE.rst \
"$pkgdir"/usr/share/licenses/$name/LICENSE.rst
# Symlink license file cd "$_name"
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") python -m installer --destdir="$pkgdir" dist/*.whl
install -d "$pkgdir"/usr/share/licenses/python3-setuptools-scm install -Dt "$pkgdir"/usr/share/man/man1 doc/_build/man/"$_name"-*.1
ln -s "$site_packages"/$_name-$version.dist-info/LICENSE \
"$pkgdir"/usr/share/licenses/python3-setuptools-scm/LICENSE
} }