jlec        15/03/05 10:14:41

  Modified:             metadata.xml ChangeLog
  Added:                cutg-160-r1.ebuild
  Log:
  Bump to EAPI=5 and host tarball instead of just mirror it
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.4                  sci-biology/cutg/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cutg/metadata.xml?rev=1.4&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cutg/metadata.xml?rev=1.4&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cutg/metadata.xml?r1=1.3&r2=1.4

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/cutg/metadata.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- metadata.xml        1 Sep 2009 20:54:10 -0000       1.3
+++ metadata.xml        5 Mar 2015 10:14:41 -0000       1.4
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-       <herd>sci-biology</herd>
-       <longdescription>
+  <herd>sci-biology</herd>
+  <longdescription>
                Codon usage tables maintained at the Kazusa DNA Research 
Institute.
                Codon usage in individual genes has been calculated using the
                nucleotide sequence data obtained from the GenBank Genetic 
Sequence



1.57                 sci-biology/cutg/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cutg/ChangeLog?rev=1.57&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cutg/ChangeLog?rev=1.57&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cutg/ChangeLog?r1=1.56&r2=1.57

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- ChangeLog   9 Aug 2011 15:36:17 -0000       1.56
+++ ChangeLog   5 Mar 2015 10:14:41 -0000       1.57
@@ -1,6 +1,12 @@
 # ChangeLog for sci-biology/cutg
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v 1.56 
2011/08/09 15:36:17 xarthisius Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v 1.57 
2015/03/05 10:14:41 jlec Exp $
+
+*cutg-160-r1 (05 Mar 2015)
+
+  05 Mar 2015; Justin Lecher <[email protected]> +cutg-160-r1.ebuild,
+  metadata.xml:
+  Bump to EAPI=5 and host tarball instead of just mirror it
 
   09 Aug 2011; Kacper Kowalik <[email protected]> cutg-151.ebuild,
   cutg-160.ebuild:
@@ -231,4 +237,3 @@
   cutg-141.0.ebuild, metadata.xml :
   Initial import.  Ebuild submitted by Olivier Fisette <[email protected]>.
   Reference: Gentoo Bugzilla, bug #54322
-



1.1                  sci-biology/cutg/cutg-160-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cutg/cutg-160-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/cutg/cutg-160-r1.ebuild?rev=1.1&content-type=text/plain

Index: cutg-160-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/cutg-160-r1.ebuild,v 1.1 
2015/03/05 10:14:41 jlec Exp $

EAPI=5

DESCRIPTION="Codon usage tables calculated from GenBank"
HOMEPAGE="http://www.kazusa.or.jp/codon/";
SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz";

SLOT="0"
LICENSE="public-domain"
# Minimal build keeps only the indexed files (if applicable) and the
# documentation. The non-indexed database is not installed.
IUSE="emboss minimal"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"

DEPEND="emboss? ( sci-biology/emboss )"
RDEPEND="${DEPEND}"

RESTRICT="binchecks strip"

src_compile() {
        if use emboss; then
                mkdir CODONS || die
                ebegin "Indexing CUTG for usage with EMBOSS."
                EMBOSS_DATA="." cutgextract -auto -directory "${S}" || die \
                        "Indexing CUTG failed."
                eend
        fi
}

src_install() {
        local file
        if ! use minimal; then
                dodir /usr/share/${PN}
                mv *.codon *.spsum "${ED}"/usr/share/${PN} || die \
                        "Installing raw CUTG database failed."
        fi

        if use emboss; then
                dodir /usr/share/EMBOSS/data/CODONS
                cd CODONS || die
                for file in *; do
                        mv ${file} "${ED}"/usr/share/EMBOSS/data/CODONS/ || die 
\
                                "Installing the EMBOSS-indexed database failed."
                done
        fi

        dodoc README CODON_LABEL SPSUM_LABEL
}




Reply via email to