Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 658778

Summary: xorg-2.eclass: migrate from app-text/asciidoc to dev-ruby/asciidoctor
Product: Gentoo Linux Reporter: Amel Hodzic <ilmostro7>
Component: EclassesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: enhancement CC: alexander, ilmostro7, jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/8940
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 658780    
Attachments: patch to replace asciidoc with asciidoctor in xorg-2.eclass

Description Amel Hodzic 2018-06-23 04:05:29 UTC
The eclass should be updated to remove dependency on app-text/asciidoc, as the package relies strictly on python2.7--which is approaching EOL.


Reproducible: Always

Actual Results:  
Multiple packages inherit xorg-2 eclass, creating a dependency on python2.7 explicitly when the "doc" USE flag is added.


The development of asciidoc has stopped in 2013.  It's time to remove dependencies on it.
Comment 1 Amel Hodzic 2018-06-23 04:08:37 UTC
Created attachment 536880 [details, diff]
patch to replace asciidoc with asciidoctor in xorg-2.eclass
Comment 2 Amel Hodzic 2018-06-23 13:29:10 UTC
https://github.com/gentoo/gentoo/pull/8940
Comment 3 Matt Turner gentoo-dev 2018-07-05 03:09:02 UTC
If dev-ruby/asciidoctor is a drop-in replacement, couldn't we make the dependency

|| ( app-text/asciidoc dev-ruby/asciidoctor )

?
Comment 4 Amel Hodzic 2018-07-05 04:49:48 UTC
(In reply to Matt Turner from comment #3)
> If dev-ruby/asciidoctor is a drop-in replacement, couldn't we make the
> dependency
> 
> || ( app-text/asciidoc dev-ruby/asciidoctor )
> 
> ?

Sounds good to me, FWIW.
Comment 5 Larry the Git Cow gentoo-dev 2019-02-28 05:47:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbf276da64a41dcc93a525ce768564d09782a572

commit cbf276da64a41dcc93a525ce768564d09782a572
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-02-28 05:04:52 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-02-28 05:44:45 +0000

    xorg-2.eclass: Allow dev-ruby/asciidoctor to be used
    
    Closes: https://bugs.gentoo.org/658778
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 eclass/xorg-2.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)