aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-iso8601/APKBUILD
blob: beec12d79d4ad0cbe74a6c5cd91a229164f6fe52 (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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-iso8601
_pyname=iso8601
pkgver=0.1.14
pkgrel=0
pkgdesc="Simple module to parse ISO 8601 dates"
url="https://github.com/micktwomey/pyiso8601"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/i/iso8601/iso8601-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest --verbose iso8601
}

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

sha512sums="a461eb6cd011fed1ebec583b80ecf85b542c80dbdb4ad0213131febe0b58567bc0852283443c87923662b85e125ab66642b876b16ddfc3698445dd80e67e0720  iso8601-0.1.14.tar.gz"