python3-inputs 0.5-1

This commit is contained in:
2025-09-21 20:08:51 +03:00
parent 2c4e85f06b
commit 628e43f9f6

View File

@@ -2,20 +2,49 @@ name='python3-inputs'
version='0.5' version='0.5'
release='1' release='1'
desc='Cross-platform Python support for keyboards, mice and gamepads.' desc='Cross-platform Python support for keyboards, mice and gamepads.'
desc_ru='Библиотека Python для кроссплатформенной поддержки клавиатуры, мыши и геймпадов'
homepage='https://github.com/zeth/inputs' homepage='https://github.com/zeth/inputs'
maintainer='Евгений Храмов <xpamych@yandex.ru>' maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all') architectures=('all')
license=('BSD') license=('BSD')
provides=('inputs') provides=('inputs')
conflicts=('inputs') conflicts=('inputs')
deps=("python3") deps=('python3')
deps_arch=("python") deps_alt=('python3')
deps_alpine=("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-pip") build_deps=(
build_deps_arch=("python" "python-pip") 'python3'
build_deps_alpine=("python3" "py3-pip") 'python3-pip'
)
build_deps_alt=(
'python3'
'python3-module-pip'
)
build_deps_arch=(
'python'
'python-pip'
)
build_deps_debian=(
'python3'
'python3-pip'
)
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-pip'
)
sources=("https://files.pythonhosted.org/packages/source/i/inputs/inputs-0.5.tar.gz") sources=("https://files.pythonhosted.org/packages/source/i/inputs/inputs-0.5.tar.gz")
checksums=('blake2b-256:d1cd5f434220920f76eb73d19bb7aab8d857445f40aa642718e6e51e850cd663') checksums=('blake2b-256:d1cd5f434220920f76eb73d19bb7aab8d857445f40aa642718e6e51e850cd663')
@@ -31,6 +60,6 @@ package() {
} }
files() { files() {
echo ./usr/local/lib/python3.*/site-packages/inputs.py files-find "./usr/local/lib/python3.*/site-packages/inputs.py"
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/inputs-${version}.dist-info/* files-find "./usr/local/lib/python3.*/site-packages/inputs-*.dist-info"
} }