Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/gap/
Date: Mon, 21 Sep 2015 14:05:11
Message-Id: 1442844162.24e501d725b556c73f727cadeb14f933a6ef24db.jlec@gentoo
1 commit: 24e501d725b556c73f727cadeb14f933a6ef24db
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 21 14:02:42 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 21 14:02:42 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=24e501d7
7
8 sci-mathematics/gap: Fix SRC_URI
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-mathematics/gap/gap-4.4.12.ebuild | 17 ++++++++---------
14 sci-mathematics/gap/metadata.xml | 4 +++-
15 2 files changed, 11 insertions(+), 10 deletions(-)
16
17 diff --git a/sci-mathematics/gap/gap-4.4.12.ebuild b/sci-mathematics/gap/gap-4.4.12.ebuild
18 index 3409326..4d7eb00 100644
19 --- a/sci-mathematics/gap/gap-4.4.12.ebuild
20 +++ b/sci-mathematics/gap/gap-4.4.12.ebuild
21 @@ -1,8 +1,8 @@
22 -# Copyright 1999-2014 Gentoo Foundation
23 +# Copyright 1999-2015 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 # $Id$
26
27 -EAPI=3
28 +EAPI=5
29
30 inherit elisp-common versionator
31
32 @@ -16,8 +16,8 @@ PV2=${PV1}p${PV2}
33 DESCRIPTION="System for computational discrete algebra"
34 HOMEPAGE="http://www.gap-system.org/"
35 SRC_URI="
36 - ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/${PN}${PV2}.tar.bz2
37 - xtom? ( ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/xtom${XTOM_VERSION}.tar.bz2 )"
38 + ftp://ftp.gap-system.org/pub/gap/gap44/tar.bz2/${PN}${PV2}.tar.bz2
39 + xtom? ( ftp://ftp.gap-system.org/pub/gap/gap44/tar.bz2/xtom${XTOM_VERSION}.tar.bz2 )"
40
41 SLOT="0"
42 IUSE="emacs vim-syntax xtom"
43 @@ -32,11 +32,11 @@ DEPEND="${RDEPEND}"
44 S="${WORKDIR}"/${PN}${PV1}
45
46 src_compile() {
47 - emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" compile || die "emake failed"
48 + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" compile
49 }
50
51 src_test() {
52 - emake teststandard || die "test failed"
53 + emake teststandard
54 }
55
56 src_install() {
57 @@ -50,9 +50,8 @@ src_install() {
58 -e "s|@target@-@CC@|/usr/libexec/${PN}|" \
59 -e "s|@EXEEXT@||" \
60 -e 's|$GAP_DIR/bin/||' \
61 - gap.shi > gap
62 - exeinto /usr/bin
63 - doexe gap
64 + gap.shi > gap || doe
65 + dobin gap
66
67 if use emacs ; then
68 elisp-site-file-install etc/emacs/gap-mode.el
69
70 diff --git a/sci-mathematics/gap/metadata.xml b/sci-mathematics/gap/metadata.xml
71 index 10dd89a..fa3b4e9 100644
72 --- a/sci-mathematics/gap/metadata.xml
73 +++ b/sci-mathematics/gap/metadata.xml
74 @@ -16,5 +16,7 @@
75 representations, rings, vector spaces, algebras, combinatorial
76 structures, and more.
77 </longdescription>
78 - <use><flag name="xtom">Automatically generated description for xtom</flag></use>
79 + <use>
80 + <flag name="xtom">Automatically generated description for xtom</flag>
81 + </use>
82 </pkgmetadata>