python3-dotty-dict 1.3.1
Signed-off-by: Евгений Храмов <xpamych@yandex.ru>
This commit is contained in:
parent
0fbd31f3c4
commit
5f3a42c317
40
python3-dotty-dict/alr.sh
Normal file
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'
|
'flake8'
|
||||||
'gcc'
|
'gcc'
|
||||||
'git'
|
'git'
|
||||||
'libusb-compat'
|
'libusb-compat-0.1'
|
||||||
'python-dotty-dict'
|
'python3-dotty-dict'
|
||||||
'python-hidapi'
|
'python3-hidapi'
|
||||||
'python-hjson'
|
'python3-hjson'
|
||||||
'python-jsonschema'
|
'python3-jsonschema'
|
||||||
'python-milc'
|
'python3-milc'
|
||||||
'python-pyusb'
|
'python3-pyusb'
|
||||||
'unzip'
|
'unzip'
|
||||||
'wget'
|
'wget'
|
||||||
'zip'
|
'zip'
|
||||||
|
Loading…
Reference in New Issue
Block a user