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