[153239] trunk/dports/python/py-emcee/Portfile

aronnax at macports.org aronnax at macports.org
Tue Sep 27 12:57:15 PDT 2016


Revision: 153239
          https://trac.macports.org/changeset/153239
Author:   aronnax at macports.org
Date:     2016-09-27 12:57:15 -0700 (Tue, 27 Sep 2016)
Log Message:
-----------
py-emcee: update to 2.2.1

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

Modified: trunk/dports/python/py-emcee/Portfile
===================================================================
--- trunk/dports/python/py-emcee/Portfile	2016-09-27 18:40:03 UTC (rev 153238)
+++ trunk/dports/python/py-emcee/Portfile	2016-09-27 19:57:15 UTC (rev 153239)
@@ -3,10 +3,12 @@
 
 PortSystem          1.0
 PortGroup           python 1.0
+PortGroup           github 1.0
 
 set realname        emcee
+github.setup        dfm ${realname} 2.2.1 v
 name                py-${realname}
-version             2.1.0
+
 maintainers         aronnax openmaintainer
 
 categories-append   science math
@@ -17,24 +19,18 @@
                     code is open source and has already been used in several \
                     published projects in the astrophysics literature.
 homepage            http://dan.iel.fm/emcee/
-master_sites        pypi:[string index ${realname} 0]/${realname}/
 distname            ${realname}-${version}
 
 platforms           darwin
 supported_archs     noarch
 license             MIT
 
-checksums           md5     c6b6fad05c824d40671d4a4fc58dfff7 \
-                    rmd160  2d141fc5cf7f1ab983d9faa97b714909bc133d5a \
-                    sha256  5ce1039a3d78fb9e7d53fcd768517585c5998193743bfcfaac407927d375ca63
+checksums           rmd160  9d877a80ce5a19b8c442d225a27a57fe548a14f0 \
+                    sha256  afb252b304051ca7a936e81adfa69c92b37fdafd8d3be95e920059f08dcf2d00
 
 python.versions     27 34
 
-if {${name} eq ${subport}} {
-    livecheck.type  regex
-    livecheck.regex [format "%s-%s" ${realname} {(\d+(\.\d+)*)}]
-    livecheck.url   http://pypi.python.org/pypi/${realname}/
-} else {
+if {${name} ne ${subport}} {
     depends_build-append \
                     port:py${python.version}-setuptools
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160927/ec73eaea/attachment.html>


More information about the macports-changes mailing list