From 404e4f4cb6149fe40b954c9e7896ecfa92faf39d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Sun, 6 Apr 2025 16:08:09 +0300 Subject: [PATCH] python3-iputs 0.5-1 --- python3-inputs/alr.sh | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 python3-inputs/alr.sh diff --git a/python3-inputs/alr.sh b/python3-inputs/alr.sh new file mode 100644 index 0000000..c1f28f3 --- /dev/null +++ b/python3-inputs/alr.sh @@ -0,0 +1,36 @@ +name='python3-inputs' +version='0.5' +release='1' +desc='Cross-platform Python support for keyboards, mice and gamepads.' +homepage='https://github.com/zeth/inputs' +maintainer='Евгений Храмов ' +architectures=('all') +license=('BSD') +provides=('inputs') +conflicts=('inputs') + +deps=("python3") +deps_arch=("python") +deps_alpine=("python3") + +build_deps=("python3" "python3-pip") +build_deps_arch=("python" "python-pip") +build_deps_alpine=("python3" "py3-pip") + +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}" + pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check +} + +files() { + echo ./usr/local/lib/python3.*/site-packages/inputs.py + printf '"%s" ' ./usr/local/lib/python3.*/site-packages/inputs-${version}.dist-info/* +} \ No newline at end of file