mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
32 lines
961 B
Text
32 lines
961 B
Text
# Contributor: Alex McGrath <amk@amk.ie>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=py3-deepdiff
|
|
_pkgname=deepdiff
|
|
pkgver=6.2.3
|
|
pkgrel=0
|
|
pkgdesc="Deep Difference and Search of any Python object/data"
|
|
url="https://github.com/seperman/deepdiff"
|
|
arch="noarch !s390x" # blocked by py3-orjson
|
|
license="MIT"
|
|
depends="python3 py3-ordered-set py3-orjson py3-click"
|
|
makedepends="py3-setuptools"
|
|
# toml/yaml are optional dependencies
|
|
checkdepends="py3-pytest py3-numpy py3-toml py3-yaml py3-dateutil py3-jsonpickle"
|
|
source="https://github.com/seperman/deepdiff/archive/refs/tags/$pkgver/deepdiff-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
28f2ac8829e678803e34c99167a1d5d517fa20c192f254b3a77ae4849427d0c2c369917d3360a964a2e00971d4ff3b4131e2072a9a70a574b0b6abbdf36d1767 deepdiff-6.2.3.tar.gz
|
|
"
|