summaryrefslogtreecommitdiff
path: root/app-emacs/pariemacs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-11-13 13:10:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-11-13 13:10:00 +0000
commite9d044d4b9b71200a96adfa280848858c0f468c9 (patch)
tree1bd8ef816043a8cd340f1d774e79553a1a7d31d8 /app-emacs/pariemacs
parentfc2f1018fc323ef2c6572734a9b130427cba76a6 (diff)
gentoo resync : 13.11.2021
Diffstat (limited to 'app-emacs/pariemacs')
-rw-r--r--app-emacs/pariemacs/Manifest2
-rw-r--r--app-emacs/pariemacs/pariemacs-3.14-r1.ebuild (renamed from app-emacs/pariemacs/pariemacs-3.14.ebuild)31
2 files changed, 17 insertions, 16 deletions
diff --git a/app-emacs/pariemacs/Manifest b/app-emacs/pariemacs/Manifest
index 8812c7a9f62a..6f0bff57c714 100644
--- a/app-emacs/pariemacs/Manifest
+++ b/app-emacs/pariemacs/Manifest
@@ -1,5 +1,5 @@
AUX 64pariemacs-gentoo.el 224 BLAKE2B 8ae37110131dc88c43273313d52e6036c71712b77a08d66bbd4316dd363cd23a3892f35693ab2f446d5600ab480fec6bd567c5280c7632f69f70103d0ff24116 SHA512 3d3304a3b44a686186e1054af3fa55d7881742f62000d968a4651da1cfddb53650b3b690ee0430b684493578fb11d73531ad07a5a8681516d837788262cc9477
AUX pariemacs-3.14-makefile.patch 1487 BLAKE2B a7fa6fa8aea98627a6e9f509376fe0a11e1e8b5db8c5bb6b486c053d6f716500f2ccb189c1cc0cbe49ac68b74d49fb6313a178d7178070365bc19d2ac4ebf96b SHA512 87a3c229561498f7f7256a2b3dfe2abecd6e962d53379cc38fc6a4fe7a86940ba0c4e8ba51c7520480c218c18f48cde90dfdfe7b371db53f1c8c36e2a6a0f0a1
DIST pariemacs-3.14.tar.gz 114347 BLAKE2B 40e7b11d3fd674a2525c145be97f3b9119379e7a2a1c689b1e76107bccc0d48b08d7e8e2f1785bd315723e99961e06409e102946fceaf52099f4bc7cf6ef9ed1 SHA512 97ef66c497594c288e7f3e3c77d8d5ec31acf6cdcf86443e0754c69074adf51b07620c858dd5a71d3dbb2a58b05f6774e348c2079e9cc888a909988c4470c79c
-EBUILD pariemacs-3.14.ebuild 872 BLAKE2B 597294183d298d68c9bf12936a1cfbe1e1720048b23b875410960ef39498ffe6d242d4daaf5533b283a7ebb4310cd8b48ac84845d4d6131c319049f3660254cf SHA512 a26b1b58d4442a424d98108e5d47be739888691e7d8bc09634fe8ad50920b822a57bb5c4815e07b7d8b71cf8752628edf2cd6027bcb8e4a77580ea49fc72d544
+EBUILD pariemacs-3.14-r1.ebuild 863 BLAKE2B dc6a0f7f10237c4df0679ce13b01e933d6a3865487a3edc072b13ac2e08497a6566c5fd13b0473bb16c6f87133564eecbd060f2a5b24f2ab7f8d8f06d1f15f80 SHA512 03b01bb60a47a8fd57f51a108e4a6fb7bb2f093ed21ddaf0f6ce463bfac0a680906f428ed3f770af4996d69bfab0c35de33e95879cd7f319c8c88c9cb5abd4ef
MISC metadata.xml 276 BLAKE2B ebfb8324de9ffc201d51a89c5c48054dad71e7ed3d0c012d20b4e24bdc18aef948acb61b87b4540808e7eeb07e99dca7e2d9b43123b8735e559427d5afc7a28f SHA512 615bf33cd754550bca58862b133795b54792f3253d1e80cf933a4094717e4a46acbd872d9373e0f25005843ff296ce3529d55acf38db43e9921220bdf0a3c2d1
diff --git a/app-emacs/pariemacs/pariemacs-3.14.ebuild b/app-emacs/pariemacs/pariemacs-3.14-r1.ebuild
index aa608c9b7eaa..e94c56789e55 100644
--- a/app-emacs/pariemacs/pariemacs-3.14.ebuild
+++ b/app-emacs/pariemacs/pariemacs-3.14-r1.ebuild
@@ -1,38 +1,39 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit elisp
DESCRIPTION="sci-mathematics/pari emacs mode"
HOMEPAGE="http://iml.univ-mrs.fr/~ramare/ServeurPerso/GP-PARI/"
+SRC_URI="http://iml.univ-mrs.fr/~ramare/ServeurPerso/GP-PARI/latest-pari-distrib/${P}.tar.gz"
+S="${WORKDIR}"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-SRC_URI="http://iml.univ-mrs.fr/~ramare/ServeurPerso/GP-PARI/latest-pari-distrib/${P}.tar.gz"
RDEPEND="sci-mathematics/pari"
DEPEND="${RDEPEND}"
-S="${WORKDIR}"
SITEFILE="64${PN}-gentoo.el"
DOCS="README CHANGES"
+PATCHES=( "${FILESDIR}/${P}-makefile.patch" )
src_prepare() {
- eapply "${FILESDIR}"/${P}-makefile.patch
- eapply_user
- if [ -f /usr/share/doc/pari-*/pari.cfg ]; then
- cp /usr/share/doc/pari-*/pari.cfg .
- elif [ -f /usr/share/doc/pari-*/pari.cfg.bz2 ]; then
- cp /usr/share/doc/pari-*/pari.cfg.bz2 .
- bunzip2 pari.cfg.bz2
- else die "pari.cfg not found"
+ default
+ if [ -f /usr/share/pari/pari.cfg ]; then
+ cp /usr/share/pari/pari.cfg . || die
+ elif [ -f /usr/share/pari/pari.cfg.bz2 ]; then
+ cp /usr/share/pari/pari.cfg.bz2 . || die
+ bunzip2 pari.cfg.bz2 || die
+ else
+ die "pari.cfg not found"
fi
}
src_compile() {
- make pari-conf.el
- make elc
+ emake pari-conf.el
+ emake elc
}