Ticket #46403: graphviz.python.patch
File graphviz.python.patch, 5.4 KB (added by larryv (Lawrence Velázquez), 10 years ago) |
---|
-
dports/graphics/graphviz-devel/Portfile
diff --git a/dports/graphics/graphviz-devel/Portfile b/dports/graphics/graphviz-devel/Portfile index 0700a7d..a5d2469 100644
a b checksums rmd160 4bfcc2f9c85920a54c2eb4d21345440c9a54bf44 40 40 minimum_xcodeversions {9 3.1.2} 41 41 42 42 if {${name} eq ${subport}} { 43 revision 043 revision 1 44 44 45 45 conflicts graphviz${otherbranch} 46 46 … … variant php description {Include PHP language bindings} { 178 178 } 179 179 } 180 180 181 variant python24 description {Include Python 2.4 language bindings} conflicts python25 python26 { 182 depends_lib-append port:python24 183 depends_build-append port:swig-python 184 185 configure.args-replace --disable-swig --enable-swig 186 configure.args-replace --disable-python --enable-python 187 configure.python ${prefix}/bin/python2.4 188 189 # The configure script asks python where to install 190 # This doesn't work for 2.4 and 2.5 (see #16334) 191 post-patch { 192 reinplace "s|PYTHON_INSTALL_DIR=.*|PYTHON_INSTALL_DIR=${prefix}/lib/python2.4|" ${worksrcpath}/configure 193 } 194 } 195 196 variant python25 description {Include Python 2.5 language bindings} conflicts python24 python26 { 197 depends_lib-append port:python25 198 depends_build-append port:swig-python 199 200 configure.args-replace --disable-swig --enable-swig 201 configure.args-replace --disable-python --enable-python 202 configure.python ${prefix}/bin/python2.5 203 204 # The configure script asks python where to install 205 # This doesn't work for 2.4 and 2.5 (see #16334) 206 post-patch { 207 reinplace "s|PYTHON_INSTALL_DIR=.*|PYTHON_INSTALL_DIR=${prefix}/lib/python2.5|" ${worksrcpath}/configure 208 } 209 } 181 # TODO: Remove after 2016-01-04. 182 variant python24 description {Legacy variant} requires python27 {} 183 variant python25 description {Legacy variant} requires python27 {} 184 variant python26 description {Legacy variant} requires python27 {} 210 185 211 variant python2 6 description {Include Python 2.6 language bindings} conflicts python24 python25{212 depends_lib-append port:python2 6186 variant python27 description {Include Python 2.7 language bindings} { 187 depends_lib-append port:python27 213 188 depends_build-append port:swig-python 214 189 215 190 configure.args-replace --disable-swig --enable-swig 216 191 configure.args-replace --disable-python --enable-python 217 configure.python ${prefix}/bin/python2. 6192 configure.python ${prefix}/bin/python2.7 218 193 } 219 194 220 195 variant ruby description {Include Ruby language bindings} { -
dports/graphics/graphviz/Portfile
diff --git a/dports/graphics/graphviz/Portfile b/dports/graphics/graphviz/Portfile index 539928b..c212d89 100644
a b checksums rmd160 a80c2fa6b9955444b2103a99167d7020b23e4c4e 40 40 minimum_xcodeversions {9 3.1.2} 41 41 42 42 if {${name} eq ${subport}} { 43 revision 043 revision 1 44 44 45 45 conflicts graphviz${otherbranch} 46 46 … … variant php description {Include PHP language bindings} { 178 178 } 179 179 } 180 180 181 variant python24 description {Include Python 2.4 language bindings} conflicts python25 python26 { 182 depends_lib-append port:python24 183 depends_build-append port:swig-python 184 185 configure.args-replace --disable-swig --enable-swig 186 configure.args-replace --disable-python --enable-python 187 configure.python ${prefix}/bin/python2.4 188 189 # The configure script asks python where to install 190 # This doesn't work for 2.4 and 2.5 (see #16334) 191 post-patch { 192 reinplace "s|PYTHON_INSTALL_DIR=.*|PYTHON_INSTALL_DIR=${prefix}/lib/python2.4|" ${worksrcpath}/configure 193 } 194 } 195 196 variant python25 description {Include Python 2.5 language bindings} conflicts python24 python26 { 197 depends_lib-append port:python25 198 depends_build-append port:swig-python 199 200 configure.args-replace --disable-swig --enable-swig 201 configure.args-replace --disable-python --enable-python 202 configure.python ${prefix}/bin/python2.5 203 204 # The configure script asks python where to install 205 # This doesn't work for 2.4 and 2.5 (see #16334) 206 post-patch { 207 reinplace "s|PYTHON_INSTALL_DIR=.*|PYTHON_INSTALL_DIR=${prefix}/lib/python2.5|" ${worksrcpath}/configure 208 } 209 } 181 # TODO: Remove after 2016-01-04. 182 variant python24 description {Legacy variant} requires python27 {} 183 variant python25 description {Legacy variant} requires python27 {} 184 variant python26 description {Legacy variant} requires python27 {} 210 185 211 variant python2 6 description {Include Python 2.6 language bindings} conflicts python24 python25{212 depends_lib-append port:python2 6186 variant python27 description {Include Python 2.7 language bindings} { 187 depends_lib-append port:python27 213 188 depends_build-append port:swig-python 214 189 215 190 configure.args-replace --disable-swig --enable-swig 216 191 configure.args-replace --disable-python --enable-python 217 configure.python ${prefix}/bin/python2. 6192 configure.python ${prefix}/bin/python2.7 218 193 } 219 194 220 195 variant ruby description {Include Ruby language bindings} {