28 lines
798 B
Bash
28 lines
798 B
Bash
# Template file for 'python-Arrow'
|
|
pkgname=python-Arrow
|
|
reverts=0.13.1_1
|
|
version=0.15.2
|
|
revision=2
|
|
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="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/crsmithdev/arrow"
|
|
distfiles="${PYPI_SITE}/a/arrow/arrow-${version}.tar.gz"
|
|
checksum=10257c5daba1a88db34afa284823382f4963feca7733b9107956bed041aff24f
|
|
|
|
python3-Arrow_package() {
|
|
archs=noarch
|
|
pycompile_module="arrow"
|
|
depends="python3-dateutil"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|