libdnet: remove Python 2 support

Closes #44045.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
FX Coudert 2019-09-09 11:44:39 +02:00
parent 69bea93169
commit b08d0f1e4a

View file

@ -15,7 +15,6 @@ class Libdnet < Formula
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "python@2" # does not support Python 3
def install
# autoreconf to get '.dylib' extension on shared lib
@ -24,8 +23,7 @@ class Libdnet < Formula
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--with-python"
"--mandir=#{man}"
system "make", "install"
end