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/biosql/
Date: Wed, 08 Mar 2017 18:47:38
Message-Id: 1488998832.f21f66667be7601f9721f0d67bb1cec3478fe8bb.soap@gentoo
1 commit: f21f66667be7601f9721f0d67bb1cec3478fe8bb
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 8 18:46:32 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 8 18:47:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f21f6666
7
8 sci-biology/biosql: Modernise to EAPI 6
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.2
11
12 ...{biosql-1.0.1.ebuild => biosql-1.0.1-r1.ebuild} | 33 ++++++++++++++--------
13 1 file changed, 22 insertions(+), 11 deletions(-)
14
15 diff --git a/sci-biology/biosql/biosql-1.0.1.ebuild b/sci-biology/biosql/biosql-1.0.1-r1.ebuild
16 similarity index 54%
17 rename from sci-biology/biosql/biosql-1.0.1.ebuild
18 rename to sci-biology/biosql/biosql-1.0.1-r1.ebuild
19 index 950e6d347f8..6508d6a3a2e 100644
20 --- a/sci-biology/biosql/biosql-1.0.1.ebuild
21 +++ b/sci-biology/biosql/biosql-1.0.1-r1.ebuild
22 @@ -1,32 +1,43 @@
23 -# Copyright 1999-2009 Gentoo Foundation
24 +# Copyright 1999-2017 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26
27 +EAPI=6
28 +
29 DESCRIPTION="A generic bioinformatics relational database model"
30 HOMEPAGE="http://www.biosql.org/"
31 SRC_URI="http://biosql.org/DIST/${P}.tar.bz2"
32
33 LICENSE="LGPL-3"
34 SLOT="0"
35 -IUSE="mysql postgres"
36 KEYWORDS="amd64 x86"
37 +IUSE="mysql postgres"
38
39 # WARNING: bioperl-db is claimed to be incompatible with >=postgresql-8.3 (see INSTALL)
40
41 -DEPEND="mysql? ( dev-perl/DBD-mysql )
42 +DEPEND="
43 + mysql? ( dev-perl/DBD-mysql )
44 postgres? ( dev-perl/DBD-Pg )"
45 -RDEPEND="${DEPEND}"
46 +RDEPEND="
47 + ${DEPEND}
48 + dev-lang/perl"
49
50 src_install() {
51 insinto /usr/share/${PN}
52 - doins -r sql scripts/* || die
53 - insinto /usr/share/doc/${P}
54 - doins -r doc/*
55 - dodoc Changes INSTALL README Release.txt
56 + doins -r sql scripts/.
57 +
58 + dodoc Changes README Release.txt doc/*.pdf
59 +
60 + docinto biopython
61 + dodoc doc/{README,schema-overview.txt,biopython/{cor6_6.gb,*.pdf}}
62 + docompress -x /usr/share/doc/${PF}/biopython
63 +
64 + docinto html
65 + dodoc doc/{biopython/,}*.htm*
66 }
67
68 pkg_postinst() {
69 - echo
70 + elog
71 elog "Please read the BioSQL schema installation instructions in"
72 - elog "/usr/share/doc/${P} to begin using the schema."
73 - echo
74 + elog "${EROOT%/}/usr/share/doc/${PF} to begin using the schema."
75 + elog
76 }