Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/flashdot/
Date: Mon, 23 Nov 2015 10:46:58
Message-Id: 1448275599.5c5d388cd7a9888abe57ea54570fb11ee71acc50.jlec@gentoo
1 commit: 5c5d388cd7a9888abe57ea54570fb11ee71acc50
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 23 10:35:19 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 23 10:46:39 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c5d388c
7
8 sci-misc/flashdot: Move use() call to local scope
9
10 bump EAPI to 5
11
12 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566554
13
14 Package-Manager: portage-2.2.25
15 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
16
17 sci-misc/flashdot/flashdot-1.1.4.ebuild | 25 ++++++++++++-------------
18 sci-misc/flashdot/metadata.xml | 12 ++++++------
19 2 files changed, 18 insertions(+), 19 deletions(-)
20
21 diff --git a/sci-misc/flashdot/flashdot-1.1.4.ebuild b/sci-misc/flashdot/flashdot-1.1.4.ebuild
22 index 13938ad..fe83fa9 100644
23 --- a/sci-misc/flashdot/flashdot-1.1.4.ebuild
24 +++ b/sci-misc/flashdot/flashdot-1.1.4.ebuild
25 @@ -1,34 +1,33 @@
26 -# Copyright 1999-2011 Gentoo Foundation
27 +# Copyright 1999-2015 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 # $Id$
30
31 -EAPI=2
32 +EAPI=5
33
34 DESCRIPTION="Generator for psychophysical experiments"
35 HOMEPAGE="http://www.flashdot.info/"
36 -SRC_URI="mirror://gentoo/${P}.tar.bz2
37 - https://dev.gentoo.org/~tomka/files/${P}.tar.bz2"
38 +SRC_URI="
39 + mirror://gentoo/${P}.tar.bz2
40 + https://dev.gentoo.org/~tomka/files/${P}.tar.bz2"
41
42 +SLOT="0"
43 LICENSE="GPL-2"
44 KEYWORDS="~amd64 ~x86"
45 -SLOT="0"
46 -
47 IUSE="+ocamlopt"
48
49 -DEPEND=">=dev-lang/ocaml-3.10[ocamlopt?]
50 +DEPEND="
51 + >=dev-lang/ocaml-3.10[ocamlopt?]
52 dev-ml/ocamlsdl
53 dev-ml/ocamlgsl
54 dev-ml/lablgl[glut]
55 x11-apps/xdpyinfo"
56 RDEPEND="${DEPEND}"
57
58 -MAKEOPTS="-j1 VERSION=${PV}"
59 -use ocamlopt || MAKEOPTS="${MAKEOPTS} TARGETS=flashdot_bytecode BYTECODENAME=flashdot"
60 -
61 -src_compile() {
62 - emake ${MAKEOPTS} || die "emake failed"
63 +src_prepare() {
64 + MAKEOPTS+=" -j1 VERSION=${PV}"
65 + use ocamlopt || MAKEOPTS+=" TARGETS=flashdot_bytecode BYTECODENAME=flashdot"
66 }
67
68 src_install() {
69 - emake ${MAKEOPTS} DESTDIR="${D}" CALLMODE=script install || die "install failed"
70 + emake DESTDIR="${D}" CALLMODE=script install
71 }
72
73 diff --git a/sci-misc/flashdot/metadata.xml b/sci-misc/flashdot/metadata.xml
74 index 8f23be7..dfc0a9a 100644
75 --- a/sci-misc/flashdot/metadata.xml
76 +++ b/sci-misc/flashdot/metadata.xml
77 @@ -1,12 +1,12 @@
78 <?xml version="1.0" encoding="UTF-8"?>
79 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
80 <pkgmetadata>
81 -<maintainer>
82 -<email>tomka@g.o</email>
83 -<name>Thomas Kahle</name>
84 -</maintainer>
85 -<herd>sci</herd>
86 -<longdescription lang="en">
87 + <maintainer>
88 + <email>tomka@g.o</email>
89 + <name>Thomas Kahle</name>
90 + </maintainer>
91 + <herd>sci</herd>
92 + <longdescription lang="en">
93 FlashDot is a program for generating and presenting visual perceptual experiments that require a high temporal
94 precision.
95 </longdescription>