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

View File

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