mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 09:22:57 +02:00
python-Arrow: add python3 flavor, add missing dependency
This commit is contained in:
parent
f5379bf483
commit
74f0204f39
2 changed files with 17 additions and 5 deletions
|
@ -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
1
srcpkgs/python3-Arrow
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-Arrow
|
Loading…
Add table
Reference in a new issue