[139341] trunk/dports/python/py-decorator/Portfile

stromnov at macports.org stromnov at macports.org
Thu Aug 13 12:58:39 PDT 2015


Revision: 139341
          https://trac.macports.org/changeset/139341
Author:   stromnov at macports.org
Date:     2015-08-13 12:58:39 -0700 (Thu, 13 Aug 2015)
Log Message:
-----------
py-decorator: reformat Portfile

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

Modified: trunk/dports/python/py-decorator/Portfile
===================================================================
--- trunk/dports/python/py-decorator/Portfile	2015-08-13 19:48:59 UTC (rev 139340)
+++ trunk/dports/python/py-decorator/Portfile	2015-08-13 19:58:39 UTC (rev 139341)
@@ -6,29 +6,35 @@
 
 name                py-decorator
 version             3.4.0
+revision            0
+categories-append   devel
 platforms           darwin
+license             BSD
 supported_archs     noarch
-license             BSD
+
+python.versions     26 27 33 34
+
 maintainers         stromnov openmaintainer
 
-description         Provides a decorator factory that makes creating \
-                    signature-preserving decorators dead simple.
-long_description    ${description} By Michele Simionato.
-homepage            http://pypi.python.org/pypi/decorator
+description         Decorator factory for signature-preserving decorators.
+long_description    ${description}
 
-master_sites        http://pypi.python.org/packages/source/d/decorator/
+homepage            https://github.com/micheles/decorator
+
+master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
+
 distname            decorator-${version}
+
 checksums           rmd160  57b014f5fb2a1750910364882d430a85f94a8b85 \
                     sha256  c20b404cbb7ee5cebd506688e0114e3cd76f5ce233805a51f36e1a7988d9d783
 
-python.versions     26 27 33 34
 
 if {${name} ne ${subport}} {
     if {${python.version} >= 31} {
-        depends_build-append    port:py${python.version}-setuptools
+        depends_build-append port:py${python.version}-setuptools
     }
-    livecheck.type  none
+
+    livecheck.type      none
 } else {
-    livecheck.type  regex
-    livecheck.regex {decorator/(\d+(?:\.\d+)*)}
+    livecheck.type      pypi
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150813/fd174436/attachment.html>


More information about the macports-changes mailing list