opencv@2: depend on python@2

This commit is contained in:
ilovezfs 2018-04-07 01:37:01 -07:00
parent 6f752ef6d6
commit 60f868af22

View file

@ -24,7 +24,7 @@ class OpencvAT2 < Formula
depends_on "libpng" depends_on "libpng"
depends_on "libtiff" depends_on "libtiff"
depends_on "openexr" depends_on "openexr"
depends_on "python@2" => :recommended if MacOS.version <= :snow_leopard depends_on "python@2" => :recommended
depends_on "numpy" if build.with? "python@2" depends_on "numpy" if build.with? "python@2"
def install def install