name='python3-inputs' version='0.5' release='2' desc='Cross-platform Python support for keyboards, mice and gamepads.' desc_ru='Библиотека Python для кроссплатформенной поддержки клавиатуры, мыши и геймпадов' homepage='https://github.com/zeth/inputs' maintainer='Evgeny Khramov ' maintainer_ru='Евгений Храмов ' architectures=('all') license=('BSD') provides=('inputs') conflicts=('inputs') deps=('python3') deps_alt=('python3') deps_arch=('python') deps_debian=('python3') deps_fedora=('python3') deps_redos=('python3') deps_rhel=('python3') deps_rosa=('python3') deps_alpine=('python3') build_deps=( 'python3' 'python3-build' 'python3-installer' ) build_deps_alt=( 'python3' 'python3-module-build' 'python3-module-installer' ) build_deps_arch=( 'python' 'python-build' 'python-installer' ) build_deps_debian=( 'python3' 'python3-build' 'python3-installer' ) build_deps_fedora=("${build_deps[@]}") build_deps_redos=("${build_deps[@]}") build_deps_rhel=("${build_deps[@]}") build_deps_rosa=("${build_deps[@]}") build_deps_alpine=( 'python3' 'py3-build' 'py3-installer' ) sources=("https://files.pythonhosted.org/packages/source/i/inputs/inputs-0.5.tar.gz") checksums=('blake2b-256:d1cd5f434220920f76eb73d19bb7aab8d857445f40aa642718e6e51e850cd663') build() { cd "$srcdir/inputs-${version}" python -m build --wheel --no-isolation } package() { cd "$srcdir/inputs-${version}" python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl } files() { files-find-lib }