1 |
grozin 08/05/27 21:09:44 |
2 |
|
3 |
Modified: ChangeLog qtiplot-0.9.6.2.ebuild |
4 |
Log: |
5 |
Python files are now installed to the proper place and compiled (bugs #223671, #223673) |
6 |
(Portage version: 2.1.4.4) |
7 |
|
8 |
Revision Changes Path |
9 |
1.27 sci-visualization/qtiplot/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.27&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?rev=1.27&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/ChangeLog?r1=1.26&r2=1.27 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v |
18 |
retrieving revision 1.26 |
19 |
retrieving revision 1.27 |
20 |
diff -u -r1.26 -r1.27 |
21 |
--- ChangeLog 24 May 2008 17:02:04 -0000 1.26 |
22 |
+++ ChangeLog 27 May 2008 21:09:44 -0000 1.27 |
23 |
@@ -1,6 +1,11 @@ |
24 |
# ChangeLog for sci-visualization/qtiplot |
25 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.26 2008/05/24 17:02:04 grozin Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/ChangeLog,v 1.27 2008/05/27 21:09:44 grozin Exp $ |
28 |
+ |
29 |
+ 28 May 2008; Andrey Grozin <grozin@g.o> |
30 |
+ files/qtiplot-0.9.6.2-pro.patch, qtiplot-0.9.6.2.ebuild: |
31 |
+ Python files are now installed to the proper place and compiled (bugs |
32 |
+ #223671, #223673) |
33 |
|
34 |
25 May 2008; Andrey Grozin <grozin@g.o> |
35 |
files/qtiplot-0.9.6.2-pro.patch: |
36 |
|
37 |
|
38 |
|
39 |
1.4 sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild?rev=1.4&view=markup |
42 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild?rev=1.4&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild?r1=1.3&r2=1.4 |
44 |
|
45 |
Index: qtiplot-0.9.6.2.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild,v |
48 |
retrieving revision 1.3 |
49 |
retrieving revision 1.4 |
50 |
diff -u -r1.3 -r1.4 |
51 |
--- qtiplot-0.9.6.2.ebuild 24 May 2008 09:08:15 -0000 1.3 |
52 |
+++ qtiplot-0.9.6.2.ebuild 27 May 2008 21:09:44 -0000 1.4 |
53 |
@@ -1,9 +1,9 @@ |
54 |
# Copyright 1999-2008 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild,v 1.3 2008/05/24 09:08:15 grozin Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/qtiplot/qtiplot-0.9.6.2.ebuild,v 1.4 2008/05/27 21:09:44 grozin Exp $ |
58 |
|
59 |
EAPI="1" |
60 |
-inherit eutils multilib qt4 fdo-mime |
61 |
+inherit eutils multilib qt4 fdo-mime python |
62 |
|
63 |
DESCRIPTION="Qt based clone of the Origin plotting package" |
64 |
HOMEPAGE="http://soft.proindependent.com/qtiplot.html" |
65 |
@@ -47,9 +47,13 @@ |
66 |
-e '/manual/d'\ |
67 |
-e '/3rd/d' \ |
68 |
qtiplot.pro || die "sed qtiplot.pro failed" |
69 |
+ |
70 |
+ python_version |
71 |
+ |
72 |
sed -i \ |
73 |
-e '/manual/d' \ |
74 |
-e "s:doc/${PN}:doc/${PF}:" \ |
75 |
+ -e "s:local/${PN}:$(get_libdir)/python${PYVER}/site-packages:" \ |
76 |
qtiplot/qtiplot.pro || die " sed for qtiplot/qtiplot.pro failed" |
77 |
|
78 |
if ! use python; then |
79 |
@@ -83,6 +87,7 @@ |
80 |
src_install() { |
81 |
emake INSTALL_ROOT="${D}" install || die 'emake install failed' |
82 |
rm -f "${D}"/usr/share/${PN}/translations/*.ts |
83 |
+ use python && chmod -x "${D}"/usr/$(get_libdir)/python${PYVER}/site-packages/qti_wordlist.txt |
84 |
|
85 |
newicon qtiplot_logo.png qtiplot.png |
86 |
make_desktop_entry qtiplot QtiPlot qtiplot |
87 |
@@ -97,15 +102,25 @@ |
88 |
|
89 |
pkg_postinst() { |
90 |
fdo-mime_desktop_database_update |
91 |
+ |
92 |
+ if use python; then |
93 |
+ python_version |
94 |
+ for pymod in qtiplotrc qtiUtil; do |
95 |
+ python_mod_compile "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/${pymod}.py |
96 |
+ done |
97 |
+ fi |
98 |
+ |
99 |
if use doc; then |
100 |
elog "On the first start, do Help -> Choose Help Folder" |
101 |
elog "and select /usr/share/doc/${PF}/html" |
102 |
- elog "Also do View -> Preferences, in the tab File Locations" |
103 |
- elog "set Python Configuration Files to /usr/share/${PN}" |
104 |
- elog "and Translations to /usr/share/${PN}/translations" |
105 |
fi |
106 |
} |
107 |
|
108 |
pkg_postrm() { |
109 |
fdo-mime_desktop_database_update |
110 |
+ |
111 |
+ if use python; then |
112 |
+ python_version |
113 |
+ python_mod_cleanup |
114 |
+ fi |
115 |
} |
116 |
|
117 |
|
118 |
|
119 |
-- |
120 |
gentoo-commits@l.g.o mailing list |