Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679374 - dev-util/catalyst: Make the 'app-text/asciidoc' dependency optional
Summary: dev-util/catalyst: Make the 'app-text/asciidoc' dependency optional
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Catalyst Developers
Depends on:
Reported: 2019-03-03 23:30 UTC by Joshua Kinard
Modified: 2020-11-04 22:52 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Kinard gentoo-dev 2019-03-03 23:30:31 UTC
Catalyst currently has a hard dependency on app-text/asciidoc.  Unfortunately, the current asciidoc packages in Gentoo only work with Pythono-2.7, which is going to be EOL'ed in 2020, thus you have to set PYTHON_SINGLE_TARGET="python2_7".

This becomes a problem if you have to install dev-util/glib-utils (which usually happens if you ever have to install dev-libs/glib), which only supports Python-3.x now, as far as I can tell.  In order to avoid a block loop, you have to set PYTHON_SINGLE_TARGET to a supported python3_X value.  This will of course then break asciidoc.

Bug #661662 is open to request addition of a Python-3.x-compatible version of asciidoc, via a new asciidoc-py3 package, but not much of an ETA on when that will be complete.

It looks like asciidoc has no use after catalyst is installed, so I think the easiest way to resolve this for now is to make asciidoc an optional dependency in catalyst behind a USE flag, as well as the corresponding build logic in catalyst's compile phase.
Comment 1 Matt Turner gentoo-dev 2019-07-29 04:18:23 UTC
asciidoc with python3 support is stable everywhere. There's also a Ruby implementation (dev-ruby/asciidoctor). I don't know that it makes sense to make asciidoc optional at this point.