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

Diff of /eclass/python.eclass

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

Revision 1.110 Revision 1.111
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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/python.eclass,v 1.110 2011/03/10 17:49:49 arfrever Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.111 2011/07/04 10:48:01 djc Exp $
4 4
5# @ECLASS: python.eclass 5# @ECLASS: python.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Gentoo Python Project <python@gentoo.org> 7# Gentoo Python Project <python@gentoo.org>
8# @BLURB: Eclass for Python packages 8# @BLURB: Eclass for Python packages
2831} 2831}
2832 2832
2833# ================================================================================================ 2833# ================================================================================================
2834# ===================================== DEPRECATED FUNCTIONS ===================================== 2834# ===================================== DEPRECATED FUNCTIONS =====================================
2835# ================================================================================================ 2835# ================================================================================================
2836
2837# Scheduled for deletion on 2011-01-01.
2838python_version() {
2839 eerror "Use PYTHON() instead of python variable. Use python_get_*() instead of PYVER* variables."
2840 die "${FUNCNAME}() is banned"
2841}
2842
2843# Scheduled for deletion on 2011-01-01.
2844python_mod_exists() {
2845 eerror "Use USE dependencies and/or has_version() instead of ${FUNCNAME}()."
2846 die "${FUNCNAME}() is banned"
2847}
2848
2849# Scheduled for deletion on 2011-01-01.
2850python_tkinter_exists() {
2851 eerror "Use PYTHON_USE_WITH=\"xml\" and python_pkg_setup() instead of ${FUNCNAME}()."
2852 die "${FUNCNAME}() is banned"
2853}
2854
2855# Scheduled for deletion on 2011-04-01.
2856python_mod_compile() {
2857 eerror "Use python_mod_optimize() instead of ${FUNCNAME}()."
2858 die "${FUNCNAME}() is banned"
2859}

Legend:
Removed from v.1.110  
changed lines
  Added in v.1.111

  ViewVC Help
Powered by ViewVC 1.1.20