72 lines
1.9 KiB
Bash
72 lines
1.9 KiB
Bash
name='python3-deepdiff'
|
|
version='8.6.1'
|
|
release='2'
|
|
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-pip'
|
|
'python3-flit_core'
|
|
)
|
|
|
|
build_deps_alt=(
|
|
'python3'
|
|
'python3-module-pip'
|
|
'python3-module-flit_core'
|
|
)
|
|
build_deps_arch=(
|
|
'python'
|
|
'python-pip'
|
|
'python-flit_core'
|
|
)
|
|
build_deps_debian=(
|
|
'python3'
|
|
'python3-pip'
|
|
'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-pip'
|
|
'python3-flit_core'
|
|
)
|
|
|
|
sources=("https://files.pythonhosted.org/packages/source/d/deepdiff/deepdiff-$version.tar.gz")
|
|
checksums=('blake2b-256:0a0f9cd2624f7dcd755cbf1fa21fb7234541f19a1be96a56f387ec9053ebe220')
|
|
|
|
build() {
|
|
cd "$srcdir/deepdiff-${version}"
|
|
python -m build --wheel --no-isolation
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/deepdiff-${version}"
|
|
pip install --root="${pkgdir}/" . --ignore-installed --no-deps --disable-pip-version-check
|
|
}
|
|
|
|
files() {
|
|
files-find "./usr/local/bin"
|
|
files-find "./usr/local/lib/python3.*/site-packages/deepdiff"
|
|
files-find "./usr/local/lib/python3.*/site-packages/deepdiff-*.dist-info"
|
|
} |