[128237] trunk/dports/python/py-medusa/Portfile

khindenburg at macports.org khindenburg at macports.org
Sun Nov 16 17:34:01 PST 2014


Revision: 128237
          https://trac.macports.org/changeset/128237
Author:   khindenburg at macports.org
Date:     2014-11-16 17:34:01 -0800 (Sun, 16 Nov 2014)
Log Message:
-----------
py-medusa: remove maintainer #39385; add python 27 34; fix livecheck

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

Modified: trunk/dports/python/py-medusa/Portfile
===================================================================
--- trunk/dports/python/py-medusa/Portfile	2014-11-17 01:23:05 UTC (rev 128236)
+++ trunk/dports/python/py-medusa/Portfile	2014-11-17 01:34:01 UTC (rev 128237)
@@ -5,26 +5,30 @@
 PortGroup           python 1.0
 
 name                py-medusa
+set real_name       medusa
 version             0.5.4
 license             MIT
-maintainers         gmail.com:roger.hoover
+maintainers         nomaintainer
 description         Framework for asynchronous socket-based servers.
 long_description    Medusa is a framework for writing asynchronous socket-based servers.
 
 platforms           darwin
 supported_archs     noarch
 
-homepage            http://www.amk.ca/python/code/medusa.html
-master_sites        http://www.amk.ca/files/python/ \
-                    http://distfiles.macports.org/python/
-distname            medusa-${version}
-checksums           md5 5d10505036bc38f8d4cb51d87516e069
+homepage            https://pypi.python.org/pypi/medusa
+master_sites        https://pypi.python.org/packages/source/m/${real_name}
+distname            ${real_name}-${version}
 
-python.versions     24
+checksums           rmd160  84da6140aaf3e677e86014a4e87c83ada39776ec \
+                    sha256  ab7fc4c9afd28b3aaf575aca5bb07005d228a0cad5b1787a521ffca63cfe4317
 
+python.versions     27 34
+
 if {${name} ne ${subport}} {
     depends_build-append    port:py${python.version}-setuptools
-
-    patchfiles              patch-ez_setup.py \
-                            patch-setup.py
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   [lindex ${master_sites} 0]
+    livecheck.regex ${real_name}-(\[0-9.\]+)${extract.suffix}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141116/26dc4d88/attachment.html>


More information about the macports-changes mailing list