Ticket #46400: dot2tex.python.patch

File dot2tex.python.patch, 1.2 KB (added by larryv (Lawrence Velázquez), 10 years ago)
  • dports/python/dot2tex/Portfile

    diff --git a/dports/python/dot2tex/Portfile b/dports/python/dot2tex/Portfile
    index 34a621d..0d20d7f 100644
    a b PortSystem 1.0 
    55
    66name                dot2tex
    77version             2.8.7
    8 revision            3
     8revision            4
    99categories          graphics print python
    1010platforms           darwin
    1111license             MIT
    checksums rmd160 b57981fc01ce151da101c6d8c46702a14d733a54 \ 
    2626
    2727depends_run         bin:dot:graphviz bin:latex:texlive bin:pdflatex:texlive
    2828
    29 if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python27]} {
    30         default_variants    +python27
    31 }
    32 
    3329PortGroup python 1.0
    34 
    35 variant python25 requires python27 description {Legacy variant} {}
    36 
    37 variant python26 conflicts python27 {
    38     python.default_version 26
    39     depends_lib-append  port:py26-parsing
    40 }
    41 
    42 variant python27 conflicts python26 {
    43     python.default_version 27
    44     depends_lib-append  port:py27-parsing
    45 }
     30python.default_version  27
     31depends_lib-append      port:py${python.version}-parsing
    4632
    4733post-extract {
    4834    fs-traverse dir ${workpath} {