commit:     feb118383adb2e8b93bc802d5703ab631f6b3969
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Wed Feb 24 12:55:51 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Mar  9 14:07:38 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feb11838

net-analyzer/fail2ban: use distutils-r1 functions

Package-Manager: portage-2.2.27

 net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild 
b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
index 4196d58..9e04e5f 100644
--- a/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
+++ b/net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild
@@ -33,7 +33,7 @@ REQUIRED_USE="systemd? ( !python_single_target_pypy )"
 
 DOCS=( ChangeLog DEVELOP README.md THANKS TODO doc/run-rootless.txt )
 
-src_prepare() {
+python_prepare_all() {
        # Replace /var/run with /run, but not in the top source directory
        find . -mindepth 2 -type f -exec \
                sed -i -e 's|/var\(/run/fail2ban\)|\1|g' {} + || die
@@ -44,15 +44,15 @@ src_prepare() {
                "${FILESDIR}"/${PN}-0.9.2-initd.patch \
                "${FILESDIR}"/${PN}-0.9.2-logrotate.patch
 
-       distutils-r1_src_prepare
+       distutils-r1_python_prepare_all
 }
 
 python_test() {
        "${PYTHON}" "bin/${PN}-testcases" || die "tests failed with ${EPYTHON}"
 }
 
-src_install() {
-       distutils-r1_src_install
+python_install_all() {
+       distutils-r1_python_install_all
 
        rm -r "${D}"/usr/share/doc/${PN} "${D}"/run || die
 

Reply via email to