From aea7902feaea410e055ca42ae3dcac95fbcf757b 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, 16 Mar 2025 12:25:30 +0300 Subject: [PATCH] deepdiff 8.4.0 --- deepdiff/alr.sh | 38 +++++++++++++++++++++++++++++ python3-deepdiff/alr.sh | 53 ----------------------------------------- 2 files changed, 38 insertions(+), 53 deletions(-) create mode 100644 deepdiff/alr.sh delete mode 100644 python3-deepdiff/alr.sh diff --git a/deepdiff/alr.sh b/deepdiff/alr.sh new file mode 100644 index 0000000..6641ef8 --- /dev/null +++ b/deepdiff/alr.sh @@ -0,0 +1,38 @@ +name='deepdiff' +version='8.4.0' +release='1' +desc='Deep Difference and Search of any Python object/data. Recreate objects by adding adding deltas to each other.' +desk_ru='Глубокое сравнение и поиск любого Python объекта/данных. Восстановление объектов путем добавления дельт к друг другу.' +homepage='https://github.com/seperman/deepdiff' +maintainer='Евгений Храмов ' +architectures=('all') +license=('MIT') +provides=('deepdiff') +conflicts=('deepdiff' 'python3-deepdiff') + +deps=("python3") +deps_arch=("python") +deps_alpine=("python3") + +build_deps=("python3" "python3-pip") +build_deps_arch=("python" "python-pip") +build_deps_alpine=("python3" "py3-pip") + +sources=("https://files.pythonhosted.org/packages/source/d/deepdiff/deepdiff-8.4.0.tar.gz") +checksums=('blake2b-256:a1f1f448ddeedbbc5f5bb1f6d9e4d7d2d6a1454252b0cba0c2bf317881427f09') + +build() { + cd "$srcdir/deepdiff-${version}" + python3 -m build +} + +package() { + cd "$srcdir/deepdiff-${version}" + pip install --root="${pkgdir}/" . --ignore-installed --no-deps --disable-pip-version-check +} + +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/* +} \ No newline at end of file diff --git a/python3-deepdiff/alr.sh b/python3-deepdiff/alr.sh deleted file mode 100644 index d250e26..0000000 --- a/python3-deepdiff/alr.sh +++ /dev/null @@ -1,53 +0,0 @@ -name='python3-deepdiff' -version='8.1.1' -release='1' -desc='Deep Difference and Search of any Python object/data.' -homepage='https://github.com/seperman/deepdiff' -license=('MIT') -architectures=('all') -provides=('deepdiff') -conflicts=('deepdiff') - -deps=( - 'python3-ordered-set' -) - -opt_deps=( - 'python3-click: for cli' - 'python3-tomli-w: for cli' - 'python3-yaml: for YAML support' - 'python3-clevercsv: for more robust CSV parsing' - 'python3-orjson: for speed and memory optimized parsing' -) -build_deps=( - 'python3-setuptools' - 'python3-pytest' - 'python3-clevercsv' - 'python3-click' - 'python3-dateutil' - 'python3-jsonpickle' - 'python3-numpy' - 'python3-tomli-w' - 'python3-yaml' - 'python3-orjson' - 'python3-pydantic' -) - -sources=("https://github.com/seperman/deepdiff/archive/$version/$name-$version.tar.gz") -checksums=('SKIP') - -build() { - cd "deepdiff-$version" - python setup.py build -} - -check() { - cd "deepdiff-$version" - pytest tests -} - -package() { - cd "deepdiff-$version" - python setup.py install --root="$pkgdir" --optimize=1 - install-license LICENSE ./deepdiff/LICENSE -}