public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-biology/dna2pep/
@ 2016-01-04 20:38 Martin Mokrejs
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Mokrejs @ 2016-01-04 20:38 UTC (permalink / raw
  To: gentoo-commits

commit:     de4d66857c726324987eae3aeb90ff76be868a07
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Mon Jan  4 20:36:53 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Mon Jan  4 20:36:53 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=de4d6685

sci-biology/dna2pep: new package that will needed by sci-biology/Annocript

Package-Manager: portage-2.2.26

 sci-biology/dna2pep/ChangeLog          |  9 +++++++++
 sci-biology/dna2pep/dna2pep-1.1.ebuild | 24 ++++++++++++++++++++++++
 sci-biology/dna2pep/metadata.xml       |  9 +++++++++
 3 files changed, 42 insertions(+)

diff --git a/sci-biology/dna2pep/ChangeLog b/sci-biology/dna2pep/ChangeLog
new file mode 100644
index 0000000..4b996b7
--- /dev/null
+++ b/sci-biology/dna2pep/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for sci-biology/dna2pep
+# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
+# $Id$
+
+*dna2pep-1.1 (04 Jan 2016)
+
+  04 Jan 2016; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> +dna2pep-1.1.ebuild,
+  +metadata.xml:
+  sci-biology/dna2pep: new package that will needed by sci-biology/Annocript

diff --git a/sci-biology/dna2pep/dna2pep-1.1.ebuild b/sci-biology/dna2pep/dna2pep-1.1.ebuild
new file mode 100644
index 0000000..14827c1
--- /dev/null
+++ b/sci-biology/dna2pep/dna2pep-1.1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+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_install(){
+	dobin *.py
+	insinto /usr/share/"${PN}"/
+	doins mtx/gcMitVertebrate.mtx
+}

diff --git a/sci-biology/dna2pep/metadata.xml b/sci-biology/dna2pep/metadata.xml
new file mode 100644
index 0000000..2bc8930
--- /dev/null
+++ b/sci-biology/dna2pep/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>sci-biology</herd>
+  <maintainer>
+    <email>mmokrejs@fold.natur.cuni.cz</email>
+    <name>Martin Mokrejs</name>
+  </maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-biology/dna2pep/
@ 2016-01-04 20:47 Martin Mokrejs
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Mokrejs @ 2016-01-04 20:47 UTC (permalink / raw
  To: gentoo-commits

commit:     fdcd2f0bcac8097a633a1efd013827916573f936
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Mon Jan  4 20:45:40 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Mon Jan  4 20:45:40 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=fdcd2f0b

sci-biology/dna2pep: fix shebang lines

Package-Manager: portage-2.2.26

 sci-biology/dna2pep/ChangeLog          | 3 +++
 sci-biology/dna2pep/dna2pep-1.1.ebuild | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/sci-biology/dna2pep/ChangeLog b/sci-biology/dna2pep/ChangeLog
index 4b996b7..f1a8fdd 100644
--- a/sci-biology/dna2pep/ChangeLog
+++ b/sci-biology/dna2pep/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+  04 Jan 2016; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> dna2pep-1.1.ebuild:
+  sci-biology/dna2pep: fix shebang lines
+
 *dna2pep-1.1 (04 Jan 2016)
 
   04 Jan 2016; Martin Mokrejs <mmokrejs@fold.natur.cuni.cz> +dna2pep-1.1.ebuild,

diff --git a/sci-biology/dna2pep/dna2pep-1.1.ebuild b/sci-biology/dna2pep/dna2pep-1.1.ebuild
index 14827c1..891ae67 100644
--- a/sci-biology/dna2pep/dna2pep-1.1.ebuild
+++ b/sci-biology/dna2pep/dna2pep-1.1.ebuild
@@ -17,6 +17,10 @@ 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}"/


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-04 20:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-04 20:47 [gentoo-commits] proj/sci:master commit in: sci-biology/dna2pep/ Martin Mokrejs
  -- strict thread matches above, loose matches on Subject: below --
2016-01-04 20:38 Martin Mokrejs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox