[126319] trunk/dports/gnome/gourmet/Portfile

jmr at macports.org jmr at macports.org
Tue Oct 7 16:04:51 PDT 2014


Revision: 126319
          https://trac.macports.org/changeset/126319
Author:   jmr at macports.org
Date:     2014-10-07 16:04:50 -0700 (Tue, 07 Oct 2014)
Log Message:
-----------
gourmet: use unified python portgroup

Modified Paths:
--------------
    trunk/dports/gnome/gourmet/Portfile

Modified: trunk/dports/gnome/gourmet/Portfile
===================================================================
--- trunk/dports/gnome/gourmet/Portfile	2014-10-07 22:30:57 UTC (rev 126318)
+++ trunk/dports/gnome/gourmet/Portfile	2014-10-07 23:04:50 UTC (rev 126319)
@@ -1,8 +1,9 @@
 # -*- 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           github 1.0
-PortGroup           python27 1.0
+PortGroup           python 1.0
 
 github.setup        thinkle gourmet 0.17.4
 categories          gnome python
@@ -20,18 +21,20 @@
 checksums           rmd160  df9b633c051c84423d4da88156b7d0cba16eaff7 \
                     sha256  21e51301d7a4078995ebe7343dd8a669646c1c22028713e5ecfc069045a97ea4
 
-depends_build       port:py27-distutils-extra \
+python.default_version  27
+
+depends_build       port:py${python.version}-distutils-extra \
                     port:intltool
-depends_lib-append  port:py27-pygtk \
-                    port:py27-sqlalchemy \
-                    path:${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/__init__.py:py27-pil \
-                    port:py27-elib.intl \
-                    port:py27-reportlab \
-                    port:py27-poppler \
-                    port:py27-gtkspell \
-                    port:py27-gst-python \
+depends_lib-append  port:py${python.version}-pygtk \
+                    port:py${python.version}-sqlalchemy \
+                    path:${python.pkgd}/PIL/__init__.py:py${python.version}-pil \
+                    port:py${python.version}-elib.intl \
+                    port:py${python.version}-reportlab \
+                    port:py${python.version}-poppler \
+                    port:py${python.version}-gtkspell \
+                    port:py${python.version}-gst-python \
                     port:gstreamer010-gst-plugins-good \
-                    port:py27-beautifulsoup \
-                    port:py27-ipython
+                    port:py${python.version}-beautifulsoup \
+                    port:py${python.version}-ipython
 
 python.link_binaries_suffix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141007/a10aaf49/attachment.html>


More information about the macports-changes mailing list