python3-inputs 0.5-2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
name='python3-inputs'
|
||||
version='0.5'
|
||||
release='1'
|
||||
release='2'
|
||||
desc='Cross-platform Python support for keyboards, mice and gamepads.'
|
||||
desc_ru='Библиотека Python для кроссплатформенной поддержки клавиатуры, мыши и геймпадов'
|
||||
homepage='https://github.com/zeth/inputs'
|
||||
@@ -23,19 +23,23 @@ deps_alpine=('python3')
|
||||
|
||||
build_deps=(
|
||||
'python3'
|
||||
'python3-pip'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
)
|
||||
build_deps_alt=(
|
||||
'python3'
|
||||
'python3-module-pip'
|
||||
'python3-module-build'
|
||||
'python3-module-installer'
|
||||
)
|
||||
build_deps_arch=(
|
||||
'python'
|
||||
'python-pip'
|
||||
'python-build'
|
||||
'python-installer'
|
||||
)
|
||||
build_deps_debian=(
|
||||
'python3'
|
||||
'python3-pip'
|
||||
'python3-build'
|
||||
'python3-installer'
|
||||
)
|
||||
build_deps_fedora=("${build_deps[@]}")
|
||||
build_deps_redos=("${build_deps[@]}")
|
||||
@@ -43,7 +47,8 @@ build_deps_rhel=("${build_deps[@]}")
|
||||
build_deps_rosa=("${build_deps[@]}")
|
||||
build_deps_alpine=(
|
||||
'python3'
|
||||
'py3-pip'
|
||||
'py3-build'
|
||||
'py3-installer'
|
||||
)
|
||||
|
||||
sources=("https://files.pythonhosted.org/packages/source/i/inputs/inputs-0.5.tar.gz")
|
||||
@@ -56,10 +61,9 @@ build() {
|
||||
|
||||
package() {
|
||||
cd "$srcdir/inputs-${version}"
|
||||
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
|
||||
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
|
||||
}
|
||||
|
||||
files() {
|
||||
files-find "./usr/local/lib/python3.*/site-packages/inputs.py"
|
||||
files-find "./usr/local/lib/python3.*/site-packages/inputs-*.dist-info"
|
||||
files-find-lib
|
||||
}
|
||||
Reference in New Issue
Block a user