In the 1.2.5 version of mysql-python the documentation file was renamed but the ebuild wasn't adapt Reproducible: Always Steps to Reproduce: 1.emerge dev-python/mysql-python-1.2.5 Actual Results: install: cannot stat ‘README’: No such file or directory !!! dodoc: README does not exist install: cannot stat ‘doc/FAQ.txt’: No such file or directory !!! dodoc: doc/FAQ.txt does not exist install: cannot stat ‘doc/MySQLdb.txt’: No such file or directory !!! dodoc: doc/MySQLdb.txt does not exist Expected Results: Succesful build
Created attachment 371962 [details] mysql-python-1.2.5.ebuild
Comment on attachment 371962 [details] mysql-python-1.2.5.ebuild --- mysql-python-1.2.5.ebuild 2014-03-07 15:13:04.000000000 +0100 +++ - 2014-03-07 18:02:41.618574993 +0100 @@ -26,7 +26,7 @@ S="${WORKDIR}/${MY_P}" -DOCS=( HISTORY README doc/{FAQ,MySQLdb}.txt ) +DOCS=( HISTORY README.md doc/{FAQ,MySQLdb}.rst ) python_configure_all() { append-flags -fno-strict-aliasing
(In reply to Jeroen Roovers from comment #2) > Comment on attachment 371962 [details] > mysql-python-1.2.5.ebuild > > --- mysql-python-1.2.5.ebuild 2014-03-07 15:13:04.000000000 +0100 > +++ - 2014-03-07 18:02:41.618574993 +0100 > @@ -26,7 +26,7 @@ > > S="${WORKDIR}/${MY_P}" > > -DOCS=( HISTORY README doc/{FAQ,MySQLdb}.txt ) > +DOCS=( HISTORY README.md doc/{FAQ,MySQLdb}.rst ) > > python_configure_all() { > append-flags -fno-strict-aliasing I confirm that provided change fixes the reported issue. ~AMD64
This solution work but isn't ideal. It makes it work but it doesn't do what it should (build the doc). The best would be to add a doc USE flag and build the sphinx doc when the flag is used.
(In reply to Guillaume Poulin from comment #4) > This solution work but isn't ideal. It makes it work but it doesn't do what > it should (build the doc). The best would be to add a doc USE flag and build > the sphinx doc when the flag is used. While this is an entirely separate 'process', I did both, save making a separate bug for what ought to have already been done. 18 Mar 2014; Ian Delaney <idella4@gentoo.org> mysql-python-1.2.5.ebuild: Add IUSE doc, dep, doc build and install, prompted by Bug #503750 18 Mar 2014; Ian Delaney <idella4@gentoo.org> mysql-python-1.2.5.ebuild: correction to DOCS var, fixes Bug #503750
*** Bug 505110 has been marked as a duplicate of this bug. ***