diff options
author | Michał Górny <mgorny@gentoo.org> | 2012-11-26 08:31:26 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2012-11-26 08:31:26 +0000 |
commit | 4cb99eba28a32a525764ac732e9b91df0c9eb1a6 (patch) | |
tree | 4d7a67e2c5bf4023328d934ad39a2eb69f7a8c0e /eclass/python-single-r1.eclass | |
parent | Version bump to fix location of libexecdir (bug #437146). Removed old versions (diff) | |
download | historical-4cb99eba28a32a525764ac732e9b91df0c9eb1a6.tar.gz historical-4cb99eba28a32a525764ac732e9b91df0c9eb1a6.tar.bz2 historical-4cb99eba28a32a525764ac732e9b91df0c9eb1a6.zip |
Override incompatible functions in python-single-r1 directly, instead of adding checks to python-r1.
Diffstat (limited to 'eclass/python-single-r1.eclass')
-rw-r--r-- | eclass/python-single-r1.eclass | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/eclass/python-single-r1.eclass b/eclass/python-single-r1.eclass index d0f6df3c14d6..125dc16ae39f 100644 --- a/eclass/python-single-r1.eclass +++ b/eclass/python-single-r1.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v 1.2 2012/11/24 21:07:14 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/python-single-r1.eclass,v 1.3 2012/11/26 08:31:26 mgorny Exp $ # @ECLASS: python-single-r1 # @MAINTAINER: @@ -98,5 +98,19 @@ python-single-r1_pkg_setup() { done } +# Incompatible python-r1 functions. + +python_copy_sources() { + die "${FUNCNAME} must not be used with python-single-r1 eclass." +} + +python_foreach_impl() { + die "${FUNCNAME} must not be used with python-single-r1 eclass." +} + +python_export_best() { + die "${FUNCNAME} must not be used with python-single-r1 eclass." +} + _PYTHON_SINGLE_R1=1 fi |