<pre style='margin:0'>
Eric A. Borisch (eborisch) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3887016f8aa14cbb822a247505001a86b6fa8c69">https://github.com/macports/macports-ports/commit/3887016f8aa14cbb822a247505001a86b6fa8c69</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 3887016 py-pydicom: Update to 1.1.0; Add +docs.
</span>3887016 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3887016f8aa14cbb822a247505001a86b6fa8c69
</span>Author: Eric A. Borisch <eborisch@macports.org>
AuthorDate: Fri Jul 13 13:32:17 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> py-pydicom: Update to 1.1.0; Add +docs.
</span>---
python/py-pydicom/Portfile | 41 +++++++++++++++++++++++++++++++++++++----
1 file changed, 37 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pydicom/Portfile b/python/py-pydicom/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 688a7f1..a68f0f7 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pydicom/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pydicom/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,9 +3,9 @@
</span> PortSystem 1.0
PortGroup python 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup pydicom pydicom 1.0.2 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup pydicom pydicom 1.1.0 v
</span> name py-pydicom
<span style='display:block; white-space:pre;background:#ffe0e0;'>-python.versions 27 34 35 36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+python.versions 27 34 35 36 37
</span> platforms darwin
license MIT BSD
maintainers {eborisch @eborisch} \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,16 +24,49 @@ long_description pydicom is a pure python package for working with DICOM \
</span> homepage https://pydicom.github.io/pydicom/stable/index.html
checksums \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 c0956d927bf4883cf5d81b72f9b3237dafff2a9e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 fc22f3fdc7825ce86873f843d9e52b6a31109a8ca8400ac84b1246be37e558c4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rmd160 887175a897de8901ea92eb38ecd9cb1abf79f725 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f03726c1768b419b3b4f5845e4b302a8c37f84cf8b32fe84356302fcc89c97cf
</span>
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-numpy
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ variant doc description "Build offline documentation" {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-alabaster \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-matplotlib\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-numpydoc \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-Pillow \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-sphinx \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-sphinx-gallery \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-sphinx-bootstrap-theme \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${python.version}-sphinx_rtd_theme
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace s/sphinx-build/sphinx-build-${python.branch}/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ doc/Makefile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${subport} eq "py27-pydicom"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {s/print(\(.*\), end=.*/print \1,/} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ examples/input_output/plot_read_dicom_directory.py
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-build {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset doc]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath}/doc/ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "env PYTHONPATH='${worksrcpath}/build/lib' make html"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
set DOCDIR ${destroot}${prefix}/share/doc/${subport}
xinstall -d ${DOCDIR}
file copy ${worksrcpath}/LICENSE ${DOCDIR}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset doc]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/doc/release-notes.rst ${DOCDIR}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/doc/_build/html ${DOCDIR}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
if {${subport} eq "py27-pydicom"} {
</pre><pre style='margin:0'>
</pre>