From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6CF3859CA4 for ; Wed, 9 Mar 2016 14:23:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2A82E084C; Wed, 9 Mar 2016 14:23:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33D62E084C for ; Wed, 9 Mar 2016 14:23:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4CDF340BD1 for ; Wed, 9 Mar 2016 14:23:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 403F61BA1 for ; Wed, 9 Mar 2016 14:22:58 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1457532458.feb118383adb2e8b93bc802d5703ab631f6b3969.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fail2ban/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/fail2ban/fail2ban-0.9.3-r1.ebuild X-VCS-Directories: net-analyzer/fail2ban/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: feb118383adb2e8b93bc802d5703ab631f6b3969 X-VCS-Branch: master Date: Wed, 9 Mar 2016 14:22:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 36454fed-3441-44eb-aa34-55a362d932a1 X-Archives-Hash: 49df398ee12a3b96d9ef2236ba977bc5 commit: feb118383adb2e8b93bc802d5703ab631f6b3969 Author: Louis Sautier gmail com> AuthorDate: Wed Feb 24 12:55:51 2016 +0000 Commit: Patrice Clement gentoo 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