Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248799 - version bump: sci-biology/biopython-1.49
Summary: version bump: sci-biology/biopython-1.49
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Olivier Fisette (RETIRED)
URL: http://news.open-bio.org/news/2008/11...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 17:25 UTC by juantxorena@gmail.com
Modified: 2009-06-05 09:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
sci-biology/biopython-1.49.ebuild (biopython-1.49.ebuild,1.15 KB, text/plain)
2008-11-25 17:36 UTC, juantxorena@gmail.com
Details
biopython-1.49-flex.patch (biopython-1.49-flex.patch,782 bytes, patch)
2008-11-25 17:39 UTC, juantxorena@gmail.com
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description juantxorena@gmail.com 2008-11-25 17:25:59 UTC
As the title says, version bump for this. Finally it gets rid of the old numeric dependency, and relies only on numpy. This also fixes the compilation problems in the kdtree module as far as I have read in the mailing lists and that, so I removed it as well. Ebuild and patch is coming.

Reproducible: Always
Comment 1 juantxorena@gmail.com 2008-11-25 17:36:01 UTC
Created attachment 173372 [details]
sci-biology/biopython-1.49.ebuild

This is the ebuild. Apart for the kdtree stuff, I added optional dependencies on mysql and postgres modules, to use the app with BioSQL databases. However, the test on those parts fails because it assumes that a BioSQL database exists, also the test file must be changed for each user with the login, password, etc. for that DB, so I leave it as is.

reportlab and flex seems to be optional dependencies, but the repotlab stuff seems nearly essential (according to ML, docs and the like) and the flex one only depends on that, and is optional because it doesn't compiles on windows.

The test for the module that depends on reportlab, GFF, fails when being tested on reportlab-1*, but pass as GFF2 when using reportlab-2*. I don't know if this is something expected, or if you need both versions of reportlab, or what, but I think that this is OK.

Note that the test is always being run with this ebuild. I don't know how to handle testing in the ebuilds, I've tried using the "test" useflag but it didn't work. Please fix it if needed.
Comment 2 juantxorena@gmail.com 2008-11-25 17:39:06 UTC
Created attachment 173373 [details, diff]
biopython-1.49-flex.patch

This is the patch needed for the ebuild. It makes the program able to install the module that depends on flex, it was commented because it doesn't compile on windows or cygwin.

Note that I don't use this app and I don't know how I can test this, so I'm trusting the provided test suite. I'm just want to get rid of numeric and numarray :)
Comment 3 Andrey Kislyuk (RETIRED) gentoo-dev 2008-12-14 21:11:15 UTC
Thanks for your contributions! ribosome, will you be able to take care of this or should I take a look at bumping it?
Comment 4 Olivier Fisette (RETIRED) gentoo-dev 2008-12-16 20:44:27 UTC
(In reply to comment #3)
> Thanks for your contributions! ribosome, will you be able to take care of this
> or should I take a look at bumping it?
> 

I'll look at this during the holidays, but feel free to beat me to it. :)

Olivier
Comment 5 Martin Mokrejš 2009-01-03 22:05:22 UTC
I see during testing of this ebuild:

>>> Completed installing biopython-1.49 into /var/tmp/portage/sci-biology/biopython-1.49/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib/python2.5/site-packages/Bio/cmathfns.so
   usr/lib/python2.5/site-packages/Bio/cstringfns.so
   usr/lib/python2.5/site-packages/Bio/Cluster/cluster.so
   usr/lib/python2.5/site-packages/Bio/cMarkovModel.so
   usr/lib/python2.5/site-packages/Bio/clistfns.so
   usr/lib/python2.5/site-packages/Bio/cpairwise2.so
   usr/lib/python2.5/site-packages/Bio/Restriction/DNAUtils.so
   usr/lib/python2.5/site-packages/Bio/trie.so
   usr/lib/python2.5/site-packages/Bio/PDB/mmCIF/MMCIFlex.so
   usr/lib/python2.5/site-packages/Bio/Nexus/cnexus.so
   usr/lib/python2.5/site-packages/Bio/KDTree/_CKDTree.so

 * QA Notice: Precompiled python object files do not belong in /usr/share
 * /usr/share/biopython/Tests/test_Cluster.pyc
 * /usr/share/biopython/Tests/test_NCBIXML.pyc
 * /usr/share/biopython/Tests/test_HMMGeneral.pyc
 * /usr/share/biopython/Tests/test_KEGG.pyc
 * /usr/share/biopython/Tests/test_PDB.pyc
 * /usr/share/biopython/Tests/test_BioSQL.pyc
[cut]

I also think it is a waste of space to install pre-compile testing files.
Comment 6 Olivier Fisette (RETIRED) gentoo-dev 2009-01-16 17:06:55 UTC
In Portage. Thanks for your work, Juan, and thanks for the testing, Martin.

I fixed the *.pyc issue and removed FEATURES=test, as ebuilds should not set FEATURES. The test USE flag should not be used either. Users can enable src_test with FEATURES=test in their make.conf.
Comment 7 Martin Mokrejš 2009-06-05 09:29:24 UTC
Please stabilize sci-biology/biopython-1.49 for x86 and amd64. almost 5 months in the tree.