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/prosite/
Date: Sat, 25 Feb 2017 15:02:37
Message-Id: 1488034936.8bec0995e31b2434b961c806eb5f364a52182035.soap@gentoo
1 commit: 8bec0995e31b2434b961c806eb5f364a52182035
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 25 14:53:50 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 25 15:02:16 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bec0995
7
8 sci-biology/prosite: Version bump to 2017.02
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sci-biology/prosite/Manifest | 1 +
13 sci-biology/prosite/prosite-2017.02.ebuild | 43 ++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/sci-biology/prosite/Manifest b/sci-biology/prosite/Manifest
17 index 1641866b1c..05a77235c7 100644
18 --- a/sci-biology/prosite/Manifest
19 +++ b/sci-biology/prosite/Manifest
20 @@ -2,3 +2,4 @@ DIST prosite-19.36.tar.bz2 4462981 SHA256 6f923d4794f50c8e68d030d01cb6675579007c
21 DIST prosite-20.36.tar.bz2 5953220 SHA256 05593ff424d4145e19a7f394dab5a64fe0c5c6a640091fe03451f52bd31bfd25 SHA512 04efc70c4a8e1466fe0f3172d8550b08ee693caf82320998aee9e5b39b23573eb827c7d95e46c3d9afd4654fbeb3a0278f4159d359072641c807652748233264 WHIRLPOOL 05c712bfe16c534344072e4dc94bac89df4fe117b789512878c98b7a3811d0679a10f9e2d1176cb3e33af5c73e71a0c0473e0608cd41a71ee0fb62469906a8da
22 DIST prosite-20.52.tar.bz2 7038156 SHA256 89e5fc11e2ed18b1f16cc78e5271cccf6a5ea28a64fdcd7e99a770dfebb1968d SHA512 d84d0a05080db2e7a99d33f0323b602c953c7a01cb76c4722c52072ad8bd8777843db2d7607b603d64e035b600f1886ab1f73f9ca2f47a2d3accfbbdee66054d WHIRLPOOL 6239cd585c6335721bc3295782139d49475390edac1aa38dcddb3a60cc202e5e5c63db724e4d05b018ac593855642bf9ce7aeb4a77fb5c25f0a03bbd4e1d7f44
23 DIST prosite-20.72.tar.bz2 7521700 SHA256 93b8664adecce63b14a96b6b9fbd970bcc2852a83413fd9b873df84dcfe07d12 SHA512 bf7805bd017e24f3a0007530a55f5129fca656abc8a592db1176548ebe4c22fe578129b27f9d1634f1c0331108ba704e3d83e78808622b716061bd2994471728 WHIRLPOOL 2cd3038b6cb4ca9005c8b519b38d06f0a06a66a145f3138ef94cd9c3cf3cf1971d94225f7b537038672ec71692e5e12c630efd2035091c8ecf18a2331030301b
24 +DIST prosite2017_02.tar.bz2 9234253 SHA256 ad278940c7a92ca6afb0fd8202e904c81823f8cbffa3f34319c3984ad1428216 SHA512 2b8a26a44d62d17108afc43a3ab65d024f76e41ea9c9f477024700621323d2606fcaec54411e1d3f4ddad40717ad9ce3a1989ffd92220e0d3c2acf70400d2e43 WHIRLPOOL ecde335cfb4b13359318218ac0ae4273c2e7653a79efd7bf08c58ff5b4eaa6223e3189df9909d60f5357d1c2b3ca2cdc7fbe7c5c9b0e9ecdfb961b7207076c8c
25
26 diff --git a/sci-biology/prosite/prosite-2017.02.ebuild b/sci-biology/prosite/prosite-2017.02.ebuild
27 new file mode 100644
28 index 0000000000..d2a5afa51a
29 --- /dev/null
30 +++ b/sci-biology/prosite/prosite-2017.02.ebuild
31 @@ -0,0 +1,43 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +
38 +DESCRIPTION="A protein families and domains database"
39 +HOMEPAGE="http://prosite.expasy.org/"
40 +SRC_URI="ftp://ftp.expasy.org/databases/prosite/old_releases/prosite${PV//./_}.tar.bz2"
41 +
42 +LICENSE="swiss-prot"
43 +SLOT="0"
44 +# Minimal build keeps only the indexed files (if applicable).
45 +# The non-indexed database is not installed.
46 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
47 +IUSE="emboss minimal"
48 +
49 +DEPEND="emboss? ( sci-biology/emboss )"
50 +RDEPEND="${DEPEND}"
51 +
52 +S=${WORKDIR}
53 +
54 +src_compile() {
55 + if use emboss; then
56 + mkdir PROSITE || die
57 + einfo
58 + einfo "Indexing PROSITE for usage with EMBOSS"
59 + EMBOSS_DATA="." prosextract -auto -prositedir "${S}" || die "Indexing PROSITE failed"
60 + einfo
61 + fi
62 +}
63 +
64 +src_install() {
65 + if ! use minimal; then
66 + insinto /usr/share/${PN}
67 + doins *.{doc,dat}
68 + fi
69 +
70 + if use emboss; then
71 + insinto /usr/share/EMBOSS/data/PROSITE
72 + doins -r PROSITE/.
73 + fi
74 +}