[105474] trunk/dports/mail/lamson/Portfile

stromnov at macports.org stromnov at macports.org
Mon Apr 22 06:50:15 PDT 2013


Revision: 105474
          https://trac.macports.org/changeset/105474
Author:   stromnov at macports.org
Date:     2013-04-22 06:50:15 -0700 (Mon, 22 Apr 2013)
Log Message:
-----------
lamson: fix whitespaces, add livecheck

Modified Paths:
--------------
    trunk/dports/mail/lamson/Portfile

Modified: trunk/dports/mail/lamson/Portfile
===================================================================
--- trunk/dports/mail/lamson/Portfile	2013-04-22 13:21:20 UTC (rev 105473)
+++ trunk/dports/mail/lamson/Portfile	2013-04-22 13:50:15 UTC (rev 105474)
@@ -1,3 +1,4 @@
+# -*- 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
@@ -5,12 +6,18 @@
 
 name                lamson
 version             1.1
+revision            0
 categories          mail python
 platforms           darwin
+license             {BSD GPL-3}
 supported_archs     noarch
-license             {BSD GPL-3}
+
+python.versions     27
+
 maintainers         nomaintainer
+
 description         Modern Pythonic mail server built like a web application server
+
 long_description  \
     Lamson is a pure Python SMTP server designed to create robust and complex mail \
     applications in the style of modern web frameworks such as Django. Unlike \
@@ -20,22 +27,24 @@
     juggle tons of tiny fragile processes. Lamson also plays well with other web \
     frameworks and Python libraries.
 
-homepage            http://lamsonproject.org/ 
+homepage            http://lamsonproject.org/
 master_sites        http://pypi.python.org/packages/source/l/${name}
+
 checksums           md5     a5673d0fe9e8def9d2dfe9705f832a83 \
                     sha1    155393260a11c2fd699cf9f34be56a6e0a35daa6 \
                     rmd160  7ad3b043efa79a62622b767f770ff30b18e6b359
 
-python.default_version  27
+depends_lib-append  port:py${python.version}-chardet \
+                    port:py${python.version}-jinja2 \
+                    port:py${python.version}-mock \
+                    port:py${python.version}-nose \
+                    port:py${python.version}-python-daemon \
+                    port:py${python.version}-lockfile \
+                    port:py${python.version}-dns
 
-depends_lib-append  \
-    port:py27-chardet \
-    port:py27-jinja2 \
-    port:py27-mock \
-    port:py27-nose \
-    port:py27-python-daemon \
-    port:py27-lockfile \
-    port:py27-dns
+# don't add python version to lamson binary
+python.link_binaries_suffix
 
-# don't add python version to lamson binary
-python.link_binaries_suffix 
+livecheck.type      regex
+livecheck.url       ${master_sites}
+livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130422/57fed5a2/attachment.html>


More information about the macports-changes mailing list