void-packages/srcpkgs/python-Arrow/template

27 lines
775 B
Bash

# Template file for 'python-Arrow'
pkgname=python-Arrow
version=0.13.1
revision=1
archs=noarch
wrksrc="arrow-${version}"
build_style=python-module
pycompile_module="arrow"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-dateutil python-backports.functools_lru_cache"
short_desc="Better dates & times for Python (Python2)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/crsmithdev/arrow"
distfiles="${PYPI_SITE}/a/arrow/arrow-${version}.tar.gz"
checksum=6f54d9f016c0b7811fac9fb8c2c7fa7421d80c54dbdd75ffb12913c55db60b8a
python3-Arrow_package() {
archs=noarch
pycompile_module="arrow"
depends="python3-dateutil"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}