2023-09-11 10:41:03 +00:00

36 lines
961 B
Plaintext

# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-dotmap
_pkgorig=dotmap
pkgver=1.3.30
pkgrel=3
pkgdesc="Dot access dictionary with dynamic hierarchy creation and ordered iteration"
url="https://github.com/drgrib/dotmap"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
checkdepends="py3-pytest-xdist"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/d/dotmap/dotmap-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
check() {
python3 -m unittest
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
8e6d3e4419c3dbd1c0a3209dfc7bcda859bf547ab3fe88471c04a7f4c34219c9ca13b848788e6a24c6d3ece539f9ba0a16600f7941abdbd99c4e6d0badf4af27 py3-dotmap-1.3.30.tar.gz
"