diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2009-03-16 23:37:10 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2009-03-16 23:37:10 +0000 |
commit | d71381ba88786798dc4a9e0787d94fb59830baca (patch) | |
tree | 48145caade7018006ee8e866f66198926b9447ec /sci-biology/bioperl | |
parent | Clean up old revisions. Mark 2.22.3 ppc since repoman says deps are satisfied. (diff) | |
download | gentoo-2-d71381ba88786798dc4a9e0787d94fb59830baca.tar.gz gentoo-2-d71381ba88786798dc4a9e0787d94fb59830baca.tar.bz2 gentoo-2-d71381ba88786798dc4a9e0787d94fb59830baca.zip |
Rewrite, commit split 1.6.0 packages and live ebuilds for packages in 1.6.0 release. Bug 179110.
(Portage version: 2.2_rc20/cvs/Linux 2.6.26-gentoo-r4 x86_64)
Diffstat (limited to 'sci-biology/bioperl')
-rw-r--r-- | sci-biology/bioperl/ChangeLog | 10 | ||||
-rw-r--r-- | sci-biology/bioperl/bioperl-1.6.0-r1.ebuild (renamed from sci-biology/bioperl/bioperl-1.6.0.ebuild) | 62 | ||||
-rw-r--r-- | sci-biology/bioperl/bioperl-9999.ebuild | 71 | ||||
-rw-r--r-- | sci-biology/bioperl/metadata.xml | 5 |
4 files changed, 108 insertions, 40 deletions
diff --git a/sci-biology/bioperl/ChangeLog b/sci-biology/bioperl/ChangeLog index 8866e83267e3..5ca66c5ff89d 100644 --- a/sci-biology/bioperl/ChangeLog +++ b/sci-biology/bioperl/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-biology/bioperl # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/bioperl/ChangeLog,v 1.33 2009/03/13 00:41:34 weaver Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/bioperl/ChangeLog,v 1.34 2009/03/16 23:37:10 weaver Exp $ + +*bioperl-9999 (16 Mar 2009) +*bioperl-1.6.0-r1 (16 Mar 2009) + + 16 Mar 2009; Andrey Kislyuk <weaver@gentoo.org> -bioperl-1.6.0.ebuild, + +bioperl-1.6.0-r1.ebuild, +bioperl-9999.ebuild: + Rewrite, commit split 1.6.0 packages and live ebuilds for packages in 1.6.0 + release. Bug 179110. *bioperl-1.6.0 (12 Mar 2009) diff --git a/sci-biology/bioperl/bioperl-1.6.0.ebuild b/sci-biology/bioperl/bioperl-1.6.0-r1.ebuild index a4241a881230..bb96818b20e1 100644 --- a/sci-biology/bioperl/bioperl-1.6.0.ebuild +++ b/sci-biology/bioperl/bioperl-1.6.0-r1.ebuild @@ -1,10 +1,12 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/bioperl/bioperl-1.6.0.ebuild,v 1.1 2009/03/13 00:41:34 weaver Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-biology/bioperl/bioperl-1.6.0-r1.ebuild,v 1.1 2009/03/16 23:37:10 weaver Exp $ -EAPI="1" +EAPI="2" -inherit perl-module eutils +inherit perl-module + +SUBPROJECTS="+db +network +run" DESCRIPTION="Perl tools for bioinformatics - Core modules" HOMEPAGE="http://www.bioperl.org/" @@ -13,40 +15,24 @@ SRC_URI="http://www.bioperl.org/DIST/BioPerl-${PV}.tar.bz2" LICENSE="Artistic GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="-minimal graphviz" +IUSE="-minimal graphviz ${SUBPROJECTS}" -# FIXME: Unhandled deps: -# >=dev-lang/perl-5.10.0 (includes cpan >= 1.81) -# dev-perl/SVG-Graph -# dev-perl/Ace -# dev-perl/Bio-ASN1-EntrezGene -# dev-perl/XML-DOM-XPath -# dev-perl/Convert-Binary-C -# Deprecated/unrecognized deps from 1.5 series (to be verified): -#virtual/perl-File-Temp -#dev-perl/IO-String -#dev-perl/IO-stringy -#virtual/perl-Storable -#dev-perl/libxml-perl -#dev-perl/Text-Shellwords -#~sci-libs/io_lib-1.8.12b -#!>=sci-libs/io_lib-1.9 -# gd? ( -# >=dev-perl/GD-1.32-r1 -# dev-perl/SVG -# dev-perl/GD-SVG -# ) -# mysql? ( >=dev-perl/DBD-mysql-2.1004-r3 )" +# TODO: SVG::Graph, Convert::Binary::C DEPEND="virtual/perl-Module-Build dev-perl/Data-Stag dev-perl/libwww-perl !minimal? ( + dev-perl/Ace + dev-perl/Bio-ASN1-EntrezGene dev-perl/Spreadsheet-ParseExcel + dev-perl/Spreadsheet-WriteExcel >=dev-perl/XML-SAX-0.15 dev-perl/Graph dev-perl/SOAP-Lite dev-perl/Array-Compare + dev-perl/SVG + dev-perl/XML-Simple dev-perl/XML-Parser dev-perl/XML-Twig >=dev-perl/HTML-Parser-3.60 @@ -55,29 +41,27 @@ DEPEND="virtual/perl-Module-Build dev-perl/XML-DOM dev-perl/set-scalar dev-perl/XML-XPath + dev-perl/XML-DOM-XPath dev-perl/Algorithm-Munkres dev-perl/Data-Stag dev-perl/Math-Random dev-perl/PostScript - ) + ) graphviz? ( dev-perl/GraphViz )" RDEPEND="${DEPEND}" +PDEPEND=" + db? ( >=sci-biology/bioperl-db-${PV} ) + network? ( >=sci-biology/bioperl-network-${PV} ) + run? ( >=sci-biology/bioperl-run-${PV} )" S="${WORKDIR}/BioPerl-${PV}" -src_unpack() { - unpack ${A} - sed -i "/'CPAN' *=> *1.81/d" "${S}/Build.PL" || die -} - -src_compile() { - yes "" | perl Makefile.PL ${myconf} \ - PREFIX=${D}/usr INSTALLDIRS=vendor || die -} - -src_test() { - make test || die "Tests failed." +src_configure() { + sed -i -e '/add_post_install_script.*symlink_script.pl/d' \ + -e "/'CPAN' *=> *1.81/d" "${S}/Build.PL" || die + if use minimal && use graphviz; then die "USE flags minimal and graphviz cannot be used together"; fi + perl-module_src_configure } src_install() { diff --git a/sci-biology/bioperl/bioperl-9999.ebuild b/sci-biology/bioperl/bioperl-9999.ebuild new file mode 100644 index 000000000000..be107a8fbbdb --- /dev/null +++ b/sci-biology/bioperl/bioperl-9999.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/bioperl/bioperl-9999.ebuild,v 1.1 2009/03/16 23:37:10 weaver Exp $ + +EAPI="2" + +inherit perl-module subversion + +SUBPROJECTS="+db +network +run" + +DESCRIPTION="Perl tools for bioinformatics - Core modules" +HOMEPAGE="http://www.bioperl.org/" +SRC_URI="" +ESVN_REPO_URI="svn://code.open-bio.org/bioperl/bioperl-live/trunk" + +LICENSE="Artistic GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="-minimal graphviz ${SUBPROJECTS}" + +# TODO: SVG::Graph, Convert::Binary::C + +DEPEND="virtual/perl-Module-Build + dev-perl/Data-Stag + dev-perl/libwww-perl + !minimal? ( + dev-perl/Ace + dev-perl/Bio-ASN1-EntrezGene + dev-perl/Spreadsheet-ParseExcel + dev-perl/Spreadsheet-WriteExcel + >=dev-perl/XML-SAX-0.15 + dev-perl/Graph + dev-perl/SOAP-Lite + dev-perl/Array-Compare + dev-perl/SVG + dev-perl/XML-Simple + dev-perl/XML-Parser + dev-perl/XML-Twig + >=dev-perl/HTML-Parser-3.60 + >=dev-perl/XML-Writer-0.4 + dev-perl/Clone + dev-perl/XML-DOM + dev-perl/set-scalar + dev-perl/XML-XPath + dev-perl/XML-DOM-XPath + dev-perl/Algorithm-Munkres + dev-perl/Data-Stag + dev-perl/Math-Random + dev-perl/PostScript + ) + graphviz? ( dev-perl/GraphViz )" + +RDEPEND="${DEPEND}" +PDEPEND=" + db? ( >=sci-biology/bioperl-db-${PV} ) + network? ( >=sci-biology/bioperl-network-${PV} ) + run? ( >=sci-biology/bioperl-run-${PV} )" + +S="${WORKDIR}/BioPerl-${PV}" + +src_configure() { + sed -i -e '/add_post_install_script.*symlink_script.pl/d' \ + -e "/'CPAN' *=> *1.81/d" "${S}/Build.PL" || die + if use minimal && use graphviz; then die "USE flags minimal and graphviz cannot be used together"; fi + perl-module_src_configure +} + +src_install() { + mydoc="AUTHORS BUGS FAQ" + perl-module_src_install +} diff --git a/sci-biology/bioperl/metadata.xml b/sci-biology/bioperl/metadata.xml index ebbff811d3b4..30501da524e2 100644 --- a/sci-biology/bioperl/metadata.xml +++ b/sci-biology/bioperl/metadata.xml @@ -6,4 +6,9 @@ <name>Olivier Fisette</name> </maintainer> <herd>sci-biology</herd> + <use> + <flag name='run'>Install sci-biology/bioperl-run</flag> + <flag name='network'>Install sci-biology/bioperl-run</flag> + <flag name='db'>Install sci-biology/bioperl-run</flag> + </use> </pkgmetadata> |