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: ChangeLog epix-1.2.9.ebuild epix-1.2.7.ebuild
Date: Sun, 27 Nov 2011 05:55:18
Message-Id: 20111127055507.3977A2004B@flycatcher.gentoo.org
1 bicatali 11/11/27 05:55:07
2
3 Modified: ChangeLog
4 Added: epix-1.2.9.ebuild
5 Removed: epix-1.2.7.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.1.10.37/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.38 sci-visualization/epix/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.38&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/epix/ChangeLog?rev=1.38&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/epix/ChangeLog?r1=1.37&r2=1.38
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v
21 retrieving revision 1.37
22 retrieving revision 1.38
23 diff -u -r1.37 -r1.38
24 --- ChangeLog 5 Oct 2011 18:41:37 -0000 1.37
25 +++ ChangeLog 27 Nov 2011 05:55:07 -0000 1.38
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-visualization/epix
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.37 2011/10/05 18:41:37 aballier Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/ChangeLog,v 1.38 2011/11/27 05:55:07 bicatali Exp $
31 +
32 +*epix-1.2.9 (27 Nov 2011)
33 +
34 + 27 Nov 2011; Sébastien Fabbro <bicatali@g.o> -epix-1.2.7.ebuild,
35 + +epix-1.2.9.ebuild:
36 + Version bump
37
38 05 Oct 2011; Alexis Ballier <aballier@g.o> epix-1.2.6.ebuild,
39 epix-1.2.7.ebuild, epix-1.2.8.ebuild:
40
41
42
43 1.1 sci-visualization/epix/epix-1.2.9.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/epix/epix-1.2.9.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/epix/epix-1.2.9.ebuild?rev=1.1&content-type=text/plain
47
48 Index: epix-1.2.9.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/epix/epix-1.2.9.ebuild,v 1.1 2011/11/27 05:55:07 bicatali Exp $
53
54 EAPI=4
55 inherit elisp-common bash-completion-r1 autotools
56
57 DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)"
58 HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html"
59 SRC_URI="http://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2"
60 LICENSE="GPL-2"
61
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="doc emacs examples"
65
66 DEPEND="virtual/latex-base
67 dev-texlive/texlive-pstricks
68 dev-texlive/texlive-pictures
69 dev-texlive/texlive-latexextra
70 dev-tex/xcolor
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="${EPREFIX}"/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 dobashcomp 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 }