net-firewall/fwknop: do not call distutils-r1_src_prepare
authorIlya Tumaykin <itumaykin@gmail.com>
Mon, 21 Dec 2015 16:14:49 +0000 (19:14 +0300)
committerIlya Tumaykin <itumaykin@gmail.com>
Mon, 21 Dec 2015 16:14:49 +0000 (19:14 +0300)
Firstly, this helps to avoid potential problems with double patching
because both autotools-utils_src_prepare and distutils-r1_src_prepare
try to apply patches from PATCHES variable and call epatch_user.

Secondly, fwknop's Python module does not need any special stuff that
distutils-r1_src_prepare does. On the contrary, without extra copying
of Python files, the build is happening the way it is supported and
expected by upstream.

Package-Manager: portage-2.2.24

net-firewall/fwknop/fwknop-2.6.7-r2.ebuild

index a5bfe67541ab52ad10fcc355cd08931fb8c8e640..582a81b605ddc112fb27c857a142f717d27eefa5 100644 (file)
@@ -77,11 +77,6 @@ src_prepare() {
        fi
 
        autotools-utils_src_prepare
-
-       if use python; then
-               cd "${S}"/python || die
-               distutils-r1_src_prepare
-       fi
 }
 
 src_configure() {