summaryrefslogtreecommitdiff
path: root/user/py3-iniconfig/APKBUILD
blob: 6f523e4d1b7a46f2dfed80f29240b852e4195d56 (plain) (blame)
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
# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=py3-iniconfig
_pyname=iniconfig
pkgver=1.1.1
pkgrel=0
pkgdesc="brain-dead simple config-ini parsing"
url="https://github.com/RonnyPfannschmidt/iniconfig"
arch="noarch"
license="MIT"
makedepends="py3-py"
source="https://files.pythonhosted.org/packages/source/i/$_pyname/$_pyname-$pkgver.tar.gz"
options="!check" # pytest needed, circular dep
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="c9341db7e3ec2204b6a674fca7824cbeb492e3576d5ac3f084b234c82842b28f2f6acbfdb812e183f4334a95b990551f942a4caf548f5ce7ef14885f931535ee  iniconfig-1.1.1.tar.gz"