# Compiling Time: 0.05 SBU
# Maintainer: Melko <melko@frugalware.org>

pkgname=python3-durationpy
pkgver=0.10
pkgrel=1
pkgdesc="Module for converting between datetime.timedelta and Go's time.Duration strings"
depends=("python3")
makedepends=("python3-build" "python3-installer" "python3-wheel" "python3-setuptools")
groups=('devel-extra')
archs=('x86_64')
_F_pypi_name="durationpy"
_F_python_version="python3"
Finclude pypi
sha1sums=('3432bbd13e042957838283198be8e3254891a1d3')

build() {
	Fcd
	Fexec python3 -m build --wheel --no-isolation || Fdie
  	Fexec python3 -m installer --destdir="$Fdestdir" dist/*.whl || Fdie
}

# optimization OK
