Files
alr-repo/python3-spinners/alr.sh

50 lines
1.3 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name='python3-spinners'
version='0.0.24'
release='2'
desc='Spinners for terminal, python wrapper for amazing node library cli-spinners'
desc_ru='Библиотека Python с анимацией загрузки для терминала'
homepage='https://github.com/ManrajGrover/py-spinners'
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all')
license=('MIT')
deps=('python3')
deps_alt=('python3')
deps_arch=('python')
deps_debian=('python3')
deps_fedora=('python3')
deps_redos=('python3')
deps_rhel=('python3')
deps_rosa=('python3')
build_deps=('python3-setuptools')
build_deps_alt=('python3-module-setuptools')
build_deps_arch=('python-setuptools')
build_deps_debian=('python3-setuptools')
build_deps_fedora=('python3-setuptools')
build_deps_redos=('python3-setuptools')
build_deps_rhel=('python3-setuptools')
build_deps_rosa=('python3-setuptools')
sources=("https://files.pythonhosted.org/packages/source/s/spinners/spinners-${version}.tar.gz")
checksums=('SKIP')
build() {
cd "spinners-$version"
python setup.py build
}
package() {
cd "spinners-$version"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
files() {
files-find "./usr/lib/python3.*/site-packages/spinners"
files-find "./usr/lib/python3.*/site-packages/spinners-*.egg-info"
}