mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-10 00:02:41 +02:00
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# Contributor: Alex McGrath <amk@amk.ie>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=py3-deepdiff
|
|
_pkgname=deepdiff
|
|
pkgver=6.6.0
|
|
pkgrel=0
|
|
pkgdesc="Deep Difference and Search of any Python object/data"
|
|
url="https://github.com/seperman/deepdiff"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-ordered-set py3-orjson py3-click"
|
|
makedepends="py3-setuptools"
|
|
# toml/yaml are optional dependencies
|
|
checkdepends="
|
|
py3-dateutil
|
|
py3-jsonpickle
|
|
py3-numpy
|
|
py3-pytest
|
|
py3-toml
|
|
py3-tomli-w
|
|
py3-yaml
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/seperman/deepdiff/archive/refs/tags/$pkgver/deepdiff-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
# needs newer pydantic version
|
|
python3 -m pytest -k 'not test_pydantic1 and not test_pydantic2'
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
136c5ee904bfaa040dd3d9435def5773036f3b4b0bce26a1ad5fe01f24e2cd245164f3953f0980ebc98b9cd4db8c06150bc15897afb351202c31e91bd7b0bbcb deepdiff-6.6.0.tar.gz
|
|
"
|