[141881] trunk/dports/python

petr at macports.org petr at macports.org
Sat Dec 12 03:24:17 PST 2015


Revision: 141881
          https://trac.macports.org/changeset/141881
Author:   petr at macports.org
Date:     2015-10-30 08:54:26 -0700 (Fri, 30 Oct 2015)
Log Message:
-----------
py-mpld3: new port

Added Paths:
-----------
    trunk/dports/python/py-mpld3/
    trunk/dports/python/py-mpld3/Portfile

Added: trunk/dports/python/py-mpld3/Portfile
===================================================================
--- trunk/dports/python/py-mpld3/Portfile	                        (rev 0)
+++ trunk/dports/python/py-mpld3/Portfile	2015-10-30 15:54:26 UTC (rev 141881)
@@ -0,0 +1,49 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+PortGroup           python 1.0
+
+set _name           mpld3
+set _n              [string index ${_name} 0]
+
+name                py-${_name}
+version             0.2
+categories-append   graphics www
+platforms           darwin
+supported_archs     noarch
+license             BSD
+
+maintainers         petr openmaintainer
+
+description         MPLD3 offer an interactive, D3-based viewer for Matplotlib
+long_description    \
+    The MPLD3 packages is an interactive D3js-based viewer which brings \
+    matplotlib graphics to the browser. It provides a custom stand-alone \
+    javascript library built on D3, which parses JSON representations of \
+    plots. a set of routines parses matplotlib plots and outputs the JSON \
+    description readable by mpld3.js.
+
+homepage            http://mpld3.github.io/index.html
+
+distname            ${_name}-${version}
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+
+checksums           md5     266f4e51a094f8ff1aaf7e2018f763b4 \
+                    rmd160  cdee79e5df727a5948721f56bcfa37536877acb7 \
+                    sha256  6388fec56a683991b8f4b7ddb8b7c8c06cddb25491a0b503eef9a028ac16fa78
+
+python.versions     27 34 35
+
+if {${name} ne ${subport}} {
+    depends_build-append    port:py${python.version}-setuptools
+
+    depends_lib-append      port:py${python.version}-jinja2 \
+                            port:py${python.version}-matplotlib 
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   https://pypi.python.org/pypi/${_name}/json
+    livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
+}


Property changes on: trunk/dports/python/py-mpld3/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/858c48c8/attachment.html>


More information about the macports-changes mailing list