summaryrefslogtreecommitdiff
path: root/user/py3-iniconfig/APKBUILD
blob: 773284ec6be8a5fb53a3be8821c2355c80ded95f (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
29
30
31
32
# 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="Simple INI configuration parsing for Python"
url="https://github.com/RonnyPfannschmidt/iniconfig"
arch="noarch"
options="!check"  # Requires PyTest, which requires iniconfig.
license="MIT"
depends="python3"
makedepends="py3-py"
source="https://files.pythonhosted.org/packages/source/i/$_pyname/$_pyname-$pkgver.tar.gz
	version.patch
	"
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
bcc29e3ab250a8b9aaa496b2bb8f52a03f56faf8a73268c388959ee1090cd5fc86f11b5c6c339f1b9b9c9697984f3a956425b9d392507b69ec0e4aa543e97a92  version.patch"