aboutsummaryrefslogtreecommitdiff
blob: 91aed370b30cceb51da08369ca7349e3fccf6da1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

DESCRIPTION="Translate DNA sequence into protein (with STOP codon read-through)"
HOMEPAGE="http://www.cbs.dtu.dk/services/VirtualRibosome/download.php"
SRC_URI="http://www.cbs.dtu.dk/services/VirtualRibosome/releases/${P}.tgz"

# source code does not explictly mention GPL version so I assume GPL-1
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND=""
RDEPEND="${DEPEND}"

src_prepare(){
	sed -e 's@#!/usr/local/python/bin/python@#! /usr/bin/env python@' -i *.py || die
}

src_install(){
	dobin *.py
	insinto /usr/share/"${PN}"/
	doins mtx/gcMitVertebrate.mtx
}