aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-isodate/APKBUILD
blob: 0192d3cfc5225903921c75156db2e8c1d30f576a (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
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=py3-isodate
_pyname=isodate
pkgver=0.6.0
pkgrel=0
pkgdesc="An ISO 8601 date/time/duration parser and formatter"
url="http://pypi.python.org/pypi/isodate"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="e977748e13ee2c94ab47bfc47113d152280e9acff6f70e773de73717392148dd2c111a7db2d9fa3679d37936c6ed9a23dc526cb00bd601df45459b6a244f9f7d  isodate-0.6.0.tar.gz"