[148882] trunk/dports/python/py-flask-mail/Portfile

aronnax at macports.org aronnax at macports.org
Sat May 21 08:25:29 PDT 2016


Revision: 148882
          https://trac.macports.org/changeset/148882
Author:   aronnax at macports.org
Date:     2016-05-21 08:25:29 -0700 (Sat, 21 May 2016)
Log Message:
-----------
py-flask-mail: switch git GitHub portgroup to fix livecheck

Modified Paths:
--------------
    trunk/dports/python/py-flask-mail/Portfile

Modified: trunk/dports/python/py-flask-mail/Portfile
===================================================================
--- trunk/dports/python/py-flask-mail/Portfile	2016-05-21 15:17:45 UTC (rev 148881)
+++ trunk/dports/python/py-flask-mail/Portfile	2016-05-21 15:25:29 UTC (rev 148882)
@@ -3,10 +3,12 @@
 
 PortSystem          1.0
 PortGroup           python 1.0
+PortGroup           github 1.0
 
+github.setup        mattupstate flask-mail 0.9.1
 name                py-flask-mail
-set real_name       Flask-Mail
 version             0.9.1
+revision            1
 python.versions     27 34
 categories-append   www
 maintainers         aronnax openmaintainer
@@ -17,17 +19,11 @@
 license             BSD
 platforms           darwin
 homepage            http://pythonhosted.org/Flask-Mail/
-master_sites        http://pypi.python.org/packages/source/[string index ${real_name} 0]/${real_name}/
-distname            ${real_name}-${version}
-checksums           md5     04b35a42a44ec7aa724ec8ce55e2e08e \
-                    rmd160  1408261d04ec35861350fafe53dae4d862ddc10d \
+
+checksums           rmd160  1408261d04ec35861350fafe53dae4d862ddc10d \
                     sha256  22e5eb9a940bf407bcf30410ecc3708f3c56cc44b29c34e1726fe85006935f41
 
-if {${name} eq ${subport}} {
-    livecheck.url           ${master_sites}
-    livecheck.type          regex
-    livecheck.regex         [format "%s-%s" ${real_name} {(\d+(?:\.\d+)*)}]
-} else {
+if {${name} ne ${subport}} {
     depends_build-append    port:py${python.version}-setuptools \
                             port:py${python.version}-sphinx
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160521/7aa35d45/attachment.html>


More information about the macports-changes mailing list