[91367] trunk/dports/python

dports at macports.org dports at macports.org
Fri Mar 30 14:44:39 PDT 2012


Revision: 91367
          https://trac.macports.org/changeset/91367
Author:   dports at macports.org
Date:     2012-03-30 14:44:39 -0700 (Fri, 30 Mar 2012)
Log Message:
-----------
py-lightblue: unify (#33777)

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

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

Removed Paths:
-------------
    trunk/dports/python/py26-lightblue/

Modified: trunk/dports/python/py-lightblue/Portfile
===================================================================
--- trunk/dports/python/py26-lightblue/Portfile	2012-03-30 05:33:23 UTC (rev 91341)
+++ trunk/dports/python/py-lightblue/Portfile	2012-03-30 21:44:39 UTC (rev 91367)
@@ -1,29 +1,34 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem          1.0
-PortGroup           python26 1.0
+PortSystem              1.0
+PortGroup               python 1.0
 
-name                py26-lightblue
-version             0.4
-maintainers         puffin.lb.shuttle.de:michael.klein openmaintainer
-description         A cross-platform Python Bluetooth API
-long_description    A cross-platform Python Bluetooth API for Mac OS X, \
-                    GNU/Linux and Python For Series 60. Provides simple device \
-                    and service discovery, RFCOMM sockets, L2CAP client \
-                    sockets, OBEX file transfer, service advertising, and \
-                    access to local device information.
-platforms           darwin
-homepage            http://lightblue.sourceforge.net/
-master_sites        sourceforge:lightblue
-distname            lightblue-${version}
-checksums           ${distname}${extract.suffix} \
+name                    py-lightblue
+version                 0.4
+maintainers             puffin.lb.shuttle.de:michael.klein openmaintainer
+description             A cross-platform Python Bluetooth API
+long_description        A cross-platform Python Bluetooth API for Mac OS X, \
+                        GNU/Linux and Python For Series 60. Provides simple device \
+                        and service discovery, RFCOMM sockets, L2CAP client \
+                        sockets, OBEX file transfer, service advertising, and \
+                        access to local device information.
+platforms               darwin
+homepage                http://lightblue.sourceforge.net/
+master_sites            sourceforge:lightblue
+distname                lightblue-${version}
+checksums               ${distname}${extract.suffix} \
                         md5     2f2bf66faa4bf1a79eb28a47584077b7 \
                         sha1    78331a3c1640f0e351f71774b576fef1d9d3951d \
                         rmd160  9eb520d354b3b95b8e324cf846a6cb5556a29056
 
-depends_lib         port:py26-pyobjc-cocoa
+python.versions         25 26 27
+python.default_version  27
 
+if {${subport} != ${name}} {
+        depends_lib-append  port:py${python.version}-pyobjc-cocoa
+}
+
 patchfiles          patch-deviceInquiryComplete_error_aborted-signature.diff
 
 extract.only        lightblue-${version}.tar.gz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120330/f4b57cbf/attachment.html>


More information about the macports-changes mailing list