27 lines
771 B
Bash
27 lines
771 B
Bash
# Template file for 'python-Arrow'
|
|
pkgname=python-Arrow
|
|
version=0.13.0
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/crsmithdev/arrow"
|
|
distfiles="${PYPI_SITE}/a/arrow/arrow-${version}.tar.gz"
|
|
checksum=9cb4a910256ed536751cd5728673bfb53e6f0026e240466f90c2a92c0b79c895
|
|
|
|
python3-Arrow_package() {
|
|
noarch=yes
|
|
pycompile_module="arrow"
|
|
depends="python3-dateutil"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|