Commits
Renee Otten authored b5be6008551
1 1 | # -*- 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 |
2 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup python 1.0 |
5 5 | |
6 - | set _name mpld3 |
7 - | set _n [string index ${_name} 0] |
8 - | |
9 - | name py-${_name} |
6 + | name py-mpld3 |
10 7 | version 0.3 |
8 + | revision 0 |
9 + | |
11 10 | categories-append graphics www |
12 11 | platforms darwin |
13 12 | supported_archs noarch |
14 13 | license BSD |
15 - | |
16 14 | maintainers {petr @petrrr} openmaintainer |
17 15 | |
18 16 | description MPLD3 offer an interactive, D3-based viewer for Matplotlib |
19 17 | long_description \ |
20 18 | The MPLD3 packages is an interactive D3js-based viewer which brings \ |
21 19 | matplotlib graphics to the browser. It provides a custom stand-alone \ |
22 20 | javascript library built on D3, which parses JSON representations of \ |
23 21 | plots. a set of routines parses matplotlib plots and outputs the JSON \ |
24 22 | description readable by mpld3.js. |
25 23 | |
26 - | homepage http://mpld3.github.io/index.html |
27 - | |
28 - | distname ${_name}-${version} |
29 - | master_sites pypi:${_n}/${_name}/ |
24 + | homepage https://mpld3.github.io |
25 + | master_sites pypi:[string index ${python.rootname} 0]/${python.rootname} |
26 + | distname ${python.rootname}-${version} |
30 27 | |
31 - | checksums md5 088251ed3182b2932268f9986cdc2778 \ |
32 - | rmd160 5b8da7efdc7c19cc7698f15f9a46897a384a3c03 \ |
33 - | sha256 4d455884a211bf99b37ecc760759435c7bb6a5955de47d8daf4967e301878ab7 |
28 + | checksums rmd160 5b8da7efdc7c19cc7698f15f9a46897a384a3c03 \ |
29 + | sha256 4d455884a211bf99b37ecc760759435c7bb6a5955de47d8daf4967e301878ab7 \ |
30 + | size 788549 |
34 31 | |
35 - | python.versions 27 34 35 36 37 |
32 + | python.versions 27 35 36 37 |
36 33 | |
37 34 | if {${name} ne ${subport}} { |
38 35 | depends_build-append port:py${python.version}-setuptools |
39 36 | |
40 37 | depends_lib-append port:py${python.version}-jinja2 \ |
41 38 | port:py${python.version}-matplotlib |
42 39 | |
43 40 | livecheck.type none |
44 - | } else { |
45 - | livecheck.type regex |
46 - | livecheck.url https://pypi.python.org/pypi/${_name}/json |
47 - | livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\"" |
48 41 | } |