New package: python-plotly-2.2.0

Closes #9040.
This commit is contained in:
pulux 2017-11-09 19:06:31 +01:00 committed by Enno Boland
parent 27cb442aaf
commit bc44551e21
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,37 @@
# Template file for 'python-plotly'
pkgname=python-plotly
version=2.2.0
revision=1
noarch=yes
#wrksrc="${pkgname#*-}-${version}"
wrksrc="plotly.py-${version}"
build_style=python-module
pycompile_module="plotly"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools python-six python-requests python-pytz python-decorator python-jupyter_nbformat"
short_desc="Python2 plotting library for collaborative, interactive graphs"
maintainer="pulux <pulux@pf4sh.de>"
license="MIT"
homepage="https://plot.ly/python/"
#odistfiles="${PYPI_SITE}/p/plotly/plotly-${version}.tar.gz"
#checksum=aee7044a5c70989940d24bbbb12469b2ab2dbf41b9dff652052327fe1168b3cc
#pypi has no LICENSE.txt
distfiles="https://github.com/plotly/plotly.py/archive/v${version}.tar.gz"
checksum=dad2a49fe355dddb6ae159e96c10ac22413a33cbac513b4dbf3791e63ec33c1f
post_install() {
vlicense LICENSE.txt
}
python3-plotly_package() {
noarch=yes
pycompile_module="plotly"
depends="python3-setuptools python3-six python3-requests python3-pytz python3-decorator python3-jupyter_nbformat"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}

1
srcpkgs/python3-plotly Symbolic link
View File

@ -0,0 +1 @@
python-plotly