aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-dotmap/APKBUILD
blob: 787b3e927ddb4086dd6c7e596cd2cb2ed41d0a20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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=0
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-setuptools"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/d/dotmap/dotmap-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
8e6d3e4419c3dbd1c0a3209dfc7bcda859bf547ab3fe88471c04a7f4c34219c9ca13b848788e6a24c6d3ece539f9ba0a16600f7941abdbd99c4e6d0badf4af27  py3-dotmap-1.3.30.tar.gz
"