| Summary: | dev-python/mysql-connector-1.0.7 - MySQL Connector/Python, Python Driver for MySQL. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Francesco Riosa <vivo75> |
| Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | tomwij |
| Priority: | Normal | Keywords: | EBUILD |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://dev.mysql.com/downloads/connector/python/ | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | mysql-connector-python-1.0.7.ebuild | ||
|
Description
Francesco Riosa
2012-11-26 20:24:29 UTC
This needs a couple, well more than a couple, of adjustments to become viable; "Oracle provide a connector under the GPL2 license" 1) Yes this looks in order. 2) The title of this bug cites dev-python/mysql-connector. Then the ebuild is entitled mysql-connector-python, which contradict one another. The acquisition of the tarball I finally managed after doing some juggling by resolving this manually, seeing that it was possible from the build displayed. 3) testuser@archtester ~/improvise/dev-python/mysql-connector $ ls /mnt/gen2/TmpDir/portage/dev-python/mysql-connector-python-1.0.8/work/mysql-connector-python-1.0.8/ -- yileds -- build-2.7 ChangeLog docs PKG-INFO python3 setup.cfg support version.py build-3.2 COPYING metasetupinfo.py python2 README setup.py unittests.py So we have python2 and 3 folders ready to fire, looks good. 4) You have a docs folder, but no docs built or installed in the ebuild. 5) You have tests testuser@archtester ~/improvise/dev-python/mysql-connector $ ls /mnt/gen2/TmpDir/portage/dev-python/mysql-connector-python-1.0.8/work/mysql-connector-python-1.0.8/python2/tests __init__.py test_connection.py test_cursor.py test_examples.py test_network.py test_utils.py mysqld.py test_constants.py test_errorcode.py test_locales.py test_pep249.py test_bugs.py test_conversion.py test_errors.py test_mysql_datatypes.py test_protocol.py However it takes more than a simple addition of DISTUTILS_SRC_TEST=nosetests to see the test suite run and pass under ALL scenarios. 6) The folder in the source "support" opens another list of tasks and possibilitites 7) testuser@archtester ~/improvise/dev-python/mysql-connector $ ls /mnt/gen2/TmpDir/portage/dev-python/mysql-connector-python-1.0.8/image/usr/lib64 -- yields -- /python2.7/site-packages/mysql connector __init__.py This requires one more step to set right. 8) KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" ditto. This was filed 2012-11-26 and as you can see there has been a next version released which I have acquired in executing the above. In short, that's more than a couple. You have the options of pursuing the prep of the ebuild via sunrise, or more directly, via irc in gentoo-python, where you can seek support. dev-python/mysql-connector-python has been added to the tree |