python3-deepdiff 8.6.1-2
This commit is contained in:
@@ -1,68 +0,0 @@
|
||||
name='python3-clevercsv'
|
||||
version='0.8.3'
|
||||
release='2'
|
||||
desc='A Python package for handling messy CSV files'
|
||||
homepage='https://github.com/alan-turing-institute/CleverCSV'
|
||||
license=('MIT')
|
||||
architectures=('amd64')
|
||||
|
||||
deps=(
|
||||
'python3-chardet'
|
||||
'python3-regex'
|
||||
'python3-packaging'
|
||||
)
|
||||
build_deps=(
|
||||
'git'
|
||||
'python3-setuptools'
|
||||
'python3-build'
|
||||
'python3-devel'
|
||||
'python3-installer'
|
||||
'python3-wheel'
|
||||
)
|
||||
build_deps_almalinux=(
|
||||
'git'
|
||||
'python3-setuptools'
|
||||
'python3-build'
|
||||
'python3-devel'
|
||||
'python3-installer'
|
||||
'python3-wheel'
|
||||
)
|
||||
#opt_deps=(
|
||||
# 'python3-pandas'
|
||||
# 'python3-tabview'
|
||||
# 'python3-wilderness'
|
||||
# 'python3-cchardet'
|
||||
# 'python3-pytest'
|
||||
# 'python3-pandas'
|
||||
# 'python3-tabview'
|
||||
# 'python3-wilderness'
|
||||
# 'python3-faust-cchardet'
|
||||
# 'python3-termcolor'
|
||||
#)
|
||||
|
||||
sources=("git+https://github.com/alan-turing-institute/CleverCSV.git#tag=v$version")
|
||||
checksums=('SKIP')
|
||||
|
||||
prepare() {
|
||||
cd "CleverCSV"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "CleverCSV"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "CleverCSV"
|
||||
local python_version=$(python -c 'import sys; print("".join(map(str, sys.version_info[:2])))')
|
||||
PYTHONPATH="build/lib.linux-x86_64-cpython-${python_version}" pytest
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "CleverCSV"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
mkdir "$pkgdir"/usr/share
|
||||
mv "$pkgdir"/usr/man "$pkgdir"/usr/share/man
|
||||
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$name/
|
||||
}
|
@@ -1,22 +1,56 @@
|
||||
name='python3-deepdiff'
|
||||
version='8.6.1'
|
||||
release='1'
|
||||
desc='Deep Difference and Search of any Python object/data. Recreate objects by adding adding deltas to each other.'
|
||||
desk_ru='Глубокое сравнение и поиск любого Python объекта/данных. Восстановление объектов путем добавления дельт к друг другу.'
|
||||
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='Евгений Храмов <xpamych@yandex.ru>'
|
||||
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
|
||||
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
|
||||
architectures=('all')
|
||||
license=('MIT')
|
||||
provides=('deepdiff')
|
||||
conflicts=('deepdiff' 'python3-deepdiff')
|
||||
|
||||
deps=("python3")
|
||||
deps_arch=("python")
|
||||
deps_alpine=("python3")
|
||||
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_arch=("python" "python-pip" "python3-flit_core")
|
||||
build_deps_alpine=("python3" "py3-pip" "python3-flit_core")
|
||||
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')
|
||||
@@ -32,7 +66,7 @@ package() {
|
||||
}
|
||||
|
||||
files() {
|
||||
echo ./usr/local/bin/deep
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/deepdiff/**/*
|
||||
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/deepdiff-${version}.dist-info/*
|
||||
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"
|
||||
}
|
Reference in New Issue
Block a user