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 E18BE1384B4 for ; Thu, 19 Nov 2015 07:28:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8EC021C036; Thu, 19 Nov 2015 07:28:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08FB021C035 for ; Thu, 19 Nov 2015 07:28:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4765B340A15 for ; Thu, 19 Nov 2015 07:28:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DED01473 for ; Thu, 19 Nov 2015 07:27:59 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1447918032.96d6f6f7a67bb37d2a4723e62d6540f7fa1cebd1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:python-eapi6 commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/distutils-r1.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 96d6f6f7a67bb37d2a4723e62d6540f7fa1cebd1 X-VCS-Branch: python-eapi6 Date: Thu, 19 Nov 2015 07:27:59 +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: 147f9f89-bb62-4889-b0fb-2f3a8fa58473 X-Archives-Hash: c4ec92d7ffb5008c14889bc54b0a1cbb commit: 96d6f6f7a67bb37d2a4723e62d6540f7fa1cebd1 Author: Michał Górny gentoo org> AuthorDate: Wed Nov 18 21:57:04 2015 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Nov 19 07:27:12 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d6f6f7 distutils-r1.eclass: Ban EXAMPLES in EAPI 6 eclass/distutils-r1.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index e632202..e55e2e4 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -583,6 +583,8 @@ distutils-r1_python_install_all() { einstalldocs if declare -p EXAMPLES &>/dev/null; then + [[ ${EAPI} == [45] ]] && die "EXAMPLES are banned in EAPI ${EAPI}" + local INSDESTTREE=/usr/share/doc/${PF}/examples doins -r "${EXAMPLES[@]}" docompress -x "${INSDESTTREE}"