Files
alr-repo/python3-deepdiff/alr.sh

76 lines
1.8 KiB
Bash

name='python3-deepdiff'
version='8.6.1'
release='3'
desc='Deep Difference and Search of any Python object/data. Recreate objects by adding adding deltas to each other'
desc_ru='Библиотека Python для глубокого сравнения и поиска любых объектов и данных'
homepage='https://github.com/seperman/deepdiff'
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all')
license=('MIT')
provides=('deepdiff')
conflicts=('deepdiff' 'python3-deepdiff')
deps=('python3')
deps_alt=('python3')
deps_arch=('python')
deps_debian=('python3')
deps_fedora=('python3')
deps_redos=('python3')
deps_rhel=('python3')
deps_rosa=('python3')
deps_alpine=('python3')
build_deps=(
'python3'
'python3-build'
'python3-installer'
'python3-flit-core'
)
build_deps_alt=(
'python3'
'python3-module-build'
'python3-module-installer'
'python3-module-flit_core'
)
build_deps_arch=(
'python'
'python-build'
'python-installer'
'python-flit_core'
)
build_deps_debian=(
'python3'
'python3-build'
'python3-installer'
'python3-flit-core'
)
build_deps_fedora=("${build_deps[@]}")
build_deps_redos=("${build_deps[@]}")
build_deps_rhel=("${build_deps[@]}")
build_deps_rosa=("${build_deps[@]}")
build_deps_alpine=(
'python3'
'py3-build'
'py3-installer'
'py3-flit-core'
)
sources=("https://files.pythonhosted.org/packages/source/d/deepdiff/deepdiff-$version.tar.gz")
checksums=('blake2b-256:197636c9aab3d5c19a94091f7c6c6e784efca50d87b124bf026c36e94719f33c')
build() {
cd "$srcdir/deepdiff-${version}"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/deepdiff-${version}"
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
}
files() {
files-find-bin
files-find-lib
}