[126835] trunk/dports/python/py-html2text/Portfile

khindenburg at macports.org khindenburg at macports.org
Wed Oct 15 18:53:15 PDT 2014


Revision: 126835
          https://trac.macports.org/changeset/126835
Author:   khindenburg at macports.org
Date:     2014-10-15 18:53:15 -0700 (Wed, 15 Oct 2014)
Log Message:
-----------
py-html2text: aaronsw branch is no longer updated; switch to pypi #45231

Modified Paths:
--------------
    trunk/dports/python/py-html2text/Portfile

Modified: trunk/dports/python/py-html2text/Portfile
===================================================================
--- trunk/dports/python/py-html2text/Portfile	2014-10-16 01:41:51 UTC (rev 126834)
+++ trunk/dports/python/py-html2text/Portfile	2014-10-16 01:53:15 UTC (rev 126835)
@@ -4,12 +4,12 @@
 PortSystem          1.0
 PortGroup           python 1.0
 PortGroup           select 1.0
-PortGroup           github 1.0
 
-github.setup        aaronsw html2text 8ddc844b0304
-name                py-html2text
-version             3.200.4
 
+set realname        html2text
+name                py-${realname}
+version             2014.9.25
+
 categories-append   textproc
 platforms           darwin
 license             GPL-3+
@@ -21,13 +21,21 @@
                     easy-to-read plain ASCII text. Better yet, that ASCII also happens to \
                     be valid Markdown (a text-to-HTML format).
 
-checksums           rmd160  f13d328001f499eecb075112220f1bdf0e723755 \
-                    sha256  c3ead259341fd9b28f425fbc1a5a115d0e19e002cd09152a038bec38f0420e32
+homepage            http://pypi.python.org/pypi/${realname}
+master_sites        http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}/
+distname            ${realname}-${version}
 
+checksums           rmd160  b6acc488ae04018fd7d1356d458722ec97e6fe34 \
+                    sha256  a3bbabcb1726b3177e9d476a27cb6b47e31aa1e5eafb5f7fbbf5bd77c877450b
+
 python.versions     26 27 31 32 33
 
-if {${name} ne ${subport}} {
+if {${name} eq ${subport}} {
+    livecheck.type  regex
+    livecheck.regex [format "%s-%s" ${realname} {(\d+(\.\d+)*)}]
+    livecheck.url   http://pypi.python.org/pypi/${realname}/
 
+} else {
     depends_lib-append  port:py${python.version}-setuptools
 
     depends_run-append  port:py-html2text_select
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141015/18122312/attachment.html>


More information about the macports-changes mailing list