aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-iso8601/APKBUILD
blob: e157e38cd2eb9b885e0cf5b808d9e4285529465a (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.13
pkgrel=1
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="0a16e2699ba3f33cec57acdd2be70c64d0e2655f08d30581f56997992945b700e6bfb14164f1f422e073eefeaefab4377a56ec6b3800156347e1568172c32737  iso8601-0.1.13.tar.gz"