/[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.16 Revision 1.17
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.16 2012/05/04 08:31:43 nelchael Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/python-distutils-ng.eclass,v 1.17 2012/05/05 18:00:21 floppym 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:
179 compile_flags="--compile" ;; 179 compile_flags="--compile" ;;
180 esac 180 esac
181 181
182 unset PYTHONDONTWRITEBYTECODE 182 unset PYTHONDONTWRITEBYTECODE
183 [[ -n "${PYTHON_DISABLE_COMPILATION}" ]] && compile_flags="--no-compile" 183 [[ -n "${PYTHON_DISABLE_COMPILATION}" ]] && compile_flags="--no-compile"
184 "${PYTHON}" setup.py install ${compile_flags} --root="${D%/}/" || die 184 "${PYTHON}" setup.py install ${compile_flags} --root="${D}" || die
185} 185}
186 186
187# @FUNCTION: python-distutils-ng_redoscript 187# @FUNCTION: python-distutils-ng_redoscript
188# @USAGE: script_file_path [destination_directory] 188# @USAGE: script_file_path [destination_directory]
189# @DESCRIPTION: 189# @DESCRIPTION:

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20