[87066] trunk/dports/python

singingwolfboy at macports.org singingwolfboy at macports.org
Tue Nov 8 19:39:22 PST 2011


Revision: 87066
          http://trac.macports.org/changeset/87066
Author:   singingwolfboy at macports.org
Date:     2011-11-08 19:39:18 -0800 (Tue, 08 Nov 2011)
Log Message:
-----------
py-watchdog: move from python27 portgroup to python portgroup

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

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

Removed Paths:
-------------
    trunk/dports/python/py27-watchdog/

Modified: trunk/dports/python/py-watchdog/Portfile
===================================================================
--- trunk/dports/python/py27-watchdog/Portfile	2011-11-09 01:07:52 UTC (rev 87065)
+++ trunk/dports/python/py-watchdog/Portfile	2011-11-09 03:39:18 UTC (rev 87066)
@@ -1,9 +1,9 @@
 # $Id: Portfile 74826 2011-01-03 10:28:48Z nox at macports.org $
 
 PortSystem      1.0
-PortGroup       python27 1.0
+PortGroup       python 1.0
 
-name            py27-watchdog
+name            py-watchdog
 set real_name   watchdog
 version         0.5.4
 maintainers     singingwolfboy openmaintainer
@@ -14,8 +14,6 @@
 long_description \
     ${description}
 
-depends_lib     port:py27-yaml port:py27-argh port:py27-pathtools port:py27-brownie
-
 homepage            http://packages.python.org/watchdog/
 master_sites        http://pypi.python.org/packages/source/w/${real_name}
 distname            ${real_name}-${version}
@@ -23,3 +21,16 @@
 checksums           md5     137cb7516b56a4e623934eccc26e1143 \
                     sha1    79314cfa13d0218ca2c5137156e6ad67fd378a64 \
                     rmd160  cdb91e08afb4b66d6457fc8aa6531ae88606e09b
+
+# watchdog supports Python 2.5+, but at the moment,
+# Macports only packages dependencies for Python 2.7
+python.versions 27
+python.default_version 27
+
+if {$subport != $name} {
+    depends_lib \
+        port:py${python.version}-yaml \
+        port:py${python.version}-argh \
+        port:py${python.version}-pathtools \
+        port:py${python.version}-brownie
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111108/37cb481a/attachment.html>


More information about the macports-changes mailing list