Created attachment 424172 [details, diff] Bumps the ebuild for dev-python/apsw to 3.9.2_p1-r1 This attached patch fixes the docs build for apsw-3.9.2_p1 and bumps the ebuild to apsw-3.9.2_p1-r1. Updated also to EAPI=6 in the process.
1. the assignment of HTML_DOCS="doc/" results in installing a folder doc into the docs location /path/to/image/usr/share/doc/apsw-3.9.2_p1-r1/html/doc/ The desired or expected location is /path/to/image/usr/share/doc/apsw-3.9.2_p1-r1/html The use of HTML_DOCS requires a terminating period (.) to get the desired path. Also the installation of the docs is made unconditional with the newly added doc flag not actually being used. Since the docs are pre-built, this requires the usual python_install_all() { use doc && local HTML_DOCS=( doc/. ) distutils-r1_python_install_all } Without setting the var (HTML_DOCS) local in the phase (python_install_all), the installation of the docs will be done unconditionally
Created attachment 424248 [details, diff] APSW 3.9.2_p1-r1 ebuild (fixes suggested by idella4) Here's an updated patch.
commit 1a4e5dbf5ea339164b251e7e0324bd1254814ff4 Author: Ian Delaney <idella4@gentoo.org> Date: Sat Jan 30 23:43:04 2016 +0800 dev-python/apsw: revbump to vn. -3.9.2_p1-r1 revbump uses new SRC_URI fetching an adjusted tarball with a pre-built set of docs; add IUSE doc and doc install in the usual form Also bump to EAPI 6, patch submitted by E. Myers via the gentoo bug Gentoo bug: #573316