The popular PHP database library 'adodb' (Ms style ADO api, but in a non-ms language) has recently been ported to python.
Created attachment 26504 [details] adodb-py-0.03.ebuild Suggested category - dev-python
you can replace the src_install() with just DOCS="LICENSE.txt README.txt adodb-py-docs.htm" it'll make the ebuild a little more simplier
Created attachment 26652 [details] adodb-py-0.03.ebuild Corrected ebuild.
Created attachment 37113 [details] eBuild for dev-python/adodb-py This package is now in a stable release; the eBuild appears to work fine, I just bumped it's version and modified it because the phplens team have re-hosted on sourceforge. Any chance we could see this in the official portage tree? Those of us who know this lib from PHP know that adodb is a really nifty database library.
Thanks for the ebuild, Salim, added to CVS.
Unlike PHP, python does not include modules for most types of database by default. Is there a way to check if use flag +MYSQL, and make may mysql-python a dependancy? The ebuild works fine, but it's quite possible to install it without any working python database drivers; as a consequence adodb-py would be unusable. Should this bug be re-opened or should I suggest this as a new item.
reopen i guess? maybe they juse need USE flag conditional deps on mysql-python pgsql and other db access modules. also, the HOMEPAGE needs to be changed to http://adodb.sourceforge.net/
Thanks guys. Fixed in CVS: added USE flags for mysql and postgresql, changed dependency on python to >=2.3 and changed homepage.