[118342] trunk/dports/python/py-emcee/Portfile
aronnax at macports.org
aronnax at macports.org
Mon Mar 31 09:54:51 PDT 2014
Revision: 118342
https://trac.macports.org/changeset/118342
Author: aronnax at macports.org
Date: 2014-03-31 09:54:51 -0700 (Mon, 31 Mar 2014)
Log Message:
-----------
py-emcee: update to 2.0.0
Modified Paths:
--------------
trunk/dports/python/py-emcee/Portfile
Modified: trunk/dports/python/py-emcee/Portfile
===================================================================
--- trunk/dports/python/py-emcee/Portfile 2014-03-31 16:45:31 UTC (rev 118341)
+++ trunk/dports/python/py-emcee/Portfile 2014-03-31 16:54:51 UTC (rev 118342)
@@ -2,12 +2,11 @@
# $Id$
PortSystem 1.0
-PortGroup github 1.0
PortGroup python 1.0
-github.setup dfm emcee 1.2.0 v
-
-name py-${name}
+set realname emcee
+name py-${realname}
+version 2.0.0
maintainers aronnax openmaintainer
categories-append science math
@@ -17,20 +16,25 @@
Monte Carlo (MCMC) proposed by Goodman & Weare (2010). The \
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 http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}/
+distname ${realname}-${version}
platforms darwin
supported_archs noarch
-license GPL-2
+license MIT
-homepage http://dan.iel.fm/emcee/
+checksums md5 25e064393b5be44c5ccdf5522c69a70a \
+ rmd160 8c66e4e8bf2b5ad500f3f946f8bea2f0c1ab0bb6 \
+ sha256 75edb32374afab669877846bd57fc1990a1f48958614b3d349362a2e7110b429
-checksums rmd160 8398b73273cc20dc24ccb15621e55165b52347f2 \
- sha256 cfe75d2a82fe664981db331f0367ce60f1a33eed2bfdd5e8dbf98054d6e6fcf0
-
python.versions 26 27 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_build-append \
port:py${python.version}-setuptools
@@ -39,5 +43,4 @@
port:py${python.version}-numpy
livecheck.type none
-
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140331/d8489b3b/attachment.html>
More information about the macports-changes
mailing list