Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573316 - dev-python/apsw-3.9.2_p1-r1: fix docs build
Summary: dev-python/apsw-3.9.2_p1-r1: fix docs build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 18:10 UTC by Elizabeth Myers
Modified: 2016-01-30 15:45 UTC (History)
0 users

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


Attachments
Bumps the ebuild for dev-python/apsw to 3.9.2_p1-r1 (0001-dev-python-apsw-fix-docs-build-by-using-releases.patch,5.64 KB, patch)
2016-01-29 18:10 UTC, Elizabeth Myers
Details | Diff
APSW 3.9.2_p1-r1 ebuild (fixes suggested by idella4) (0001-dev-python-apsw-fix-docs-build-by-using-releases.patch,5.72 KB, patch)
2016-01-30 14:05 UTC, Elizabeth Myers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elizabeth Myers 2016-01-29 18:10:43 UTC
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.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2016-01-30 04:24:12 UTC
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
Comment 2 Elizabeth Myers 2016-01-30 14:05:31 UTC
Created attachment 424248 [details, diff]
APSW 3.9.2_p1-r1 ebuild (fixes suggested by idella4)

Here's an updated patch.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2016-01-30 15:45:16 UTC
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