[107981] trunk/dports/python

jmr at macports.org jmr at macports.org
Tue Jul 9 20:54:35 PDT 2013


Revision: 107981
          https://trac.macports.org/changeset/107981
Author:   jmr at macports.org
Date:     2013-07-09 20:54:34 -0700 (Tue, 09 Jul 2013)
Log Message:
-----------
py*-pymtp: unify

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

Added Paths:
-----------
    trunk/dports/python/py-pymtp/

Removed Paths:
-------------
    trunk/dports/python/py25-pymtp/
    trunk/dports/python/py26-pymtp/

Modified: trunk/dports/python/py-pymtp/Portfile
===================================================================
--- trunk/dports/python/py26-pymtp/Portfile	2013-07-09 22:03:15 UTC (rev 107956)
+++ trunk/dports/python/py-pymtp/Portfile	2013-07-10 03:54:34 UTC (rev 107981)
@@ -2,9 +2,9 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
-name                py26-pymtp
+name                py-pymtp
 license             GPL-3
 version             0.0.4
 categories-append   multimedia
@@ -19,13 +19,18 @@
                     
 
 homepage            http://downloads.nick125.com/projects/pymtp/
-master_sites        ${homepage}
-distname            pymtp-latest
+# seems to be broken
+#master_sites        ${homepage}
+master_sites        http://distfiles.macports.org/python/
+distname            pymtp-${version}
 use_bzip2           yes
 
 checksums           md5     5eff39cbcc2e073228df04fe1ab1fce8 \
                     sha1    bfdeae5a949e8f1fb841284ac3b29ccfcf7aa197 \
                     rmd160  d68de908319baaea022a97565a76af311d8aac19
 
-depends_lib         port:libmtp
+python.versions     25 26
 
+if {$subport ne $name} {
+    depends_lib-append         port:libmtp
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130709/c70417e0/attachment.html>


More information about the macports-changes mailing list