[102797] users/cal/ports/emulators/virt-manager/Portfile

cal at macports.org cal at macports.org
Fri Feb 8 07:05:45 PST 2013


Revision: 102797
          https://trac.macports.org/changeset/102797
Author:   cal at macports.org
Date:     2013-02-08 07:05:45 -0800 (Fri, 08 Feb 2013)
Log Message:
-----------
virt-manager: allow the use of multiple versions of python, update to 0.9.4

Modified Paths:
--------------
    users/cal/ports/emulators/virt-manager/Portfile

Property Changed:
----------------
    users/cal/ports/emulators/virt-manager/Portfile

Modified: users/cal/ports/emulators/virt-manager/Portfile
===================================================================
--- users/cal/ports/emulators/virt-manager/Portfile	2013-02-08 15:04:07 UTC (rev 102796)
+++ users/cal/ports/emulators/virt-manager/Portfile	2013-02-08 15:05:45 UTC (rev 102797)
@@ -2,9 +2,10 @@
 # $Id $
 
 PortSystem              1.0
+PortGroup               active_variants 1.1
 
 name                    virt-manager
-version                 0.9.0
+version                 0.9.4
 supported_archs         noarch
 categories              emulators
 platforms               darwin
@@ -25,23 +26,53 @@
 homepage                http://virt-manager.org/
 master_sites            http://virt-manager.org/download/sources/virt-manager/
 
-checksums               rmd160  f3af53591babe3d95c4017d19a292fd6c1bfee97 \
-                        sha256  db0de808efa5d6bae0bdc2db796e58ea79f9e1db20d9a5a5977b28b4b85d4321
+checksums               rmd160  15b3d1da4e2571ef91899bcca14354cbf656242c \
+                        sha256  dc8c553beeb15bb30cd5517b2105bcc47cf482b03523e522733c52b0e5df0fc0
 
 depends_build           port:intltool
-
-depends_lib             port:python27 \
-                        port:py27-pygtk \
-                        port:py27-gnome \
+depends_lib             port:gnome-keyring \
+                        port:policykit \
                         port:libvirt \
-                        port:dbus-python27 \
-                        port:gnome-keyring \
-                        port:py27-libxml2 \
-                        port:vte \
-                        port:policykit \
-                        port:py27-virtinst \
-                        port:gtk-vnc
+                        port:gtk-vnc \
+                        port:vte
 
+variant python27 description {Build using Python 2.7} conflicts python32 python33 {
+    set python_version 27
+    depends_lib-append  port:python${python_version} \
+                        port:py${python_version}-pygtk \
+                        port:py${python_version}-gnome \
+                        port:py${python_version}-libxml2 \
+                        port:py${python_version}-virtinst \
+                        port:dbus-python${python_version}
+    configure.python    ${prefix}/bin/python2.7
+    require_active_variants libvirt python${python_version}
+}
+variant python32 description {Build using Python 3.2} conflicts python27 python33 {
+    set python_version 32
+    depends_lib-append  port:python${python_version} \
+                        port:py${python_version}-pygtk \
+                        port:py${python_version}-gnome \
+                        port:py${python_version}-libxml2 \
+                        port:py${python_version}-virtinst \
+                        port:dbus-python${python_version}
+    configure.python    ${prefix}/bin/python3.2
+    require_active_variants libvirt python${python_version}
+}
+variant python33 description {Build using Python 3.3} conflicts python27 python32 {
+    set python_version 33
+    depends_lib-append  port:python${python_version} \
+                        port:py${python_version}-pygtk \
+                        port:py${python_version}-gnome \
+                        port:py${python_version}-libxml2 \
+                        port:py${python_version}-virtinst \
+                        port:dbus-python${python_version}
+    configure.python    ${prefix}/bin/python3.3
+    require_active_variants libvirt python${python_version}
+}
+if {![variant_isset python32] && ![variant_isset python33]} {
+    default_variants +python27
+}
+
 livecheck.type          regex
 livecheck.url           ${master_sites}
 livecheck.regex         "[quotemeta ${name}]-(\\d+(?:\\.\\d+)*)[quotemeta ${extract.suffix}]"


Property changes on: users/cal/ports/emulators/virt-manager/Portfile
___________________________________________________________________
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130208/6e8a9b52/attachment.html>


More information about the macports-changes mailing list