1 |
arfrever 10/06/04 17:03:33 |
2 |
|
3 |
Modified: ChangeLog pyxplot-0.7.1.ebuild |
4 |
Log: |
5 |
Use Python 2. Delete call to deprecated python_version(). |
6 |
(Portage version: HEAD/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.17 sci-visualization/pyxplot/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/pyxplot/ChangeLog?rev=1.17&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/pyxplot/ChangeLog?rev=1.17&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/pyxplot/ChangeLog?r1=1.16&r2=1.17 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v |
18 |
retrieving revision 1.16 |
19 |
retrieving revision 1.17 |
20 |
diff -u -r1.16 -r1.17 |
21 |
--- ChangeLog 4 Feb 2010 16:55:44 -0000 1.16 |
22 |
+++ ChangeLog 4 Jun 2010 17:03:33 -0000 1.17 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for sci-visualization/pyxplot |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v 1.16 2010/02/04 16:55:44 hwoarang Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/ChangeLog,v 1.17 2010/06/04 17:03:33 arfrever Exp $ |
28 |
+ |
29 |
+ 04 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
30 |
+ pyxplot-0.7.1.ebuild: |
31 |
+ Use Python 2. Delete call to deprecated python_version(). |
32 |
|
33 |
04 Feb 2010; Markos Chandras <hwoarang@g.o> pyxplot-0.7.1.ebuild: |
34 |
Stable on amd64 wrt bug #270481 |
35 |
|
36 |
|
37 |
|
38 |
1.4 sci-visualization/pyxplot/pyxplot-0.7.1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.7.1.ebuild?rev=1.4&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.7.1.ebuild?rev=1.4&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.7.1.ebuild?r1=1.3&r2=1.4 |
43 |
|
44 |
Index: pyxplot-0.7.1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.7.1.ebuild,v |
47 |
retrieving revision 1.3 |
48 |
retrieving revision 1.4 |
49 |
diff -u -r1.3 -r1.4 |
50 |
--- pyxplot-0.7.1.ebuild 4 Feb 2010 16:55:44 -0000 1.3 |
51 |
+++ pyxplot-0.7.1.ebuild 4 Jun 2010 17:03:33 -0000 1.4 |
52 |
@@ -1,8 +1,10 @@ |
53 |
# Copyright 1999-2010 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.7.1.ebuild,v 1.3 2010/02/04 16:55:44 hwoarang Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/pyxplot/pyxplot-0.7.1.ebuild,v 1.4 2010/06/04 17:03:33 arfrever Exp $ |
57 |
+ |
58 |
+EAPI="2" |
59 |
+PYTHON_DEPEND="2" |
60 |
|
61 |
-EAPI=2 |
62 |
inherit eutils python |
63 |
|
64 |
DESCRIPTION="Gnuplot like graphing program publication-quality figures" |
65 |
@@ -21,11 +23,15 @@ |
66 |
|
67 |
S="${WORKDIR}/${PN}" |
68 |
|
69 |
+pkg_setup() { |
70 |
+ python_set_active_version 2 |
71 |
+ python_pkg_setup |
72 |
+} |
73 |
+ |
74 |
src_prepare() { |
75 |
- python_version |
76 |
sed -i \ |
77 |
-e "s:^\(USRDIR=\).*:\1/usr:g" \ |
78 |
- -e "s:^\(SRCDIR=\).*:\1/usr/$(get_libdir)/python${PYVER}/${PN}:g" \ |
79 |
+ -e "s:^\(SRCDIR=\).*:\1$(python_get_sitedir)/${PN}:g" \ |
80 |
-e 's:^\(MANDIR=\).*:\1${USRDIR}/share/man/man1:g' \ |
81 |
-e "s:^\(DOCDIR=\).*:\1\${USRDIR}/share/doc/${PF}:g" \ |
82 |
-e '/install:/,$s:${\(SRC\|BIN\|DOC\|MAN\)DIR:${DESTDIR}/${\1DIR:g' \ |