Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-visualization/epix/
Date: Fri, 16 Jul 2021 23:44:44
Message-Id: 1626479011.4db6ac88ab2aa4ac289513152bccb42eaa99e31c.soap@gentoo
1 commit: 4db6ac88ab2aa4ac289513152bccb42eaa99e31c
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 16 23:43:31 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 16 23:43:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db6ac88
7
8 sci-visualization/epix: cleanup
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 sci-visualization/epix/epix-1.2.19.ebuild | 24 ++++++++++++------------
14 1 file changed, 12 insertions(+), 12 deletions(-)
15
16 diff --git a/sci-visualization/epix/epix-1.2.19.ebuild b/sci-visualization/epix/epix-1.2.19.ebuild
17 index 9324913332a..f8355a91afb 100644
18 --- a/sci-visualization/epix/epix-1.2.19.ebuild
19 +++ b/sci-visualization/epix/epix-1.2.19.ebuild
20 @@ -3,14 +3,14 @@
21
22 EAPI=7
23
24 -inherit elisp-common bash-completion-r1 autotools
25 +inherit autotools bash-completion-r1 elisp-common
26
27 DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)"
28 HOMEPAGE="https://mathcs.holycross.edu/~ahwang/current/ePiX.html"
29 SRC_URI="https://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2"
30
31 -SLOT="0"
32 LICENSE="GPL-2"
33 +SLOT="0"
34 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
35 IUSE="doc emacs examples"
36
37 @@ -24,9 +24,7 @@ DEPEND="
38 RDEPEND="${DEPEND}"
39 SITEFILE=50${PN}-gentoo.el
40
41 -PATCHES=(
42 - "${FILESDIR}/${P}-autotools.patch"
43 -)
44 +PATCHES=( "${FILESDIR}"/${P}-autotools.patch )
45
46 src_prepare() {
47 default
48 @@ -34,26 +32,28 @@ src_prepare() {
49 }
50
51 src_configure() {
52 - econf \
53 - --docdir="${EPREFIX}/usr/share/doc/${PF}" \
54 - --disable-epix-el
55 + econf --disable-epix-el
56 }
57
58 src_install() {
59 default
60 +
61 + newbashcomp bash_completions epix
62 + bashcomp_alias epix flix elaps laps
63 +
64 if use emacs; then
65 # do compilation here as the make install target will
66 # create the .el file
67 - elisp-compile *.el || die "elisp-compile failed!"
68 - elisp-install ${PN} *.elc *.el || die "elisp-install failed!"
69 + elisp-compile *.el
70 + elisp-install ${PN} *.elc *.el
71 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
72 fi
73 - newbashcomp bash_completions epix
74 - bashcomp_alias epix flix elaps laps
75 +
76 if use doc; then
77 dodoc doc/*gz
78 docompress -x /usr/share/doc/${PF}/manual{.pdf,.ps,_src.tar}.gz
79 fi
80 +
81 if use examples; then
82 cd samples || die
83 docinto examples