[115956] trunk/dports/python/py-rpy2/Portfile

stromnov at macports.org stromnov at macports.org
Wed Jan 15 06:05:20 PST 2014


Revision: 115956
          https://trac.macports.org/changeset/115956
Author:   stromnov at macports.org
Date:     2014-01-15 06:05:19 -0800 (Wed, 15 Jan 2014)
Log Message:
-----------
py-rpy2: reformat Portfile

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

Modified: trunk/dports/python/py-rpy2/Portfile
===================================================================
--- trunk/dports/python/py-rpy2/Portfile	2014-01-15 14:02:02 UTC (rev 115955)
+++ trunk/dports/python/py-rpy2/Portfile	2014-01-15 14:05:19 UTC (rev 115956)
@@ -1,15 +1,20 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
 PortGroup           python 1.0
 
 name                py-rpy2
 version             2.2.1
+revision            0
 categories-append   science
+platforms           darwin
 license             {MPL-1.1 LGPL-2.1+}
-platforms           darwin
+
+python.versions     25 26 27
+
 maintainers         stromnov openmaintainer
+
 description         A simple and efficient access to R from Python
 long_description    rpy2 is a redesign and rewrite of rpy. It is providing a \
                     low-level interface to R, a proposed high-level interface, \
@@ -17,17 +22,22 @@
                     structures and functions.
 
 homepage            http://rpy.sourceforge.net/rpy2.html
-master_sites        sourceforge:rpy \
-                    http://pypi.python.org/packages/source/r/rpy2/
+master_sites        http://pypi.python.org/packages/source/r/rpy2/
+
 distname            rpy2-${version}
+
 checksums           sha1    ff22f43c25fa299343bc6c6c8cbb3cb43212dfa0 \
                     rmd160  f83207190e40cb9c1f56f3727ef8b26319a55598
 
-python.versions     25 26 27
-
 if {${name} ne ${subport}} {
     # To continue using your custom R installation instead of MacPorts' R,
     # you have to remove this dependency line and make sure that your R
     # is in MacPorts' binpath, see your macports.conf for details.
     depends_lib-append  port:R
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${master_sites}
+    livecheck.regex     {rpy2-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140115/8d298bae/attachment.html>


More information about the macports-changes mailing list