1 |
commit: d109462977ea81362681fb176ad26091095858ed |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Nov 2 18:14:52 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 8 12:26:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1094629 |
7 |
|
8 |
app-emacs/pariemacs: EAPI 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/704752 |
11 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
12 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/22798 |
14 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
15 |
|
16 |
...iemacs-3.14.ebuild => pariemacs-3.14-r1.ebuild} | 31 +++++++++++----------- |
17 |
1 file changed, 16 insertions(+), 15 deletions(-) |
18 |
|
19 |
diff --git a/app-emacs/pariemacs/pariemacs-3.14.ebuild b/app-emacs/pariemacs/pariemacs-3.14-r1.ebuild |
20 |
similarity index 56% |
21 |
rename from app-emacs/pariemacs/pariemacs-3.14.ebuild |
22 |
rename to app-emacs/pariemacs/pariemacs-3.14-r1.ebuild |
23 |
index aa608c9b7ea..e94c56789e5 100644 |
24 |
--- a/app-emacs/pariemacs/pariemacs-3.14.ebuild |
25 |
+++ b/app-emacs/pariemacs/pariemacs-3.14-r1.ebuild |
26 |
@@ -1,38 +1,39 @@ |
27 |
-# Copyright 1999-2018 Gentoo Foundation |
28 |
+# Copyright 1999-2021 Gentoo Authors |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
|
31 |
-EAPI=6 |
32 |
+EAPI=8 |
33 |
|
34 |
inherit elisp |
35 |
|
36 |
DESCRIPTION="sci-mathematics/pari emacs mode" |
37 |
HOMEPAGE="http://iml.univ-mrs.fr/~ramare/ServeurPerso/GP-PARI/" |
38 |
+SRC_URI="http://iml.univ-mrs.fr/~ramare/ServeurPerso/GP-PARI/latest-pari-distrib/${P}.tar.gz" |
39 |
+S="${WORKDIR}" |
40 |
+ |
41 |
LICENSE="GPL-2" |
42 |
SLOT="0" |
43 |
KEYWORDS="~amd64 ~x86" |
44 |
-IUSE="" |
45 |
-SRC_URI="http://iml.univ-mrs.fr/~ramare/ServeurPerso/GP-PARI/latest-pari-distrib/${P}.tar.gz" |
46 |
|
47 |
RDEPEND="sci-mathematics/pari" |
48 |
DEPEND="${RDEPEND}" |
49 |
|
50 |
-S="${WORKDIR}" |
51 |
SITEFILE="64${PN}-gentoo.el" |
52 |
DOCS="README CHANGES" |
53 |
+PATCHES=( "${FILESDIR}/${P}-makefile.patch" ) |
54 |
|
55 |
src_prepare() { |
56 |
- eapply "${FILESDIR}"/${P}-makefile.patch |
57 |
- eapply_user |
58 |
- if [ -f /usr/share/doc/pari-*/pari.cfg ]; then |
59 |
- cp /usr/share/doc/pari-*/pari.cfg . |
60 |
- elif [ -f /usr/share/doc/pari-*/pari.cfg.bz2 ]; then |
61 |
- cp /usr/share/doc/pari-*/pari.cfg.bz2 . |
62 |
- bunzip2 pari.cfg.bz2 |
63 |
- else die "pari.cfg not found" |
64 |
+ default |
65 |
+ if [ -f /usr/share/pari/pari.cfg ]; then |
66 |
+ cp /usr/share/pari/pari.cfg . || die |
67 |
+ elif [ -f /usr/share/pari/pari.cfg.bz2 ]; then |
68 |
+ cp /usr/share/pari/pari.cfg.bz2 . || die |
69 |
+ bunzip2 pari.cfg.bz2 || die |
70 |
+ else |
71 |
+ die "pari.cfg not found" |
72 |
fi |
73 |
} |
74 |
|
75 |
src_compile() { |
76 |
- make pari-conf.el |
77 |
- make elc |
78 |
+ emake pari-conf.el |
79 |
+ emake elc |
80 |
} |