# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-configparser
_pkgname=configparser
pkgver=3.7.4
pkgrel=0
pkgdesc="This library brings the updated configparser from Python 3.5 to Python 2.6-3.5"
url="https://docs.python.org/3/library/configparser.html"
arch="noarch"
license="MIT"
makedepends="python3-dev py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="205a7bc921ccfb3df5a25afaf2f5ab78d3a5a92bfd2c9c78098e8d009c1fe8d431b8bf09d2da44f7ebf172e912121619dc7bbfadc74f355133f8d32bc42a8b00  configparser-3.7.4.tar.gz"

