# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-iniherit
pkgver=0.3.9
pkgrel=8
pkgdesc="ConfigParser subclass with file-specified inheritance"
url="https://github.com/cadithealth/iniherit"
arch="noarch"
license="MIT"
depends="py3-six"
makedepends="python3-dev py3-setuptools"
checkdepends="py3-nose py3-coverage"
options="!check" # broken, recurse until they hit the recursion limit
subpackages="$pkgname-pyc"
source="https://pypi.io/packages/source/i/iniherit/iniherit-$pkgver.tar.gz"
builddir="$srcdir/iniherit-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="097e300c0066e9b035dd28dda87a392102e7f45130471e903e222bdaf209a154f92e08db22f4b6547bdbe25f1e5350e2cec4064b0ed7d86fbed0f0f623946c27  iniherit-0.3.9.tar.gz"
