[140207] trunk/dports/python/py-supervisor/Portfile

petr at macports.org petr at macports.org
Fri Sep 11 14:54:43 PDT 2015


Revision: 140207
          https://trac.macports.org/changeset/140207
Author:   petr at macports.org
Date:     2015-09-11 14:54:42 -0700 (Fri, 11 Sep 2015)
Log Message:
-----------
py-supervisor: formating

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

Modified: trunk/dports/python/py-supervisor/Portfile
===================================================================
--- trunk/dports/python/py-supervisor/Portfile	2015-09-11 21:13:13 UTC (rev 140206)
+++ trunk/dports/python/py-supervisor/Portfile	2015-09-11 21:54:42 UTC (rev 140207)
@@ -4,18 +4,23 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
+set real_name       supervisor
+
 name                py-supervisor
-set real_name       supervisor
 version             3.1.3
+platforms           darwin
+supported_archs     noarch
 license             BSD ZPL-2.1
 maintainers         nomaintainer
+
 description         Process manager for UNIX-like OSs
-long_description    The supervisor is a client/server system that allows its users to control a number of processes on UNIX-like operating systems
 
-platforms           darwin
-supported_archs     noarch
+long_description    \
+    The supervisor is a client/server system that allows its users to control \
+    a number of processes on UNIX-like operating systems
 
 homepage            http://supervisord.org
+
 master_sites        https://pypi.python.org/packages/source/s/${real_name}
 distname            supervisor-${version}
 
@@ -26,18 +31,28 @@
 
 if {${name} ne ${subport}} {
     depends_lib-append	port:py${python.version}-setuptools \
-                port:py${python.version}-elementtree \
-                port:py${python.version}-meld3 \
-                port:py${python.version}-medusa
+                        port:py${python.version}-elementtree \
+                        port:py${python.version}-meld3 \
+                        port:py${python.version}-medusa
 
-    post-destroot   {
-            file delete -force ${destroot}${prefix}/doc
-            xinstall -m 644 -W ${worksrcpath} README.rst docs/plugins.rst CHANGES.txt COPYRIGHT.txt LICENSES.txt TODO.txt supervisor/skel/sample.conf ${destroot}${prefix}/share/doc/${subport}
+    test.run        yes
+
+    post-destroot {
+        file delete -force ${destroot}${prefix}/doc
+        xinstall -m 644 -W ${worksrcpath} \
+            README.rst \
+            CHANGES.txt \
+            COPYRIGHT.txt \
+            LICENSES.txt \
+            TODO.txt \
+            docs/plugins.rst \
+            supervisor/skel/sample.conf \
+            ${destroot}${prefix}/share/doc/${subport}
     }
-    test.run        yes
+
     livecheck.type  none
 } else {
     livecheck.type  regex
-    livecheck.url   [lindex ${master_sites} 0]
-    livecheck.regex ${real_name}-(\[0-9.\]+)${extract.suffix}
+    livecheck.url   https://pypi.python.org/pypi/${real_name}/json
+    livecheck.regex "\"${real_name}-(\[.\\d\]+)\\${extract.suffix}\""
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150911/58b29540/attachment.html>


More information about the macports-changes mailing list