[MacPorts] #54376: math/gsl documentation variant now depends on Sphinx
MacPorts
noreply at macports.org
Tue Jun 27 11:06:29 UTC 2017
#54376: math/gsl documentation variant now depends on Sphinx
----------------------+------------------------
Reporter: slewsys | Owner: dtakahashi
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: gsl |
----------------------+------------------------
Comment (by Schamschula):
Replying to [comment:5 slewsys]:
> Replying to [comment:2 Schamschula]:
> > There are a number of problems here:
> >
> > 1) you can't have two depends_build lines, you need to continue using
{{{\}}}
>
> Updated.
>
> > 2) py-sphinx_rtd_theme can be called from several versions of python
that could be installed
>
> It appears this is done via:
>
> `depends_build
port:py${python.default_version}-sphinx_rtd_theme`
>
> Could someone confirm this?
I don't think using the python PortGroup works. I have a similar issue
with the nghttp2 port. I tried a different approach in this case:
I added
{{{
bin:sphinx-build:py27-sphinx \
path:Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
packages/sphinx_rtd_theme:py27-sphinx_rtd_theme \
path:Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
packages/typing.py:py27-typing \
path:Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
packages/sphinxcontrib/websupport:py27-sphinxcontrib-websupport
}}}
to {{{depends_build}}}. This checks for any version of the required python
ports, but installs the python 2.7 version as a fall-back.
>
> > 3) py-sphinx_rtd_theme has dependencies
> >
> > 4) I'm still seeing issues with the latex documentation: there is no
MacPorts fncychap package at the moment
>
> `fncychap` is provided by `port:texlive-latex-extra`, and has been
added to gsl Portfile `depends_build`.
>
> > 5) The revision on py-sphinx-rtd-theme needs to be reset to 0 (or the
revision line needs to be deleted - preferred). The gsl revision needs to
be set to 1.
>
> Thank you to Schamschula for flagging these problems! An updated
math_gsl_Portfile.diff is attached.
> -AM
--
Ticket URL: <https://trac.macports.org/ticket/54376#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list