25 lines
730 B
Bash
25 lines
730 B
Bash
# Template file for 'python-Arrow'
|
|
pkgname=python-Arrow
|
|
version=0.15.5
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="arrow-${version}"
|
|
build_style=python-module
|
|
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=5390e464e2c5f76971b60ffa7ee29c598c7501a294bc9f5e6dadcb251a5d027b
|
|
|
|
python3-Arrow_package() {
|
|
archs=noarch
|
|
depends="python3-dateutil"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|