[gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Add distutils_enable_sphinx helper function

2019-11-20 Thread Michał Górny
Add a helper function to easily take care of the most common dev-python/sphinx usage for HTML doc building. Signed-off-by: Michał Górny --- eclass/distutils-r1.eclass | 98 ++ 1 file changed, 98 insertions(+) diff --git a/eclass/distutils-r1.eclass b/eclass/d

Re: [gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Add distutils_enable_sphinx helper function

2019-11-20 Thread Patrick McLean
Hi Michał, Thanks for doing this work, it's always better to have standardized ways of doing things. On Wed, 20 Nov 2019 15:21:55 +0100 Michał Górny wrote: > +distutils_enable_sphinx() { > + debug-print-function ${FUNCNAME} "${@}" > + [[ ${#} -ge 1 ]] || die "${FUNCNAME} takes at leas

Re: [gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Add distutils_enable_sphinx helper function

2019-11-20 Thread Michał Górny
On Wed, 2019-11-20 at 10:23 -0800, Patrick McLean wrote: > Hi Michał, > > Thanks for doing this work, it's always better to have standardized > ways of doing things. > > On Wed, 20 Nov 2019 15:21:55 +0100 > Michał Górny wrote: > > > > > +distutils_enable_sphinx() { > > + debug-print-functio