From 5ff35cfdfb57ddfb3ab1f55b87510f2ec75a4d1f Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Fri, 22 Apr 2022 00:54:52 +0000 Subject: Adding metadata --- dev-ruby/kramdown/kramdown-2.3.2-r1.ebuild | 51 +++++++++++++++++++ dev-ruby/kramdown/kramdown-2.3.2.ebuild | 51 ------------------- dev-ruby/puppetdb-termini/Manifest | 1 - .../puppetdb-termini/puppetdb-termini-7.9.0.ebuild | 28 ----------- .../puppetdb-termini/puppetdb-termini-7.9.2.ebuild | 2 +- dev-ruby/rexical/rexical-1.0.7-r1.ebuild | 39 +++++++++++++++ dev-ruby/rexical/rexical-1.0.7.ebuild | 39 --------------- dev-ruby/rouge/rouge-3.28.0-r1.ebuild | 35 +++++++++++++ dev-ruby/rouge/rouge-3.28.0.ebuild | 35 ------------- dev-ruby/stringex/stringex-2.8.5-r1.ebuild | 32 ++++++++++++ dev-ruby/stringex/stringex-2.8.5.ebuild | 32 ------------ dev-ruby/yard/yard-0.9.27-r1.ebuild | 57 ++++++++++++++++++++++ dev-ruby/yard/yard-0.9.27.ebuild | 57 ---------------------- 13 files changed, 215 insertions(+), 244 deletions(-) create mode 100644 dev-ruby/kramdown/kramdown-2.3.2-r1.ebuild delete mode 100644 dev-ruby/kramdown/kramdown-2.3.2.ebuild delete mode 100644 dev-ruby/puppetdb-termini/puppetdb-termini-7.9.0.ebuild create mode 100644 dev-ruby/rexical/rexical-1.0.7-r1.ebuild delete mode 100644 dev-ruby/rexical/rexical-1.0.7.ebuild create mode 100644 dev-ruby/rouge/rouge-3.28.0-r1.ebuild delete mode 100644 dev-ruby/rouge/rouge-3.28.0.ebuild create mode 100644 dev-ruby/stringex/stringex-2.8.5-r1.ebuild delete mode 100644 dev-ruby/stringex/stringex-2.8.5.ebuild create mode 100644 dev-ruby/yard/yard-0.9.27-r1.ebuild delete mode 100644 dev-ruby/yard/yard-0.9.27.ebuild (limited to 'dev-ruby') diff --git a/dev-ruby/kramdown/kramdown-2.3.2-r1.ebuild b/dev-ruby/kramdown/kramdown-2.3.2-r1.ebuild new file mode 100644 index 000000000000..1fbd86bc93d4 --- /dev/null +++ b/dev-ruby/kramdown/kramdown-2.3.2-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 2020-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using strict syntax definition" +HOMEPAGE="https://kramdown.gettalong.org/" + +LICENSE="MIT" + +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64" +IUSE="latex" + +LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )" +RDEPEND+=" ${LATEX_DEPS}" +DEPEND+=" test? ( ${LATEX_DEPS} app-text/htmltidy )" + +ruby_add_rdepend " + dev-ruby/rexml + >=dev-ruby/rouge-1.8 + >=dev-ruby/stringex-1.5.1 + !!=dev-ruby/minitest-5.0 )" + +all_ruby_prepare() { + if ! use latex; then + # Remove latex tests. They will fail gracefully when latex isn't + # present at all, but not when components are missing (most + # notable ucs.sty). + sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die + fi +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/man1/kramdown.1 +} diff --git a/dev-ruby/kramdown/kramdown-2.3.2.ebuild b/dev-ruby/kramdown/kramdown-2.3.2.ebuild deleted file mode 100644 index 0bb1c5978893..000000000000 --- a/dev-ruby/kramdown/kramdown-2.3.2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 2020-2022 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 -USE_RUBY="ruby27 ruby30" - -RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS" - -RUBY_FAKEGEM_EXTRAINSTALL="data" - -inherit ruby-fakegem - -DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using strict syntax definition" -HOMEPAGE="https://kramdown.gettalong.org/" - -LICENSE="MIT" - -SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64" -IUSE="latex" - -LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )" -RDEPEND+=" ${LATEX_DEPS}" -DEPEND+=" test? ( ${LATEX_DEPS} app-text/htmltidy )" - -ruby_add_rdepend " - dev-ruby/rexml - >=dev-ruby/rouge-1.8 - >=dev-ruby/stringex-1.5.1 - !!=dev-ruby/minitest-5.0 )" - -all_ruby_prepare() { - if ! use latex; then - # Remove latex tests. They will fail gracefully when latex isn't - # present at all, but not when components are missing (most - # notable ucs.sty). - sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die - fi -} - -each_ruby_test() { - ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die -} - -all_ruby_install() { - all_fakegem_install - - doman man/man1/kramdown.1 -} diff --git a/dev-ruby/puppetdb-termini/Manifest b/dev-ruby/puppetdb-termini/Manifest index 224a53a6edf1..95a5e66ae1ea 100644 --- a/dev-ruby/puppetdb-termini/Manifest +++ b/dev-ruby/puppetdb-termini/Manifest @@ -1,3 +1,2 @@ DIST puppetdb-termini_7.10.1-1stretch_all.deb 22156 BLAKE2B 52b1060fcf177b37229303ef93f90424f2b6b29eadf8041aa733d20f6b417c16e163891c44bc6f7845957ced10db132c705d6d6031041abace2f8f66f3d64964 SHA512 b273ac57558c9255d342010d9f3ada729596582311b3bbe658bf1505bd457041d0f5948c35c37bad585c931a66a66dcadcc71960de695c126715ef53d08295c5 -DIST puppetdb-termini_7.9.0-1stretch_all.deb 21860 BLAKE2B e2ecc32f216a22d1c617d9d407d58512a2d84e2eb73ed37425ed16abc7948a8e6b8a0744798baf4282b5d43605e66cc8f5fb59e42eaffe10625d486e120e8d71 SHA512 e91cd0870d02fb690c0d9585b9d56b72e53c5f64ab5bec4631651326806a270f0c6601c77279d17b5182d73924a3782f2e1ca5fdf4cf03beac1b0e3e807b36db DIST puppetdb-termini_7.9.2-1stretch_all.deb 22164 BLAKE2B fbdeb196815a09fc3b5658cf193d723bc0038ce0463cab3fa218bdc970d03828eeffa5a4756c4716afe6346a6aca2ea4ceb8c57ae4174cbae72773fffee634ce SHA512 5c399983118583d856c8160f8e21b646dbdaf56ba9044f7d5ac7a00cac14038b476b80074ea7bb696c0d9548cb50e03efc1119a32bade81532b6f10540a54d3d diff --git a/dev-ruby/puppetdb-termini/puppetdb-termini-7.9.0.ebuild b/dev-ruby/puppetdb-termini/puppetdb-termini-7.9.0.ebuild deleted file mode 100644 index 83bb38516615..000000000000 --- a/dev-ruby/puppetdb-termini/puppetdb-termini-7.9.0.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27" - -inherit unpacker - -DESCRIPTION="Library needed to connect puppet to puppetdb" -HOMEPAGE="https://puppet.com/docs/puppetdb/latest/index.html" -SRC_URI="http://apt.puppetlabs.com/pool/stretch/puppet/${PN:0:1}/${PN}/${PN}_${PV}-1stretch_all.deb" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" -# will need the same keywords as puppet -KEYWORDS="amd64 ~arm64 ~ppc x86" - -RDEPEND+="" -DEPEND+="" - -S=${WORKDIR} - -src_install() { - insinto opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/ - doins -r opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/* -} diff --git a/dev-ruby/puppetdb-termini/puppetdb-termini-7.9.2.ebuild b/dev-ruby/puppetdb-termini/puppetdb-termini-7.9.2.ebuild index a2bc85cce4e6..83bb38516615 100644 --- a/dev-ruby/puppetdb-termini/puppetdb-termini-7.9.2.ebuild +++ b/dev-ruby/puppetdb-termini/puppetdb-termini-7.9.2.ebuild @@ -15,7 +15,7 @@ LICENSE="Apache-2.0" SLOT="0" IUSE="" # will need the same keywords as puppet -KEYWORDS="~amd64 ~arm64 ~ppc ~x86" +KEYWORDS="amd64 ~arm64 ~ppc x86" RDEPEND+="" DEPEND+="" diff --git a/dev-ruby/rexical/rexical-1.0.7-r1.ebuild b/dev-ruby/rexical/rexical-1.0.7-r1.ebuild new file mode 100644 index 000000000000..ec1b7e4c48de --- /dev/null +++ b/dev-ruby/rexical/rexical-1.0.7-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 2021-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc DOCUMENTATION.en.rdoc DOCUMENTATION.ja.rdoc README.ja README.rdoc" + +inherit ruby-fakegem eutils + +DESCRIPTION="Rexical is a lexical scanner generator" +HOMEPAGE="https://github.com/tenderlove/rexical/tree/master" +LICENSE="LGPL-2" # plus exception + +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" + +# File collision, bug 459116 +RDEPEND+=" !!app-admin/rex" + +ruby_add_bdepend " + test? ( + dev-ruby/hoe + dev-ruby/minitest + )" + +all_ruby_prepare() { + # Avoid dependency on unpackaged rubocop + sed -i -e '/test_rubocop_security/askip "not packaged"' test/test_generator.rb || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc sample/* +} diff --git a/dev-ruby/rexical/rexical-1.0.7.ebuild b/dev-ruby/rexical/rexical-1.0.7.ebuild deleted file mode 100644 index cb5311fd1ea6..000000000000 --- a/dev-ruby/rexical/rexical-1.0.7.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 2021 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc DOCUMENTATION.en.rdoc DOCUMENTATION.ja.rdoc README.ja README.rdoc" - -inherit ruby-fakegem eutils - -DESCRIPTION="Rexical is a lexical scanner generator" -HOMEPAGE="https://github.com/tenderlove/rexical/tree/master" -LICENSE="LGPL-2" # plus exception - -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -SLOT="0" -IUSE="" - -# File collision, bug 459116 -RDEPEND+=" !!app-admin/rex" - -ruby_add_bdepend " - test? ( - dev-ruby/hoe - dev-ruby/minitest - )" - -all_ruby_prepare() { - # Avoid dependency on unpackaged rubocop - sed -i -e '/test_rubocop_security/askip "not packaged"' test/test_generator.rb || die -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc sample/* -} diff --git a/dev-ruby/rouge/rouge-3.28.0-r1.ebuild b/dev-ruby/rouge/rouge-3.28.0-r1.ebuild new file mode 100644 index 000000000000..5490b301c695 --- /dev/null +++ b/dev-ruby/rouge/rouge-3.28.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_TASK_TEST="spec" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="rouge.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Yet-another-markdown-parser using a strict syntax definition in pure Ruby" +HOMEPAGE="https://github.com/jneen/rouge" +SRC_URI="https://github.com/jneen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="2" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="" + +ruby_add_bdepend "doc? ( dev-ruby/redcarpet ) + test? ( dev-ruby/minitest-power_assert ) + dev-ruby/yard +" + +ruby_add_rdepend "dev-ruby/redcarpet" + +all_ruby_prepare() { + rm -f tasks/{check/style,update/changelog}.rake || die + + sed -i -e '/bundler/I s:^:#: ; 5irequire "minitest-power_assert"' spec/spec_helper.rb || die + sed -i -e '/\(changelog\|bundler\|rubocop\)/ s:^:#: ; 1irequire "pathname"' Rakefile || die +} diff --git a/dev-ruby/rouge/rouge-3.28.0.ebuild b/dev-ruby/rouge/rouge-3.28.0.ebuild deleted file mode 100644 index edd8068d2428..000000000000 --- a/dev-ruby/rouge/rouge-3.28.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 2021-2022 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_TASK_TEST="spec" -RUBY_FAKEGEM_RECIPE_DOC="yard" - -RUBY_FAKEGEM_GEMSPEC="rouge.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Yet-another-markdown-parser using a strict syntax definition in pure Ruby" -HOMEPAGE="https://github.com/jneen/rouge" -SRC_URI="https://github.com/jneen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" - -SLOT="2" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="" - -ruby_add_bdepend "doc? ( dev-ruby/redcarpet ) - test? ( dev-ruby/minitest-power_assert ) - dev-ruby/yard -" - -ruby_add_rdepend "dev-ruby/redcarpet" - -all_ruby_prepare() { - rm -f tasks/{check/style,update/changelog}.rake || die - - sed -i -e '/bundler/I s:^:#: ; 5irequire "minitest-power_assert"' spec/spec_helper.rb || die - sed -i -e '/\(changelog\|bundler\|rubocop\)/ s:^:#: ; 1irequire "pathname"' Rakefile || die -} diff --git a/dev-ruby/stringex/stringex-2.8.5-r1.ebuild b/dev-ruby/stringex/stringex-2.8.5-r1.ebuild new file mode 100644 index 000000000000..6106e4a0edd7 --- /dev/null +++ b/dev-ruby/stringex/stringex-2.8.5-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2020-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Extensions for Ruby's String class" +HOMEPAGE="https://github.com/rsl/stringex" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64" +IUSE="test" + +# we could rely on activerecord[sqlite3], but since we do not remove the +# sqlite3 adapter from activerecord when building -sqlite3, it's easier +# to just add another dependency, so the user doesn't have to change the +# USE flags at all. +ruby_add_bdepend " + test? ( + dev-ruby/i18n:1 + dev-ruby/redcloth + dev-ruby/test-unit:2 + >=dev-ruby/activerecord-3 + dev-ruby/sqlite3 )" + +all_ruby_prepare() { + sed -i -e '1agem "i18n", "~>1.0"' test/test_helper.rb || die +} diff --git a/dev-ruby/stringex/stringex-2.8.5.ebuild b/dev-ruby/stringex/stringex-2.8.5.ebuild deleted file mode 100644 index faa43a7ee28d..000000000000 --- a/dev-ruby/stringex/stringex-2.8.5.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 2020-2021 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=6 -USE_RUBY="ruby25 ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" - -inherit ruby-fakegem - -DESCRIPTION="Extensions for Ruby's String class" -HOMEPAGE="https://github.com/rsl/stringex" -LICENSE="MIT" - -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64" -IUSE="test" - -# we could rely on activerecord[sqlite3], but since we do not remove the -# sqlite3 adapter from activerecord when building -sqlite3, it's easier -# to just add another dependency, so the user doesn't have to change the -# USE flags at all. -ruby_add_bdepend " - test? ( - dev-ruby/i18n:1 - dev-ruby/redcloth - dev-ruby/test-unit:2 - >=dev-ruby/activerecord-3 - dev-ruby/sqlite3 )" - -all_ruby_prepare() { - sed -i -e '1agem "i18n", "~>1.0"' test/test_helper.rb || die -} diff --git a/dev-ruby/yard/yard-0.9.27-r1.ebuild b/dev-ruby/yard/yard-0.9.27-r1.ebuild new file mode 100644 index 000000000000..5731864bb5e6 --- /dev/null +++ b/dev-ruby/yard/yard-0.9.27-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 2021-2022 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="yard" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_DOCDIR="doc docs" + +RUBY_FAKEGEM_EXTRAINSTALL="templates" + +RUBY_FAKEGEM_GEMSPEC="yard.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Documentation generation tool for the Ruby programming language" +HOMEPAGE="https://yardoc.org/" + +# The gem lakes the gemspec file needed to pass tests. +SRC_URI="https://github.com/lsegal/yard/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend "doc? ( || ( dev-ruby/maruku dev-ruby/rdiscount dev-ruby/kramdown ) )" + +ruby_add_bdepend "test? ( dev-ruby/rack )" + +all_ruby_prepare() { + sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die + + sed -i -e '/samus/I s:^:#:' Rakefile || die + + sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid specs that make assumptions on load ordering that are not + # true for us. This may be related to how we install in Gentoo. This + # also drops a test requirement on dev-ruby/rack. + rm -f spec/cli/server_spec.rb || die + + # Avoid specs that only work with bundler + sed -i -e '/#initialize/,/^ end/ s:^:#:' spec/cli/yri_spec.rb || die + sed -e '/overwrites options with data in/askip "wrong assumptions on file access"' \ + -e '/loads any gem plugins starting with/askip "wrong assumptions on file access"' \ + -i spec/config_spec.rb || die + + # Avoid redcarpet-specific spec that is not optional + sed -i -e '/autolinks URLs/askip "make redcarpet optional"' spec/templates/helpers/html_helper_spec.rb || die + + # Avoid asciidoc-specific spec that is not optional + sed -i -e '/\(AsciiDoc specific\|AsciiDoc header\)/askip "skipping asciidoc test"' spec/templates/helpers/html_helper_spec.rb || die +} diff --git a/dev-ruby/yard/yard-0.9.27.ebuild b/dev-ruby/yard/yard-0.9.27.ebuild deleted file mode 100644 index ef92c2c05c74..000000000000 --- a/dev-ruby/yard/yard-0.9.27.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2021 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -USE_RUBY="ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_TASK_DOC="yard" - -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_DOCDIR="doc docs" - -RUBY_FAKEGEM_EXTRAINSTALL="templates" - -RUBY_FAKEGEM_GEMSPEC="yard.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Documentation generation tool for the Ruby programming language" -HOMEPAGE="https://yardoc.org/" - -# The gem lakes the gemspec file needed to pass tests. -SRC_URI="https://github.com/lsegal/yard/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_bdepend "doc? ( || ( dev-ruby/maruku dev-ruby/rdiscount dev-ruby/kramdown ) )" - -ruby_add_bdepend "test? ( dev-ruby/rack )" - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die - - sed -i -e '/samus/I s:^:#:' Rakefile || die - - sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die - - # Avoid specs that make assumptions on load ordering that are not - # true for us. This may be related to how we install in Gentoo. This - # also drops a test requirement on dev-ruby/rack. - rm -f spec/cli/server_spec.rb || die - - # Avoid specs that only work with bundler - sed -i -e '/#initialize/,/^ end/ s:^:#:' spec/cli/yri_spec.rb || die - sed -e '/overwrites options with data in/askip "wrong assumptions on file access"' \ - -e '/loads any gem plugins starting with/askip "wrong assumptions on file access"' \ - -i spec/config_spec.rb || die - - # Avoid redcarpet-specific spec that is not optional - sed -i -e '/autolinks URLs/askip "make redcarpet optional"' spec/templates/helpers/html_helper_spec.rb || die - - # Avoid asciidoc-specific spec that is not optional - sed -i -e '/\(AsciiDoc specific\|AsciiDoc header\)/askip "skipping asciidoc test"' spec/templates/helpers/html_helper_spec.rb || die -} -- cgit v1.3