[105044] trunk/dports/python/py-roman/Portfile

aronnax at macports.org aronnax at macports.org
Mon Apr 8 09:36:08 PDT 2013


Revision: 105044
          https://trac.macports.org/changeset/105044
Author:   aronnax at macports.org
Date:     2013-04-08 09:36:08 -0700 (Mon, 08 Apr 2013)
Log Message:
-----------
py-roman: update to 2.0.0, add Python 3.1, 3.2, 3.3 subports, claim maintainership

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

Modified: trunk/dports/python/py-roman/Portfile
===================================================================
--- trunk/dports/python/py-roman/Portfile	2013-04-08 16:29:17 UTC (rev 105043)
+++ trunk/dports/python/py-roman/Portfile	2013-04-08 16:36:08 UTC (rev 105044)
@@ -1,33 +1,34 @@
+# -*- 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$
-# -*- 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
 
 PortSystem 1.0
 PortGroup python 1.0
 
-name                py-roman
-version             1.4.0
-python.versions     24 25 26 27
-python.default_version 27
+set realname        roman
+name                py-${realname}
+version             2.0.0
+python.versions     24 25 26 27 31 32 33
 categories-append   textproc
 license             PSF-2.1.1
 platforms           darwin
 supported_archs     noarch
-maintainers         nomaintainer
+maintainers         aronnax openmaintainer
 description         Integer to Roman numerals converter
 long_description    ${description}
-homepage            http://pypi.python.org/pypi/roman/
-master_sites        http://pypi.python.org/packages/source/r/roman/
-distname            roman-${version}
+homepage            http://pypi.python.org/pypi/${realname}/
+master_sites        http://pypi.python.org/packages/source/[string index ${realname} 0]/${realname}/
+distname            ${realname}-${version}
+use_zip             yes
 
-checksums           md5     4f8832ed4108174b159c2afb4bd1d1dd \
-                    sha1    3d9cf0c46a4e3558785a9f7c90cd96a2d31dc9b0 \
-                    rmd160  9c9f1d8de8e19f6dcab02a28b2a28a1a7f3dd546
+checksums           md5     aa71d131eec16d45c030fd06a27c9d17 \
+                    sha1    7fd136f80cf780bbf802ffe1c4989a64ff469c75 \
+                    rmd160  a8ca66d5fafd340986a45332d861d6bae259fe1e
 
 if {$subport != $name} {
     depends_lib     port:py${python.version}-distribute
 
     pre-activate {
-        if {[file exists ${python.pkgd}/roman.py] 
+        if {[file exists ${python.pkgd}/roman.py]
             && ![catch {set vers [lindex [registry_active py${python.version}-docutils] 0]}]
             && [vercmp [lindex $vers 1] 0.6] < 0} {
             registry_deactivate_composite py${python.version}-docutils "" [list ports_nodepcheck 1]
@@ -36,4 +37,4 @@
 }
 
 livecheck.type      regex
-livecheck.regex     {roman-(\d+(?:\.\d+)*)}
+livecheck.regex     [format "%s-%s" ${realname} {(\d+(?:\.\d+)*)}]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130408/58fe0bbb/attachment.html>


More information about the macports-changes mailing list