Files
Renee Otten 1fae4deadc py-bqplot: update to 0.12.1, remove py34 subport
- use python.rootname, default PyPI livecheck
- enable tests
- install files in post-destroot
2019-11-20 07:44:51 -05:00

62 lines
2.2 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name py-bqplot
version 0.12.1
revision 0
categories-append graphics math science
platforms darwin
supported_archs noarch
license Apache-2
maintainers {petr @petrrr} openmaintainer
description Interactive plotting for the Jupyter notebook
long_description \
Grammar of Graphics-based interactive plotting framework for the Jupyter \
notebook, based on the interactive Jupyter widgets ipywidgets and and \
d3.js. \
In bqplot, every single attribute of the plot is an interactive widget. \
This allows the user to integrate any plot with IPython widgets to create \
a complex and feature rich GUI from just a few simple lines of Python code.
homepage https://github.com/bloomberg/bqplot
distname ${python.rootname}-${version}
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
checksums rmd160 53309f13420d6c529d0840e0b5a06c69054d5493 \
sha256 52941875157f3e2c98134c867c018a27b6d3525dd1166f3fcd4eede7ef392da1 \
size 2565392
python.versions 27 35 36
if {${name} ne ${subport}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-numpy \
port:py${python.version}-pandas \
port:py${python.version}-ipywidgets \
port:py${python.version}-traitlets \
port:py${python.version}-traittypes
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.md \
LICENSE ${destroot}${docdir}
}
depends_test-append \
port:py${python.version}-mock \
port:py${python.version}-pytest
test.run yes
test.cmd py.test-${python.branch}
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
livecheck.type none
}