/[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.18 Revision 1.19
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.18 2012/05/05 18:03:33 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/python-distutils-ng.eclass,v 1.19 2012/05/06 03:20:45 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:
9# Author: Krzysztof Pawlik <nelchael@gentoo.org> 9# Author: Krzysztof Pawlik <nelchael@gentoo.org>
10# @BLURB: An eclass for installing Python packages using distutils with proper 10# @BLURB: Install Python packages using distutils.
11# support for multiple Python slots.
12# @DESCRIPTION: 11# @DESCRIPTION:
13# The Python eclass is designed to allow an easier installation of Python 12# The Python eclass is designed to allow an easier installation of Python
14# packages and their incorporation into the Gentoo Linux system. 13# packages and their incorporation into the Gentoo Linux system.
15# 14#
16# This eclass provides functions for following phases: 15# This eclass provides functions for following phases:
26# - src_install - you can define python_install function that will be run for 25# - src_install - you can define python_install function that will be run for
27# each implementation and python_install_all that will be run in original 26# each implementation and python_install_all that will be run in original
28# directory (so it will not contain any implementation-specific files) 27# directory (so it will not contain any implementation-specific files)
29 28
30# @ECLASS-VARIABLE: PYTHON_COMPAT 29# @ECLASS-VARIABLE: PYTHON_COMPAT
30# @DEFAULT_UNSET
31# @DESCRIPTION: 31# @DESCRIPTION:
32# This variable contains a space separated list of implementations (see above) a 32# This variable contains a space separated list of implementations (see above) a
33# package is compatible to. It must be set before the `inherit' call. The 33# package is compatible to. It must be set before the `inherit' call. The
34# default is to enable all implementations. 34# default is to enable all implementations.
35 35
40 PYTHON_COMPAT+=" jython2_5" 40 PYTHON_COMPAT+=" jython2_5"
41 PYTHON_COMPAT+=" pypy1_7 pypy1_8" 41 PYTHON_COMPAT+=" pypy1_7 pypy1_8"
42fi 42fi
43 43
44# @ECLASS-VARIABLE: PYTHON_OPTIONAL 44# @ECLASS-VARIABLE: PYTHON_OPTIONAL
45# @DEFAULT_UNSET
45# @DESCRIPTION: 46# @DESCRIPTION:
46# Set the value to "yes" to make the dependency on a Python interpreter 47# Set the value to "yes" to make the dependency on a Python interpreter
47# optional. 48# optional.
48 49
49# @ECLASS-VARIABLE: PYTHON_DISABLE_COMPILATION 50# @ECLASS-VARIABLE: PYTHON_DISABLE_COMPILATION
51# @DEFAULT_UNSET
50# @DESCRIPTION: 52# @DESCRIPTION:
51# Set the value to "yes" to skip compilation and/or optimization of Python 53# Set the value to "yes" to skip compilation and/or optimization of Python
52# modules. 54# modules.
53 55
54EXPORT_FUNCTIONS pkg_pretend src_prepare src_configure src_compile src_test src_install 56EXPORT_FUNCTIONS pkg_pretend src_prepare src_configure src_compile src_test src_install

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20