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

Diff of /eclass/python.eclass

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

Revision 1.51 Revision 1.52
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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.51 2008/10/26 21:54:32 hawking Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.52 2008/10/27 00:17:28 hawking Exp $
4 4
5# @ECLASS: python.eclass 5# @ECLASS: python.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# python@gentoo.org 7# python@gentoo.org
8# 8#
88 unset PYTHON_DONTCOMPILE 88 unset PYTHON_DONTCOMPILE
89 fi 89 fi
90} 90}
91 91
92python_disable_pyc 92python_disable_pyc
93
94# @FUNCTION: python_need_rebuild
95# @DESCRIPTION: Run without arguments, specifies that the package should be
96# rebuilt after a python upgrade.
97python_need_rebuild() {
98 python_version
99 export PYTHON_NEED_REBUILD=${PYVER}
100}
93 101
94# @FUNCTION: python_get_libdir 102# @FUNCTION: python_get_libdir
95# @DESCRIPTION: 103# @DESCRIPTION:
96# Run without arguments, returns the python library dir 104# Run without arguments, returns the python library dir
97python_get_libdir() { 105python_get_libdir() {

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

  ViewVC Help
Powered by ViewVC 1.1.20