1 |
sping 09/10/03 17:22:17 |
2 |
|
3 |
Modified: developersguide.xml |
4 |
Log: |
5 |
Make use of python_get_sitedir (bug 282992) |
6 |
|
7 |
Revision Changes Path |
8 |
1.11 xml/htdocs/proj/en/Python/developersguide.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/Python/developersguide.xml?rev=1.11&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/Python/developersguide.xml?rev=1.11&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/Python/developersguide.xml?r1=1.10&r2=1.11 |
13 |
|
14 |
Index: developersguide.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/Python/developersguide.xml,v |
17 |
retrieving revision 1.10 |
18 |
retrieving revision 1.11 |
19 |
diff -u -r1.10 -r1.11 |
20 |
--- developersguide.xml 20 Jun 2008 18:46:27 -0000 1.10 |
21 |
+++ developersguide.xml 3 Oct 2009 17:22:17 -0000 1.11 |
22 |
@@ -1,7 +1,7 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
|
26 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/Python/developersguide.xml,v 1.10 2008/06/20 18:46:27 pythonhead Exp $ --> |
27 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/Python/developersguide.xml,v 1.11 2009/10/03 17:22:17 sping Exp $ --> |
28 |
|
29 |
<guide link="/proj/en/Python/developersguide.xml" lang="en"> |
30 |
<title>Gentoo Python Developers Guide</title> |
31 |
@@ -155,8 +155,7 @@ |
32 |
[...] |
33 |
|
34 |
<stmt>pkg_postinst()</stmt> { |
35 |
- <keyword>python_version</keyword> |
36 |
- <keyword>python_mod_optimize</keyword> /usr/$(get_libdir)/python<var>${PYVER}</var>/site-packages/YOURPACKAGE |
37 |
+ <keyword>python_mod_optimize</keyword> $(python_get_sitedir)/YOURPACKAGE |
38 |
} |
39 |
|
40 |
<stmt>pkg_postrm()</stmt> { |
41 |
@@ -198,7 +197,7 @@ |
42 |
<pre caption="PYTHON_MODNAME usage (example from ipython-0.7.3.ebuild)"> |
43 |
<comment># Copyright 1999-2007 Gentoo Foundation</comment> |
44 |
<comment># Distributed under the terms of the GNU General Public License v2</comment> |
45 |
-<comment># $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/Python/developersguide.xml,v 1.10 2008/06/20 18:46:27 pythonhead Exp $</comment> |
46 |
+<comment># $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/Python/developersguide.xml,v 1.11 2009/10/03 17:22:17 sping Exp $</comment> |
47 |
|
48 |
<ident>NEED_PYTHON</ident>=2.3 |