<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b8fd5219c37a137a48493a3679865ddd753c3960">https://github.com/macports/macports-ports/commit/b8fd5219c37a137a48493a3679865ddd753c3960</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b8fd5219c37a137a48493a3679865ddd753c3960
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Thu Oct 31 08:23:32 2019 -0400

<span style='display:block; white-space:pre;color:#404040;'>    py-urlwatch: update to 2.17 (to 1.18 for PY27)
</span>---
 python/py-urlwatch/Portfile | 63 +++++++++++++++++++++++++++++++++------------
 1 file changed, 46 insertions(+), 17 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-urlwatch/Portfile b/python/py-urlwatch/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 941acc3..4828658 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-urlwatch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-urlwatch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,10 +4,12 @@ PortSystem          1.0
</span> PortGroup           python 1.0
 
 name                py-urlwatch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             1.17
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license             BSD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             2.17
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> platforms           darwin
 supported_archs     noarch
<span style='display:block; white-space:pre;background:#e0ffe0;'>+license             BSD
</span> maintainers         nomaintainer
 
 description         a tool for monitoring webpages for updates
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,27 +21,54 @@ long_description     \
</span>     etc.
 
 homepage            https://thp.io/2008/urlwatch/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites        ${homepage}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
</span> distname            urlwatch-${version}
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           md5     fb15ca7d3723e3a385ee149d9b19c262 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    rmd160  2630fefb7d1e50f49f3833ce4448f29f4ed458c6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  006f04c124cf3dace3d071921e5ed452f6fbd463495bc8aa7879b915407c88f6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type      regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url       ${homepage}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex     "urlwatch-(\\d+(?:\\.\\d+)*)"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  10fb8516a09b1f00299558aa743ce2ad18210403 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  08f51c7ffe7489c0be7a6c54855e074da65131714e4b6c622e4cfb107ef7ea78 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    44178
</span> 
<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 35 36 37 38
</span> 
 if {${name} ne ${subport}} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    depends_build-append  port:py${python.version}-setuptools
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${python.version} eq 27} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        version     1.18
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        revision    0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        distname    urlwatch-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        checksums   rmd160  825cfef05c8721844687b46cbd812ccfa648d0fe \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  6b17411b6658f3aeb5839d1b32458f020ce40ee1e62a3d40387a2622fa731824 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    14987
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    pre-configure {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        if { ${python.version} >= 30 } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            # convert to python3 using versioned 2to3-3.x as installed by python3x
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            reinplace "s|^2to3|${prefix}/bin/2to3-${python.branch}|" ${worksrcpath}/convert-to-python3.sh
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-            system "cd ${worksrcpath} && ${worksrcpath}/convert-to-python3.sh"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-futures \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-keyring
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-appdirs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-codestyle \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-cssselect \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-keyring \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-lxml \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-minidb \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-requests \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-setuptools \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-yaml
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    port:py${python.version}-nose
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        test.run    yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        test.cmd    nosetests-${python.branch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        test.target
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        test.env    PYTHONPATH=${worksrcpath}/build/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            set docdir ${prefix}/share/doc/${subport}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            xinstall -d ${destroot}${docdir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            xinstall -m 0644 -W ${worksrcpath} README.md COPYING \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+               CHANGELOG.md ${destroot}${docdir}
</span>         }
     }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    livecheck.type  none
</span> }
</pre><pre style='margin:0'>

</pre>