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-biology/transfac/
Date: Sat, 25 Feb 2017 20:10:39
Message-Id: 1488053420.5baee74fbdce4cfcfc16da6700c613ddaa770cbb.soap@gentoo
1 commit: 5baee74fbdce4cfcfc16da6700c613ddaa770cbb
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 25 20:09:17 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 20:10:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5baee74f
7
8 sci-biology/transfac: Modernise to EAPI 6
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 ...{transfac-3.2.ebuild => transfac-3.2-r1.ebuild} | 27 ++++++++++++----------
13 1 file changed, 15 insertions(+), 12 deletions(-)
14
15 diff --git a/sci-biology/transfac/transfac-3.2.ebuild b/sci-biology/transfac/transfac-3.2-r1.ebuild
16 similarity index 77%
17 rename from sci-biology/transfac/transfac-3.2.ebuild
18 rename to sci-biology/transfac/transfac-3.2-r1.ebuild
19 index 9b6e76ce87..7c98be79ed 100644
20 --- a/sci-biology/transfac/transfac-3.2.ebuild
21 +++ b/sci-biology/transfac/transfac-3.2-r1.ebuild
22 @@ -2,40 +2,43 @@
23 # Distributed under the terms of the GNU General Public License v2
24 # $Id$
25
26 +EAPI=6
27 +
28 DESCRIPTION="A database of eucaryotic transcription factors"
29 HOMEPAGE="http://www.gene-regulation.com/pub/databases.html"
30 SRC_URI="ftp://ftp.ebi.ac.uk/pub/databases/${PN}/${PN}32.tar.Z"
31 -LICENSE="public-domain"
32
33 +LICENSE="public-domain"
34 SLOT="3"
35 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
36 -IUSE="emboss minimal"
37 # Minimal build keeps only the indexed files (if applicable) and the documentation.
38 # The non-indexed database is not installed.
39 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
40 +IUSE="emboss minimal"
41
42 DEPEND="emboss? ( sci-biology/emboss )"
43 -
44 RDEPEND="${DEPEND}"
45
46 -S="${WORKDIR}"
47 +S=${WORKDIR}
48
49 src_compile() {
50 if use emboss; then
51 - echo
52 - einfo "Indexing TRANSFAC for usage with EMBOSS."
53 - EMBOSS_DATA=. tfextract -auto -infile class.dat || die \
54 - "Indexing TRANSFAC failed."
55 - echo
56 + einfo
57 + einfo "Indexing TRANSFAC for usage with EMBOSS"
58 + EMBOSS_DATA="." tfextract -auto -infile class.dat || die "Indexing TRANSFAC failed"
59 + einfo
60 fi
61 }
62
63 src_install() {
64 + newdoc readme.txt README
65 +
66 if ! use minimal; then
67 insinto /usr/share/${PN}-${SLOT}
68 - doins *.dat || die
69 + doins *.dat
70 fi
71 +
72 if use emboss; then
73 insinto /usr/share/EMBOSS/data
74 - doins tf* || die
75 + doins tf*
76 fi
77 }