deepdiff 8.4.0
This commit is contained in:
parent
34b4f08dc2
commit
aea7902fea
38
deepdiff/alr.sh
Normal file
38
deepdiff/alr.sh
Normal file
@ -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='Евгений Храмов <xpamych@yandex.ru>'
|
||||
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/*
|
||||
}
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user