diff --git a/python3-deepdiff/alr.sh b/python3-deepdiff/alr.sh index 88d9208..b1e1b79 100644 --- a/python3-deepdiff/alr.sh +++ b/python3-deepdiff/alr.sh @@ -1,6 +1,6 @@ name='python3-deepdiff' version='8.6.1' -release='2' +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' @@ -23,23 +23,27 @@ deps_alpine=('python3') build_deps=( 'python3' - 'python3-pip' - 'python3-flit_core' + 'python3-build' + 'python3-installer' + 'python3-flit-core' ) build_deps_alt=( 'python3' - 'python3-module-pip' + 'python3-module-build' + 'python3-module-installer' 'python3-module-flit_core' ) build_deps_arch=( 'python' - 'python-pip' + 'python-build' + 'python-installer' 'python-flit_core' ) build_deps_debian=( 'python3' - 'python3-pip' + 'python3-build' + 'python3-installer' 'python3-flit-core' ) build_deps_fedora=("${build_deps[@]}") @@ -48,12 +52,13 @@ build_deps_rhel=("${build_deps[@]}") build_deps_rosa=("${build_deps[@]}") build_deps_alpine=( 'python3' - 'py3-pip' - 'python3-flit_core' + 'py3-build' + 'py3-installer' + 'py3-flit-core' ) sources=("https://files.pythonhosted.org/packages/source/d/deepdiff/deepdiff-$version.tar.gz") -checksums=('blake2b-256:0a0f9cd2624f7dcd755cbf1fa21fb7234541f19a1be96a56f387ec9053ebe220') +checksums=('blake2b-256:197636c9aab3d5c19a94091f7c6c6e784efca50d87b124bf026c36e94719f33c') build() { cd "$srcdir/deepdiff-${version}" @@ -62,11 +67,10 @@ build() { package() { cd "$srcdir/deepdiff-${version}" - pip install --root="${pkgdir}/" . --ignore-installed --no-deps --disable-pip-version-check + python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl } 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" + files-find-bin + files-find-lib } \ No newline at end of file