mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02: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'
|
# Template file for 'python-Arrow'
|
||||||
pkgname=python-Arrow
|
pkgname=python-Arrow
|
||||||
version=0.10.0
|
version=0.10.0
|
||||||
revision=2
|
revision=3
|
||||||
noarch=y
|
noarch=yes
|
||||||
wrksrc="arrow-$version"
|
wrksrc="arrow-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="arrow"
|
pycompile_module="arrow"
|
||||||
hostmakedepends="python python-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
short_desc="Better dates & times for Python"
|
depends="python-dateutil"
|
||||||
|
short_desc="Better dates & times for Python (Python2)"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://github.com/crsmithdev/arrow"
|
homepage="https://github.com/crsmithdev/arrow"
|
||||||
distfiles="$homepage/archive/$version.tar.gz"
|
distfiles="$homepage/archive/$version.tar.gz"
|
||||||
checksum=4ed4f6c86e9d3e75a1f77af13d6f5a08f6891ab5c815b20f1f7b7c88ffcad118
|
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