python-Arrow: add python3 flavor, add missing dependency

This commit is contained in:
Alessio Sergi 2018-05-20 18:17:20 +02:00
parent f5379bf483
commit 74f0204f39
2 changed files with 17 additions and 5 deletions

View file

@ -1,15 +1,26 @@
# Template file for 'python-Arrow'
pkgname=python-Arrow
version=0.10.0
revision=2
noarch=y
wrksrc="arrow-$version"
revision=3
noarch=yes
wrksrc="arrow-${version}"
build_style=python-module
pycompile_module="arrow"
hostmakedepends="python python-setuptools"
short_desc="Better dates & times for Python"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-dateutil"
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="$homepage/archive/$version.tar.gz"
checksum=4ed4f6c86e9d3e75a1f77af13d6f5a08f6891ab5c815b20f1f7b7c88ffcad118
python3-Arrow_package() {
noarch=yes
pycompile_module="arrow"
depends="python3-dateutil"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

1
srcpkgs/python3-Arrow Symbolic link
View file

@ -0,0 +1 @@
python-Arrow