diff options
Diffstat (limited to 'user/py3-parsedatetime/APKBUILD')
-rw-r--r-- | user/py3-parsedatetime/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/user/py3-parsedatetime/APKBUILD b/user/py3-parsedatetime/APKBUILD new file mode 100644 index 000000000..945b5ed8a --- /dev/null +++ b/user/py3-parsedatetime/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Contributor: Roberto Oliveira <robertoguimaraes8@gmail.com> +# Maintainer: zlg <zlg+adelie@zlg.space> +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" +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" |