python3-dotty-dict 1.3.1

Signed-off-by: Евгений Храмов <xpamych@yandex.ru>
This commit is contained in:
Евгений Храмов 2024-07-13 15:51:40 +03:00
parent 0fbd31f3c4
commit 5f3a42c317
2 changed files with 47 additions and 7 deletions

40
python3-dotty-dict/alr.sh Normal file

@ -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="Евгений Храмов <xpamych@yandex.ru>"
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
}

@ -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-0.1'
'python3-dotty-dict'
'python3-hidapi'
'python3-hjson'
'python3-jsonschema'
'python3-milc'
'python3-pyusb'
'unzip'
'wget'
'zip'