# Contributor: Carlo Landmeter <clandmeter@gmail.com> # Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com> # Contributor: zlg <zlg+adelie@zlg.space> # Maintainer: pkgname=py3-parsedatetime _pkgname=parsedatetime pkgver=2.4 pkgrel=0 pkgdesc="Parse human-readable date/time strings" url="https://github.com/bear/parsedatetime" arch="noarch" options="!check" # flake8, mccabe license="Apache-2.0" depends="python3 py3-future" makedepends="python3-dev" source="$_pkgname-$pkgver.tar.gz::https://github.com/bear/$_pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="0fd8bfa3411476a20d8874b44036bc162735fb7865d39ca98b0a608daec39daac47100314279dbf66229ec333821492744f7505315d955f58216fdaa75cbf046 parsedatetime-2.4.tar.gz"