1 |
pythonhead 08/08/01 22:22:21 |
2 |
|
3 |
Modified: python.eclass |
4 |
Log: |
5 |
Renamed get_python_ funcs to python_get_ |
6 |
|
7 |
Revision Changes Path |
8 |
1.43 eclass/python.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?rev=1.43&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?rev=1.43&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/python.eclass?r1=1.42&r2=1.43 |
13 |
|
14 |
Index: python.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/python.eclass,v |
17 |
retrieving revision 1.42 |
18 |
retrieving revision 1.43 |
19 |
diff -u -r1.42 -r1.43 |
20 |
--- python.eclass 28 Jul 2008 21:56:40 -0000 1.42 |
21 |
+++ python.eclass 1 Aug 2008 22:22:21 -0000 1.43 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2008 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.42 2008/07/28 21:56:40 pythonhead Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.43 2008/08/01 22:22:21 pythonhead Exp $ |
27 |
|
28 |
# @ECLASS: python.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -80,19 +80,19 @@ |
31 |
__python_version_extract $PYVER_ALL |
32 |
} |
33 |
|
34 |
-# @FUNCTION: get_python_libdir |
35 |
-# @DESCRIPTION: |
36 |
+# @FUNCTION: python_get_libdir |
37 |
+# @DESCRIPTION: |
38 |
# Run without arguments, returns the python library dir |
39 |
-get_python_libdir() { |
40 |
+python_get_libdir() { |
41 |
python_version |
42 |
echo "/usr/$(get_libdir)/python${PYVER}" |
43 |
} |
44 |
|
45 |
-# @FUNCTION: get_python_sitedir |
46 |
-# @DESCRIPTION: |
47 |
+# @FUNCTION: python_get_sitedir |
48 |
+# @DESCRIPTION: |
49 |
# Run without arguments, returns the python site-packages dir |
50 |
-get_python_sitedir() { |
51 |
- echo "$(get_python_libdir)/site-packages" |
52 |
+python_get_sitedir() { |
53 |
+ echo "$(python_get_libdir)/site-packages" |
54 |
} |
55 |
|
56 |
# @FUNCTION: python_makesym |