1 |
markusle 07/09/22 12:44:21 |
2 |
|
3 |
Modified: pari-2.3.2.ebuild ChangeLog |
4 |
Log: |
5 |
Fixed pari's emacs support (see bug #193378). |
6 |
(Portage version: 2.1.3.9) |
7 |
|
8 |
Revision Changes Path |
9 |
1.4 sci-mathematics/pari/pari-2.3.2.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/pari-2.3.2.ebuild?rev=1.4&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/pari-2.3.2.ebuild?rev=1.4&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/pari-2.3.2.ebuild?r1=1.3&r2=1.4 |
14 |
|
15 |
Index: pari-2.3.2.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.2.ebuild,v |
18 |
retrieving revision 1.3 |
19 |
retrieving revision 1.4 |
20 |
diff -u -r1.3 -r1.4 |
21 |
--- pari-2.3.2.ebuild 15 Sep 2007 12:38:36 -0000 1.3 |
22 |
+++ pari-2.3.2.ebuild 22 Sep 2007 12:44:21 -0000 1.4 |
23 |
@@ -1,10 +1,10 @@ |
24 |
# Copyright 1999-2007 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.2.ebuild,v 1.3 2007/09/15 12:38:36 markusle Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/pari-2.3.2.ebuild,v 1.4 2007/09/22 12:44:21 markusle Exp $ |
28 |
|
29 |
-inherit eutils toolchain-funcs flag-o-matic |
30 |
+inherit elisp-common eutils flag-o-matic multilib toolchain-funcs |
31 |
|
32 |
-DESCRIPTION="pari (or pari-gp) : a software package for computer-aided number theory" |
33 |
+DESCRIPTION="A software package for computer-aided number theory" |
34 |
HOMEPAGE="http://pari.math.u-bordeaux.fr/" |
35 |
SRC_URI="http://pari.math.u-bordeaux.fr/pub/pari/unix/${P}.tar.gz" |
36 |
|
37 |
@@ -15,7 +15,9 @@ |
38 |
|
39 |
DEPEND="doc? ( virtual/tetex ) |
40 |
sys-libs/readline |
41 |
- X? ( x11-libs/libX11 )" |
42 |
+ X? ( x11-libs/libX11 ) |
43 |
+ emacs? ( virtual/emacs )" |
44 |
+SITEFILE=50${PN}-gentoo.el |
45 |
|
46 |
src_unpack() { |
47 |
unpack ${A} |
48 |
@@ -66,6 +68,11 @@ |
49 |
cd "${S}" |
50 |
emake docpdf || die "Failed to generate docs" |
51 |
fi |
52 |
+ |
53 |
+ if use emacs; then |
54 |
+ cd "${S}/emacs" |
55 |
+ elisp-comp *.el || die "elisp-comp failed" |
56 |
+ fi |
57 |
} |
58 |
|
59 |
src_test() { |
60 |
@@ -76,23 +83,31 @@ |
61 |
} |
62 |
|
63 |
src_install() { |
64 |
- make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install || \ |
65 |
+ emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install || \ |
66 |
die "Install failed" |
67 |
|
68 |
if use emacs; then |
69 |
- insinto /usr/share/emacs/site-lisp |
70 |
- doins emacs/pari.el |
71 |
+ elisp-install ${PN} emacs/*.el emacs/*.elc || die "elisp-install failed" |
72 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
73 |
fi |
74 |
|
75 |
dodoc AUTHORS Announce.2.1 CHANGES README TODO NEW |
76 |
if use doc; then |
77 |
- make DESTDIR=${D} LIBDIR=${D}/usr/$(get_libdir) install-doc \ |
78 |
+ emake DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install-doc \ |
79 |
|| die "Failed to install docs" |
80 |
insinto /usr/share/doc/${PF} |
81 |
doins doc/*.pdf || die "Failed to install pdf docs" |
82 |
fi |
83 |
|
84 |
#remove superfluous doc directory |
85 |
- rm -fr ${D}/usr/share/${P}/doc || \ |
86 |
+ rm -fr "${D}/usr/share/${P}/doc" || \ |
87 |
die "Failed to clean up doc directory" |
88 |
} |
89 |
+ |
90 |
+pkg_postinst() { |
91 |
+ use emacs && elisp-site-regen |
92 |
+} |
93 |
+ |
94 |
+pkg_postrm() { |
95 |
+ use emacs && elisp-site-regen |
96 |
+} |
97 |
|
98 |
|
99 |
|
100 |
1.45 sci-mathematics/pari/ChangeLog |
101 |
|
102 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/ChangeLog?rev=1.45&view=markup |
103 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/ChangeLog?rev=1.45&content-type=text/plain |
104 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/pari/ChangeLog?r1=1.44&r2=1.45 |
105 |
|
106 |
Index: ChangeLog |
107 |
=================================================================== |
108 |
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v |
109 |
retrieving revision 1.44 |
110 |
retrieving revision 1.45 |
111 |
diff -u -r1.44 -r1.45 |
112 |
--- ChangeLog 15 Sep 2007 12:38:36 -0000 1.44 |
113 |
+++ ChangeLog 22 Sep 2007 12:44:21 -0000 1.45 |
114 |
@@ -1,6 +1,11 @@ |
115 |
# ChangeLog for sci-mathematics/pari |
116 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
117 |
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.44 2007/09/15 12:38:36 markusle Exp $ |
118 |
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/pari/ChangeLog,v 1.45 2007/09/22 12:44:21 markusle Exp $ |
119 |
+ |
120 |
+ 22 Sep 2007; Markus Dittrich <markusle@g.o> |
121 |
+ +files/50pari-gentoo.el, pari-2.3.2.ebuild: |
122 |
+ Fixed pari's emacs support (see bug #193378). Thanks much to |
123 |
+ Christian Faulhammer <opfer@g.o> for his patches. |
124 |
|
125 |
15 Sep 2007; Markus Dittrich <markusle@g.o> pari-2.3.2.ebuild: |
126 |
Added fix to allow test routines to pass on sparc (see bug #141206). |
127 |
|
128 |
|
129 |
|
130 |
-- |
131 |
gentoo-commits@g.o mailing list |