Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455860 - dev-python/pymongo: please review the conversion to distutils-r1
Summary: dev-python/pymongo: please review the conversion to distutils-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Johan Bergström
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-r1-tracker
  Show dependency tree
 
Reported: 2013-02-06 15:19 UTC by Michał Górny
Modified: 2013-02-11 11:50 UTC (History)
3 users (show)

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


Attachments
The converted ebuild (pymongo-2.4.2-r1.ebuild,3.16 KB, text/plain)
2013-02-06 15:19 UTC, Michał Górny
Details
Diff against the original ebuild (pymongo-r1.diff,3.78 KB, patch)
2013-02-06 15:20 UTC, Michał Górny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-06 15:19:59 UTC
Created attachment 338110 [details]
The converted ebuild

Well, it's the best I could do about it. The tests were fixed to start new mongod version properly, and find an unused port. However, they may be incompatible with old mongod since that thing eats gigabytes of RAM during build.

I still get one test failure with py2.7 (coming straight from mongod), and another one if the default port is occupied and the test suite uses another one (https://jira.mongodb.org/browse/PYTHON-475).

Attaching ebuild, then diff.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-06 15:20:49 UTC
Created attachment 338112 [details, diff]
Diff against the original ebuild
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-10 11:29:14 UTC
Any of you alive? I will commit it in 24hrs since it's mostly a simple conversion + test runner improvement.
Comment 3 Ultrabug gentoo-dev 2013-02-11 10:40:07 UTC
Go ahead mate, I trust your work

Thanks a lot
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-02-11 11:50:03 UTC
Thanks. Added a few ebegin/eend to make it more verbose and committed.