Diff asciidoctor-diagram-2.0.5-r1 with a asciidoctor-diagram-2.2.11
/usr/portage/dev-ruby/asciidoctor-diagram/asciidoctor-diagram-2.2.11.ebuild 2023-10-09 14:52:30.420368374 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
USE_RUBY="ruby27 ruby30 ruby31 ruby32" |
|
6 |
USE_RUBY="ruby31 ruby32" |
|
7 | 7 | |
8 | 8 |
RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
9 | 9 | |
... | ... | |
11 | 11 | |
12 | 12 |
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
13 | 13 | |
14 |
inherit multilib ruby-fakegem |
|
14 |
inherit ruby-fakegem |
|
15 | 15 | |
16 | 16 |
DESCRIPTION="A set of Asciidoctor extensions that enable you to add diagrams" |
17 | 17 |
HOMEPAGE="https://github.com/asciidoctor/asciidoctor-diagram" |
... | ... | |
35 | 35 | |
36 | 36 |
all_ruby_prepare() { |
37 | 37 |
rm Gemfile || die |
38 |
sed -i -e '/c.formatter/ s:^:#:' spec/test_helper.rb || die |
|
38 |
sed -e '/c.formatter/ s:^:#:' \ |
|
39 |
-e '/logger.*DEBUG/ s:^:#:' \ |
|
40 |
-i spec/test_helper_methods.rb || die |
|
41 | ||
42 |
# Remove some diagram dependencies that contains vendored code and |
|
43 |
# are currently not packaged. Please file a bug if you have a need |
|
44 |
# for these diagram types. |
|
45 |
sed -i -e '/\(ditaamini\|plantuml\)/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die |
|
39 | 46 | |
40 | 47 |
# Avoid specs for unpackaged tools |
41 |
rm -f spec/{a2s,blockdiag,bpmn,bytefield,dpic,erd,mermaid,msc,nomnoml,pikchr,shaape,smcat,svgbob,symbolator,syntrax,umlet,vega,wavedrom}_spec.rb || die |
|
48 |
rm -f spec/{a2s,barcode,blockdiag,bpmn,bytefield,d2,dbml,diagrams,ditaa,dpic,erd,graphviz_py,mermaid,msc,nomnoml,pikchr,plantuml,shaape,smcat,structurizr,svgbob,symbolator,syntrax,umlet,vega,wavedrom}_spec.rb || die |
|
42 | 49 |
} |
43 | 50 | |
44 | 51 |
all_ruby_install() { |