/[gentoo-x86]/eclass/python-distutils-ng.eclass
Gentoo

Diff of /eclass/python-distutils-ng.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.12 Revision 1.13
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/python-distutils-ng.eclass,v 1.12 2012/04/30 08:25:31 nelchael Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/python-distutils-ng.eclass,v 1.13 2012/04/30 09:51:00 nelchael Exp $
4 4
5# @ECLASS: python-distutils-ng 5# @ECLASS: python-distutils-ng
6# @MAINTAINER: 6# @MAINTAINER:
7# Python herd <python@gentoo.org> 7# Python herd <python@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
302} 302}
303 303
304# Phase function: pkg_pretend 304# Phase function: pkg_pretend
305python-distutils-ng_pkg_pretend() { 305python-distutils-ng_pkg_pretend() {
306 if has "collision-protect" ${FEATURES}; then 306 if has "collision-protect" ${FEATURES}; then
307 eerror "Due to previous eclass compiling Python files outside of src_install" 307 ewarn "Due to previous eclass compiling Python files outside of src_install"
308 eerror "(and not recording resulting .pyc and .pyo files as owned by any package)" 308 ewarn "(and not recording resulting .pyc and .pyo files as owned by any package)"
309 eerror "merging this package with \"collision-protect\" in FEATURES will result" 309 ewarn "merging this package with \"collision-protect\" in FEATURES may result"
310 eerror "in an error, please switch to using \"protect-owned\" instead." 310 ewarn "in an error, please switch to using \"protect-owned\" instead."
311 die "\"collision-protect\" in FEATURES detected"
312 fi 311 fi
313} 312}
314 313
315# Phase function: src_prepare 314# Phase function: src_prepare
316python-distutils-ng_src_prepare() { 315python-distutils-ng_src_prepare() {

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20