From: "Michal Gorny (mgorny)" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog distutils-r1.eclass
Date: Thu, 16 Jul 2015 14:29:39 +0000 (UTC) [thread overview]
Message-ID: <20150716142939.B5CB061D@oystercatcher.gentoo.org> (raw)
mgorny 15/07/16 14:29:39
Modified: ChangeLog distutils-r1.eclass
Log:
Forbid also installing "examples" package, bug #555038.
Revision Changes Path
1.1712 eclass/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1712&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1712&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1711&r2=1.1712
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1711
retrieving revision 1.1712
diff -u -r1.1711 -r1.1712
--- ChangeLog 16 Jul 2015 06:06:59 -0000 1.1711
+++ ChangeLog 16 Jul 2015 14:29:39 -0000 1.1712
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1711 2015/07/16 06:06:59 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1712 2015/07/16 14:29:39 mgorny Exp $
+
+ 16 Jul 2015; Michał Górny <mgorny@gentoo.org> distutils-r1.eclass:
+ Forbid also installing "examples" package, bug #555038.
16 Jul 2015; Lars Wendler <polynomial-c@gentoo.org> apache-2.eclass:
Added slot dependency for openssl. Raised minimum required EAPI version to 5.
1.115 eclass/distutils-r1.eclass
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?rev=1.115&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?rev=1.115&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/distutils-r1.eclass?r1=1.114&r2=1.115
Index: distutils-r1.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- distutils-r1.eclass 4 Jul 2015 15:26:17 -0000 1.114
+++ distutils-r1.eclass 16 Jul 2015 14:29:39 -0000 1.115
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.114 2015/07/04 15:26:17 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/distutils-r1.eclass,v 1.115 2015/07/16 14:29:39 mgorny Exp $
# @ECLASS: distutils-r1
# @MAINTAINER:
@@ -549,9 +549,13 @@
esetup.py install --root="${root}" "${args[@]}"
- if [[ -d ${root}$(python_get_sitedir)/tests ]]; then
- die "Package installs 'tests' package, file collisions likely."
- fi
+ local forbidden_package_names=( examples test tests )
+ local p
+ for p in "${forbidden_package_names[@]}"; do
+ if [[ -d ${root}$(python_get_sitedir)/${p} ]]; then
+ die "Package installs '${p}' package which is forbidden and likely a bug in the build system."
+ fi
+ done
if [[ -d ${root}/usr/$(get_libdir)/pypy/share ]]; then
eqawarn "Package installs 'share' in PyPy prefix, see bug #465546."
fi
next reply other threads:[~2015-07-16 15:51 UTC|newest]
Thread overview: 78+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-16 14:29 Michal Gorny (mgorny) [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-18 0:07 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog distutils-r1.eclass Mike Gilbert (floppym)
2015-01-31 2:49 Patrick Lauer (patrick)
2015-01-13 21:34 Michal Gorny (mgorny)
2014-12-27 19:00 Michal Gorny (mgorny)
2014-12-11 18:32 Michal Gorny (mgorny)
2014-12-11 9:07 Michal Gorny (mgorny)
2014-11-24 1:39 Mike Gilbert (floppym)
2014-08-24 13:23 Michal Gorny (mgorny)
2014-07-08 8:49 Michal Gorny (mgorny)
2014-06-22 7:01 Michal Gorny (mgorny)
2014-06-19 12:54 Michal Gorny (mgorny)
2014-05-19 5:00 Mike Gilbert (floppym)
2014-05-11 7:58 Michal Gorny (mgorny)
2014-01-18 15:06 Mike Gilbert (floppym)
2013-12-03 20:00 Mike Gilbert (floppym)
2013-12-02 13:14 Michal Gorny (mgorny)
2013-11-11 15:58 Michal Gorny (mgorny)
2013-10-26 17:47 Michal Gorny (mgorny)
2013-10-22 19:23 Michal Gorny (mgorny)
2013-10-22 15:15 Michal Gorny (mgorny)
2013-10-10 6:10 Michal Gorny (mgorny)
2013-09-28 19:11 Mike Gilbert (floppym)
2013-09-27 19:21 Michal Gorny (mgorny)
2013-09-27 19:19 Michal Gorny (mgorny)
2013-09-26 11:58 Michal Gorny (mgorny)
2013-09-18 22:48 Michal Gorny (mgorny)
2013-09-17 17:33 Michal Gorny (mgorny)
2013-08-25 21:15 Michal Gorny (mgorny)
2013-08-25 21:13 Michal Gorny (mgorny)
2013-08-25 21:12 Michal Gorny (mgorny)
2013-08-01 13:02 Michal Gorny (mgorny)
2013-07-21 19:00 Michal Gorny (mgorny)
2013-07-09 1:57 Mike Gilbert (floppym)
2013-04-18 15:47 Michal Gorny (mgorny)
2013-04-13 14:01 Michal Gorny (mgorny)
2013-04-10 15:38 Michal Gorny (mgorny)
2013-03-19 6:13 Michal Gorny (mgorny)
2013-03-13 21:51 Mike Gilbert (floppym)
2013-03-09 13:13 Michal Gorny (mgorny)
2013-03-04 19:29 Michal Gorny (mgorny)
2013-03-02 7:17 Michal Gorny (mgorny)
2013-03-02 7:16 Michal Gorny (mgorny)
2013-03-02 7:13 Michal Gorny (mgorny)
2013-02-26 14:34 Michal Gorny (mgorny)
2013-02-21 23:18 Michal Gorny (mgorny)
2013-02-10 16:15 Michal Gorny (mgorny)
2013-02-10 11:41 Michal Gorny (mgorny)
2013-02-10 11:39 Michal Gorny (mgorny)
2013-02-10 11:38 Michal Gorny (mgorny)
2013-01-27 16:39 Michal Gorny (mgorny)
2013-01-27 16:37 Michal Gorny (mgorny)
2013-01-20 21:41 Michal Gorny (mgorny)
2013-01-12 23:18 Michal Gorny (mgorny)
2013-01-12 23:17 Michal Gorny (mgorny)
2013-01-12 23:13 Michal Gorny (mgorny)
2013-01-12 23:13 Michal Gorny (mgorny)
2013-01-11 1:06 Mike Gilbert (floppym)
2013-01-10 22:09 Michal Gorny (mgorny)
2013-01-05 10:02 Michal Gorny (mgorny)
2013-01-05 10:00 Michal Gorny (mgorny)
2013-01-04 3:12 Mike Gilbert (floppym)
2012-12-27 22:57 Michal Gorny (mgorny)
2012-12-09 20:56 Michal Gorny (mgorny)
2012-12-07 22:23 Michal Gorny (mgorny)
2012-12-07 21:09 Michal Gorny (mgorny)
2012-12-07 17:59 Michal Gorny (mgorny)
2012-12-07 17:57 Michal Gorny (mgorny)
2012-12-07 17:56 Michal Gorny (mgorny)
2012-12-01 10:54 Michal Gorny (mgorny)
2012-12-01 10:53 Michal Gorny (mgorny)
2012-12-01 10:52 Michal Gorny (mgorny)
2012-11-01 12:19 Michal Gorny (mgorny)
2012-10-29 13:30 Michal Gorny (mgorny)
2012-10-29 9:54 Michal Gorny (mgorny)
2012-10-29 9:49 Michal Gorny (mgorny)
2012-10-25 17:42 Michal Gorny (mgorny)
2012-10-15 12:51 Michal Gorny (mgorny)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150716142939.B5CB061D@oystercatcher.gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox