commit:     38ef4fac3f1c8bfb5044571b268200a0a1488969
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Fri Dec  2 22:52:44 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Fri Dec  2 22:52:44 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=38ef4fac

dev-perl/Bio-EnsEMBL: new package to provide EnsEMBL Perl API

This is needed by sci-biology/ensembl-tools, do not miss the
official installation procedure at
http://www.ensembl.org/info/docs/api/api_installation.html

Package-Manager: portage-2.3.2

 dev-perl/Bio-EnsEMBL/Bio-EnsEMBL-9999.ebuild | 35 ++++++++++++++++++++++++++++
 dev-perl/Bio-EnsEMBL/metadata.xml            | 12 ++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-perl/Bio-EnsEMBL/Bio-EnsEMBL-9999.ebuild 
b/dev-perl/Bio-EnsEMBL/Bio-EnsEMBL-9999.ebuild
new file mode 100644
index 0000000..73e3a47
--- /dev/null
+++ b/dev-perl/Bio-EnsEMBL/Bio-EnsEMBL-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MODULE_AUTHOR=""
+inherit perl-module
+
+DESCRIPTION="EnsEMBL Perl API aka ensembl-api exposing Bio::EnsEMBL::Registry"
+SRC_URI="ftp://ftp.ensembl.org/pub/ensembl-api.tar.gz";
+
+#LICENSE="|| ( Artistic GPL-1+ )"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"
+
+src_install(){
+       perl_set_version
+       insinto "${VENDOR_LIB}" # do not add "${PN}" so the the PERL path 
starts with Bio/
+       find . -name t | xargs rm -rf || die
+       find . -name test.pl | xargs rm -f || die
+       find . -name \*.example | xargs rm -f || die
+       find . -name \*.json | xargs rm -f || die
+       find . -name README* | xargs rm -rf || die
+       find . -name \*.conf | xargs rm -f || die
+       find . -name travisci | xargs rm -rf || die
+       find . -name sql | xargs rm -rf || die
+       find . -name modules | while read d; do pushd "$d"; doins -r *; popd; 
done || die
+}

diff --git a/dev-perl/Bio-EnsEMBL/metadata.xml 
b/dev-perl/Bio-EnsEMBL/metadata.xml
new file mode 100644
index 0000000..f68a1b6
--- /dev/null
+++ b/dev-perl/Bio-EnsEMBL/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>mmokr...@fold.natur.cuni.cz</email>
+    <name>Martin Mokrejs</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>sci-biol...@gentoo.org</email>
+    <name>Gentoo Biology Project</name>
+  </maintainer>
+</pkgmetadata>

Reply via email to