blob: a59a8bb76a04e947d39c6ea563abc9162d3d4b65 (
plain)
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:
pkgname=py3-iso8601
pkgver=0.1.12
pkgrel=1
pkgdesc="Simple module to parse ISO 8601 dates"
url="https://bitbucket.org/micktwomey/pyiso8601"
arch="all"
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/iso8601-$pkgver"
build() {
python3 setup.py build
}
check() {
py.test-3 --verbose iso8601
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="d64f3a83fd3a678446e17fb35265c0487491a53a2ec306fe2332c59e9e471bfe8580b3280da7ae13664f07f7f29edb0347196351ab698849ccaefb52d6ce6613 iso8601-0.1.12.tar.gz"
|