void-packages/srcpkgs/python-Arrow/template

27 lines
774 B
Bash

# Template file for 'python-Arrow'
pkgname=python-Arrow
version=0.12.1
revision=1
noarch=yes
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="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="https://github.com/crsmithdev/arrow"
distfiles="${PYPI_SITE}/a/arrow/arrow-${version}.tar.gz"
checksum=a558d3b7b6ce7ffc74206a86c147052de23d3d4ef0e17c210dd478c53575c4cd
python3-Arrow_package() {
noarch=yes
pycompile_module="arrow"
depends="python3-dateutil"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}