From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-biology/prosite/Manifest | 5 ++++ sci-biology/prosite/metadata.xml | 18 +++++++++++++ sci-biology/prosite/prosite-2017.02.ebuild | 42 ++++++++++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 sci-biology/prosite/Manifest create mode 100644 sci-biology/prosite/metadata.xml create mode 100644 sci-biology/prosite/prosite-2017.02.ebuild (limited to 'sci-biology/prosite') diff --git a/sci-biology/prosite/Manifest b/sci-biology/prosite/Manifest new file mode 100644 index 000000000000..2a06a8361b57 --- /dev/null +++ b/sci-biology/prosite/Manifest @@ -0,0 +1,5 @@ +DIST prosite2017_02.tar.bz2 9234253 SHA256 ad278940c7a92ca6afb0fd8202e904c81823f8cbffa3f34319c3984ad1428216 SHA512 2b8a26a44d62d17108afc43a3ab65d024f76e41ea9c9f477024700621323d2606fcaec54411e1d3f4ddad40717ad9ce3a1989ffd92220e0d3c2acf70400d2e43 WHIRLPOOL ecde335cfb4b13359318218ac0ae4273c2e7653a79efd7bf08c58ff5b4eaa6223e3189df9909d60f5357d1c2b3ca2cdc7fbe7c5c9b0e9ecdfb961b7207076c8c +EBUILD prosite-2017.02.ebuild 980 SHA256 fa593b38a0d72e6a24e9c366c50396c1f5b8a453cbf704114a4c51a6d6a3f44a SHA512 5911898bd4cb41283277dbb4cf9ada173f29bd0378af4b7f679d5415a368085d00826ee0c709195605a03b3fc4cdd96a8d9b1613e152ea0347d9ac0d8dfdef14 WHIRLPOOL 6793dfd2a05b4ea65f79120df6d60da21624d9a846f0ba561f0b7d6676d274daab86fac8e55cdd984388c2162eb63ac3900930b098c8483bfb9195064bff1bad +MISC ChangeLog 2588 SHA256 4e481073a7b36f5ebbb32129ae644d881f07642f459f460105d88dcc871421a1 SHA512 dea2c2c1338c5e5a8077f7277e636ed6420d183140448fdc37489cbcb7fc490bb5b68ab2028e7132f3ebdf1bfa3039f6b79acc418ff31d77930077e6d77fa67a WHIRLPOOL d72a2633b0b584e3f251172085a55d00cb81c055f43001fbaeb0dbbe2f157b27d4fa465c65f470feaf673074309d1b6852e36dec07034946acdeacd72adabb25 +MISC ChangeLog-2015 16628 SHA256 5d6d0fca9742214825b3f39087c4512dba2f70e9dd2f1963982d061f5b8fca87 SHA512 29f53287f954cfe4dc5e9a4bdf6a7ee6aca30075176b9660dd1039b59a55c07426edcf9992cdf790a9e55c57891230b970d35a5402eae1f21a9045d9f8026d52 WHIRLPOOL 14d198b1ad9a1c4af19a0b85af0da3f0f72ee35a66e67ba38530784ef4e1be17ab00521e723d066054547f9de850ccb36892bb00b5528a8ae5d7166147816ef9 +MISC metadata.xml 817 SHA256 e30e900a93465725045005d36918a821eac5e5dabb9c7c3c76c43c252c8056f3 SHA512 28b74af20192bc861cf78d43e55264e84473e471ce6dcdc63f30c3b64d4727cd3e8db5b4934d79ece4a3d732263393264d9085e0e53ce16649a6269a3c40f8e9 WHIRLPOOL 5e539355b00158a2147ee0e339640b11e0c4b0e4fdf778699fd3ded2e1fcbfc32fe79e476c493138460872a805401dff4eaf7c36e2031d9ac5731f20174c48f5 diff --git a/sci-biology/prosite/metadata.xml b/sci-biology/prosite/metadata.xml new file mode 100644 index 000000000000..59076478066f --- /dev/null +++ b/sci-biology/prosite/metadata.xml @@ -0,0 +1,18 @@ + + + + + sci-biology@gentoo.org + Gentoo Biology Project + + + A protein families and domains database maintained at the Swiss + Institude for Bioinformatics. It consists of biologically significant + sites, patterns and profiles that help to reliably identify to which + known protein family (if any) a new sequence belongs. PROSITE currently + contains patterns and profiles specific for more than a thousand + protein families or domains. Each of these signatures comes with + documentation providing background information on the structure and + function of these proteins. + + diff --git a/sci-biology/prosite/prosite-2017.02.ebuild b/sci-biology/prosite/prosite-2017.02.ebuild new file mode 100644 index 000000000000..b3d9ef2335fd --- /dev/null +++ b/sci-biology/prosite/prosite-2017.02.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A protein families and domains database" +HOMEPAGE="http://prosite.expasy.org/" +SRC_URI="ftp://ftp.expasy.org/databases/prosite/old_releases/prosite${PV//./_}.tar.bz2" + +LICENSE="swiss-prot" +SLOT="0" +# Minimal build keeps only the indexed files (if applicable). +# The non-indexed database is not installed. +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="emboss minimal" + +DEPEND="emboss? ( sci-biology/emboss )" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +src_compile() { + if use emboss; then + mkdir PROSITE || die + einfo + einfo "Indexing PROSITE for usage with EMBOSS" + EMBOSS_DATA="." prosextract -auto -prositedir "${S}" || die "Indexing PROSITE failed" + einfo + fi +} + +src_install() { + if ! use minimal; then + insinto /usr/share/${PN} + doins *.{doc,dat} + fi + + if use emboss; then + insinto /usr/share/EMBOSS/data/PROSITE + doins -r PROSITE/. + fi +} -- cgit v1.2.3