[125223] trunk/dports/news/hellanzb/Portfile

jmr at macports.org jmr at macports.org
Wed Sep 10 10:20:45 PDT 2014


Revision: 125223
          https://trac.macports.org/changeset/125223
Author:   jmr at macports.org
Date:     2014-09-10 10:20:45 -0700 (Wed, 10 Sep 2014)
Log Message:
-----------
hellanzb: use unified python portgroup

Modified Paths:
--------------
    trunk/dports/news/hellanzb/Portfile

Modified: trunk/dports/news/hellanzb/Portfile
===================================================================
--- trunk/dports/news/hellanzb/Portfile	2014-09-10 17:17:35 UTC (rev 125222)
+++ trunk/dports/news/hellanzb/Portfile	2014-09-10 17:20:45 UTC (rev 125223)
@@ -2,7 +2,7 @@
 # $Id$
 
 PortSystem 1.0
-PortGroup           python26 1.0
+PortGroup           python 1.0
 
 name             hellanzb
 version          0.13
@@ -23,18 +23,20 @@
 master_sites     ${homepage}/distfiles/
 checksums        md5 d3510c6b1b2c7b935332a469fdc8e7e2
 
+python.default_version  26
+
 depends_run      bin:par2:par2 \
                  bin:unrar:unrar \
                  bin:flac:flac \
                  bin:shorten:shorten \
-                 port:py26-twisted \
-                 port:py26-openssl
+                 port:py${python.version}-twisted \
+                 port:py${python.version}-openssl
 
 patchfiles       patch-hellanzb.py.diff \
                  patch-hellanzb_for_twisted-10.0.0.diff
 
 variant no_ssl description {Disable ssl support} {
-    depends_run-delete  port:py26-openssl
+    depends_run-delete  port:py${python.version}-openssl
 }
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140910/77236214/attachment.html>


More information about the macports-changes mailing list