From 0caf3466175907a18df1f75c733494fffecfc919 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=D0=A5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=BE=D0=B2?= Date: Sat, 13 Jul 2024 15:51:40 +0300 Subject: [PATCH] python3-dotty-dict 1.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Евгений Храмов --- python3-dotty-dict/alr.sh | 40 +++++++++++++++++++++++++++++++++++++++ qmk-cli/alr.sh | 14 +++++++------- 2 files changed, 47 insertions(+), 7 deletions(-) create mode 100644 python3-dotty-dict/alr.sh diff --git a/python3-dotty-dict/alr.sh b/python3-dotty-dict/alr.sh new file mode 100644 index 0000000..c1bd910 --- /dev/null +++ b/python3-dotty-dict/alr.sh @@ -0,0 +1,40 @@ +name='python3-dotty-dict' +version='1.3.1' +release='1' +desc='Dictionary wrapper for quick access to deeply nested keys.' +homepage='https://github.com/pawelzny/dotty_dict' +maintainer="Евгений Храмов " +architectures=('all') +license=('MIT') +provides=('python3-dotty-dict') +conflicts=('python3-dotty-dict') + +deps=( + 'python' +) +build_deps=( + 'python3-build' + 'python3-installer' + 'python3-poetry-core' + 'python3-wheel' + 'python3-pytest' +) + +sources=("https://github.com/pawelzny/dotty_dict/archive/refs/tags/v${version}.tar.gz") +checksums=('SKIP') + +build() { + cd "dotty_dict-$version" + python -m build --wheel --no-isolation +} + +check() { + cd "dotty_dict-$version" + pytest +} + +package() { + cd "dotty_dict-$version" + python -m installer --destdir="$pkgdir" dist/*.whl + install-license ./LICENSE ./${name}/LICENSE +} diff --git a/qmk-cli/alr.sh b/qmk-cli/alr.sh index 9e5b734..12a4b47 100644 --- a/qmk-cli/alr.sh +++ b/qmk-cli/alr.sh @@ -24,13 +24,13 @@ deps=( 'flake8' 'gcc' 'git' - 'libusb-compat' - 'python-dotty-dict' - 'python-hidapi' - 'python-hjson' - 'python-jsonschema' - 'python-milc' - 'python-pyusb' + 'libusb-compat-01' + 'python3-dotty-dict' + 'python3-hidapi' + 'python3-hjson' + 'python3-jsonschema' + 'python3-milc' + 'python3-pyusb' 'unzip' 'wget' 'zip'