Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/epix: epix-1.2.8.ebuild ChangeLog
Date: Wed, 27 Jul 2011 21:33:09
Message-Id: 20110727213253.6193A2004B@flycatcher.gentoo.org
1 bicatali 11/07/27 21:32:53
2
3 Modified: ChangeLog
4 Added: epix-1.2.8.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.10.7/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.35 sci-visualization/epix/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.35&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.35&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/epix/ChangeLog?r1=1.34&r2=1.35
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v
20 retrieving revision 1.34
21 retrieving revision 1.35
22 diff -u -r1.34 -r1.35
23 --- ChangeLog 4 May 2010 22:38:17 -0000 1.34
24 +++ ChangeLog 27 Jul 2011 21:32:53 -0000 1.35
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-visualization/epix
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.34 2010/05/04 22:38:17 bicatali Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.35 2011/07/27 21:32:53 bicatali Exp $
31 +
32 +*epix-1.2.8 (27 Jul 2011)
33 +
34 + 27 Jul 2011; Sébastien Fabbro <bicatali@g.o> +epix-1.2.8.ebuild:
35 + Version bump
36
37 *epix-1.2.7 (04 May 2010)
38
39
40
41
42 1.1 sci-visualization/epix/epix-1.2.8.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/epix/epix-1.2.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/epix/epix-1.2.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: epix-1.2.8.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/epix-1.2.8.ebuild,v 1.1 2011/07/27 21:32:53 bicatali Exp $
52
53 EAPI=4
54 inherit elisp-common bash-completion autotools
55
56 DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)"
57 HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html"
58 SRC_URI="http://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2"
59 LICENSE="GPL-2"
60
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="doc emacs examples"
64
65 DEPEND="virtual/latex-base
66 || ( ( dev-texlive/texlive-pstricks
67 dev-texlive/texlive-pictures
68 dev-texlive/texlive-latexextra
69 dev-tex/xcolor )
70 app-text/ptex )
71 emacs? ( virtual/emacs )"
72 RDEPEND="${DEPEND}"
73 SITEFILE=50${PN}-gentoo.el
74
75 src_prepare() {
76 # disable automatic install of doc and examples
77 epatch "${FILESDIR}"/${PN}-1.2.7-doc-gentoo.patch
78 eautoreconf
79 }
80
81 src_configure() {
82 econf \
83 --docdir=/usr/share/doc/${PF} \
84 --disable-epix-el
85 }
86
87 src_install() {
88 default
89 if use emacs; then
90 # do compilation here as the make install target will
91 # create the .el file
92 elisp-compile *.el || die "elisp-compile failed!"
93 elisp-install ${PN} *.elc *.el || die "elisp-install failed!"
94 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
95 fi
96 dobashcompletion bash_completions
97 if use doc; then
98 insinto /usr/share/doc/${PF}
99 doins doc/*gz
100 fi
101 if use examples; then
102 cd samples
103 insinto /usr/share/doc/${PF}/examples
104 doins *.xp *.flx *c *h README
105 fi
106 }
107
108 pkg_postinst() {
109 use emacs && elisp-site-regen
110 }
111
112 pkg_postrm() {
113 use emacs && elisp-site-regen
114 }