[103041] trunk/dports/python/py-pyqwt/Portfile

michaelld at macports.org michaelld at macports.org
Tue Feb 12 05:23:05 PST 2013


Revision: 103041
          https://trac.macports.org/changeset/103041
Author:   michaelld at macports.org
Date:     2013-02-12 05:23:05 -0800 (Tue, 12 Feb 2013)
Log Message:
-----------
pyXY-pyqwt:

* Remove all +qwt* variants, and instead make dependent on a qwt.5 library;

* Default to qwt52 instead of qwt (5.1.2);

* Augment long description to reflect compatibility with qwt 5 only.

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

Modified: trunk/dports/python/py-pyqwt/Portfile
===================================================================
--- trunk/dports/python/py-pyqwt/Portfile	2013-02-12 13:16:40 UTC (rev 103040)
+++ trunk/dports/python/py-pyqwt/Portfile	2013-02-12 13:23:05 UTC (rev 103041)
@@ -13,11 +13,12 @@
 maintainers         macsforever2000 michaelld erickt openmaintainer
 license             GPL-2+
 
-description         PyQwt is a set of Python bindings for the Qwt toolkit
+description         PyQwt is a set of Python bindings for the Qwt 5 toolkit
 long_description    PyQwt is a set of Python bindings for the Qwt C++ class library which extends \
                     the Qt framework with widgets for scientific and engineering applications. It \
                     provides a widget to plot 2-dimensional data and various widgets to display \
-                    and control bounded or unbounded floating point values.
+                    and control bounded or unbounded floating point values. \
+                    PyQwt version 5 is compatible with Qwt version 5 only.
 
 homepage            http://pyqwt.sourceforge.net
 master_sites        sourceforge:pyqwt
@@ -49,21 +50,10 @@
     destroot.cmd       make install
     destroot.destdir   DESTDIR=${destroot}
 
-    variant qwt conflicts qwt52, qwt60 description {Use QWT 5.1} {
-        depends_lib-append  port:qwt
-    }
-    
-    variant qwt52 conflicts qwt, qwt60 description {Use QWT 5.2} {
-        depends_lib-append  port:qwt52
-    }
+    # depend on the QWT5 library, but default to 5.2.  This port is
+    # does not work with Qwt 6 (any longer; not sure if it ever did).
+    depends_lib-append  path:lib/libqwt.5.dylib:qwt52
 
-    variant qwt60 conflicts qwt qwt52 description {Use QWT 6.0} {
-        depends_lib-append  port:qwt-60
-    }
-    
-    if {![variant_isset qwt] && ![variant_isset qwt60]} {
-        default_variants    +qwt52
-    }
     livecheck.type  none
 } else {
     livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130212/32f1d1ae/attachment.html>


More information about the macports-changes mailing list