From 4083252c1e4f784f9929c7aacd083594e7be2d4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Sun, 21 Sep 2025 19:55:44 +0300 Subject: [PATCH] python3-deepdiff 8.6.1-2 --- python3-clevercsv/alr.sh | 68 ---------------------------------------- python3-deepdiff/alr.sh | 60 +++++++++++++++++++++++++++-------- 2 files changed, 47 insertions(+), 81 deletions(-) delete mode 100644 python3-clevercsv/alr.sh diff --git a/python3-clevercsv/alr.sh b/python3-clevercsv/alr.sh deleted file mode 100644 index cdfd757..0000000 --- a/python3-clevercsv/alr.sh +++ /dev/null @@ -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/ -} diff --git a/python3-deepdiff/alr.sh b/python3-deepdiff/alr.sh index cf935e7..88d9208 100644 --- a/python3-deepdiff/alr.sh +++ b/python3-deepdiff/alr.sh @@ -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='Евгений Храмов ' +maintainer='Evgeny Khramov ' +maintainer_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" } \ No newline at end of file