diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-24 09:21:48 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-24 09:21:48 +0000 |
| commit | ecce8df2280c031fd627320cc74013ded02ad10f (patch) | |
| tree | fecf43915603c271ef77d538033253725439c1c4 /dev-ruby | |
| parent | bc144aeed8fd9cf9c997357015eeaac9a8d85248 (diff) | |
| download | baldeagleos-repo-ecce8df2280c031fd627320cc74013ded02ad10f.tar.gz baldeagleos-repo-ecce8df2280c031fd627320cc74013ded02ad10f.tar.xz baldeagleos-repo-ecce8df2280c031fd627320cc74013ded02ad10f.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby')
32 files changed, 387 insertions, 309 deletions
diff --git a/dev-ruby/abstract/abstract-1.0.0-r3.ebuild b/dev-ruby/abstract/abstract-1.0.0-r3.ebuild deleted file mode 100644 index 170c8bcf929e..000000000000 --- a/dev-ruby/abstract/abstract-1.0.0-r3.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_TEST="" -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="README.txt" - -inherit ruby-fakegem - -DESCRIPTION="Library which enable you to define abstract method in Ruby" -HOMEPAGE="https://rubygems.org/gems/abstract" - -LICENSE="Ruby" -SLOT="0" -KEYWORDS="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="test" - -each_ruby_test() { - ${RUBY} -Ilib test/test.rb || die "tests failed" -} diff --git a/dev-ruby/ae/ae-1.8.2.ebuild b/dev-ruby/ae/ae-1.8.2.ebuild deleted file mode 100644 index f5fce7658efe..000000000000 --- a/dev-ruby/ae/ae-1.8.2.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_TEST="" -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="Assertive Expressive is an assertions library designed for reuse" -HOMEPAGE="https://rubyworks.github.io/ae/" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -# Tests cause circular dependencies with dev-ruby/qed -RESTRICT="test" diff --git a/dev-ruby/color/color-1.8-r1.ebuild b/dev-ruby/color/color-1.8-r1.ebuild index 64f4215a36c2..3cd0aea63b82 100644 --- a/dev-ruby/color/color-1.8-r1.ebuild +++ b/dev-ruby/color/color-1.8-r1.ebuild @@ -15,7 +15,7 @@ SRC_URI="https://github.com/halostatue/color/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~ppc ~ppc64 x86" IUSE="" ruby_add_bdepend " diff --git a/dev-ruby/deprecated/deprecated-3.0.1-r3.ebuild b/dev-ruby/deprecated/deprecated-3.0.1-r3.ebuild new file mode 100644 index 000000000000..852d3bd1ef7d --- /dev/null +++ b/dev-ruby/deprecated/deprecated-3.0.1-r3.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +inherit ruby-fakegem + +DESCRIPTION="A Ruby library for handling deprecated code" +HOMEPAGE="https://github.com/erikh/deprecated" + +LICENSE="BSD" +SLOT="3" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +each_ruby_test() { + ${RUBY} -Ilib:. test/test_deprecated.rb || die "test failed" +} diff --git a/dev-ruby/ecma-re-validator/Manifest b/dev-ruby/ecma-re-validator/Manifest index 8915301a072d..3b3329d6007f 100644 --- a/dev-ruby/ecma-re-validator/Manifest +++ b/dev-ruby/ecma-re-validator/Manifest @@ -1,3 +1 @@ -DIST ecma-re-validator-0.2.0.gem 865792 BLAKE2B c41b01dc36f3000331085666f235b0adc749516b19028ee78ef56c68c00b7ab9105d4bfcfa9b061cd1f63987054a33a7e31cc3957be17182245120d679f5b6f3 SHA512 5e2ff7c2e8b8d5a8749d87f1678b235e69f197b9af95787f59cfff492ff3d8b8e2bc45a0e3da83d92ffa646e9b1b12ef5c4cab324d6e29a0c1f53e211d00aba9 -DIST ecma-re-validator-0.2.1.gem 8704 BLAKE2B a93ec88ca352883722db386e29d0d747b97d311c263a6ef331f99890e0c52aed0e28686beedebde9a06829cdd29e35c95ccb3a6c4352535cc990b135a963b850 SHA512 0a86a5f5b100cfd8442697aa32b0ae93c552d21e3d9af7d7dc3368315d90038fc6923aed475ae4a3ccdd1a0dc5bb9d470e0c34831389dcad539a9e6fa8883908 DIST ecma-re-validator-0.3.0.gem 8704 BLAKE2B 86358302c5f55c03ec5b30b360364cba04eedd9ac89461a3938e6365d118dcf9220b104605e05fe7340ac1b0c542af11ffa0931b6ce61ab4390d3cc68953a4fd SHA512 f1b0cadb3f2a6f9b488095a8bbc1863aeb7d40a9c2b5604fa7217505eea58db29eac9d03bd362a92589e1c277f83d13cb901b7ffc591c49a5cee0d2162b03156 diff --git a/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.0.ebuild b/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.0.ebuild deleted file mode 100644 index 0bc9740fcdd6..000000000000 --- a/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -inherit ruby-fakegem - -DESCRIPTION="Validate a regular expression string against what ECMA-262 can actually do" -HOMEPAGE="https://github.com/gjtorikian/ecma-re-validator" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -ruby_add_rdepend ">=dev-ruby/regexp_parser-1.2:1" - -all_ruby_prepare() { - sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die -} diff --git a/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.1.ebuild b/dev-ruby/ecma-re-validator/ecma-re-validator-0.3.0-r1.ebuild index 749fb888dacc..b1ca08da6fcf 100644 --- a/dev-ruby/ecma-re-validator/ecma-re-validator-0.2.1.ebuild +++ b/dev-ruby/ecma-re-validator/ecma-re-validator-0.3.0-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" RUBY_FAKEGEM_EXTRADOC="README.md" @@ -18,7 +18,7 @@ SLOT="0" KEYWORDS="~amd64" IUSE="" -ruby_add_rdepend ">=dev-ruby/regexp_parser-1.2:1" +ruby_add_rdepend "dev-ruby/regexp_parser:2" all_ruby_prepare() { sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die diff --git a/dev-ruby/flexmock/flexmock-2.3.6-r1.ebuild b/dev-ruby/flexmock/flexmock-2.3.6-r1.ebuild new file mode 100644 index 000000000000..d04994270898 --- /dev/null +++ b/dev-ruby/flexmock/flexmock-2.3.6-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="html" +RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*.rdoc doc/releases/*" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_RECIPE_DOC="none" + +RUBY_FAKEGEM_GEMSPEC="flexmock.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Simple mock object library for Ruby unit testing" +HOMEPAGE="https://github.com/doudou/flexmock" +SRC_URI="https://github.com/doudou/flexmock/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="flexmock" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest:5 + dev-ruby/rspec:3 + )" + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec test/rspec_integration + ${RUBY} -Ilib:.:test -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} + +all_ruby_prepare() { + sed -i -e '1igem "minitest", "~>5.0"' test/test_helper.rb || die + + sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/hamster/hamster-3.0.0-r1.ebuild b/dev-ruby/hamster/hamster-3.0.0-r1.ebuild deleted file mode 100644 index 3ebc8b4021d3..000000000000 --- a/dev-ruby/hamster/hamster-3.0.0-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_RECIPE_DOC="rdoc" - -inherit ruby-fakegem - -DESCRIPTION="Efficient, immutable, thread-safe collection classes for Ruby" -HOMEPAGE="https://github.com/hamstergem/hamster" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -ruby_add_rdepend "dev-ruby/concurrent-ruby:1" - -all_ruby_prepare() { - sed -i -e '/codeclimate/I s:^:#:' spec/spec_helper.rb || die - sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb spec/lib/hamster/vector/insert_spec.rb || die -} diff --git a/dev-ruby/little-plugger/little-plugger-1.1.4.ebuild b/dev-ruby/little-plugger/little-plugger-1.1.4.ebuild deleted file mode 100644 index 647ffe123f93..000000000000 --- a/dev-ruby/little-plugger/little-plugger-1.1.4.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" - -RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" - -inherit ruby-fakegem eutils - -DESCRIPTION="Module that provides Gem based plugin management" -HOMEPAGE="https://github.com/TwP/little-plugger" - -IUSE="test" -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" diff --git a/dev-ruby/lockfile/lockfile-2.1.3.ebuild b/dev-ruby/lockfile/lockfile-2.1.3.ebuild deleted file mode 100644 index ca0ba653799b..000000000000 --- a/dev-ruby/lockfile/lockfile-2.1.3.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_TEST="" -RUBY_FAKEGEM_TASK_DOC="" - -RUBY_FAKEGEM_EXTRADOC="README" - -inherit ruby-fakegem - -DESCRIPTION="A ruby library for creating NFS safe lockfiles" -HOMEPAGE="https://github.com/ahoward/lockfile" - -LICENSE="Ruby" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" diff --git a/dev-ruby/multi_test/multi_test-0.1.2.ebuild b/dev-ruby/multi_test/multi_test-0.1.2.ebuild deleted file mode 100644 index ceb73819824e..000000000000 --- a/dev-ruby/multi_test/multi_test-0.1.2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" - -RUBY_FAKEGEM_EXTRADOC="History.md README.md" - -inherit ruby-fakegem - -DESCRIPTION="A uniform interface for Ruby testing libraries" -HOMEPAGE="http://cukes.info/" -LICENSE="MIT" - -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~s390 sparc x86" -SLOT="0" -IUSE="" - -# Tests depend on specific versions of testing frameworks where bundler -# downloads dependencies. -RESTRICT="test" diff --git a/dev-ruby/narray/narray-0.6.1.2-r1.ebuild b/dev-ruby/narray/narray-0.6.1.2-r1.ebuild index 009d7058af8e..6476e6194a42 100644 --- a/dev-ruby/narray/narray-0.6.1.2-r1.ebuild +++ b/dev-ruby/narray/narray-0.6.1.2-r1.ebuild @@ -21,7 +21,7 @@ SRC_URI="https://github.com/masa16/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Ruby" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~hppa ~mips ppc ~ppc64 x86" IUSE="" diff --git a/dev-ruby/nenv/nenv-0.3.0.ebuild b/dev-ruby/nenv/nenv-0.3.0.ebuild deleted file mode 100644 index 58a655f5cd1b..000000000000 --- a/dev-ruby/nenv/nenv-0.3.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="README.md" -inherit ruby-fakegem - -DESCRIPTION="Convenient wrapper for Ruby's ENV" -HOMEPAGE="https://github.com/e2/nenv" -SRC_URI="https://github.com/e2/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -all_ruby_prepare() { - sed -i -e "/[Cc]overalls/d" spec/spec_helper.rb || die -} diff --git a/dev-ruby/netrc/netrc-0.11.0-r1.ebuild b/dev-ruby/netrc/netrc-0.11.0-r1.ebuild index 4b707a95d105..b263f4e63950 100644 --- a/dev-ruby/netrc/netrc-0.11.0-r1.ebuild +++ b/dev-ruby/netrc/netrc-0.11.0-r1.ebuild @@ -12,7 +12,7 @@ DESCRIPTION="This library reads and writes .netrc files" HOMEPAGE="https://github.com/geemus/netrc" LICENSE="MIT" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="amd64 ~arm x86" SLOT="0" IUSE="" diff --git a/dev-ruby/niceogiri/niceogiri-1.1.2-r1.ebuild b/dev-ruby/niceogiri/niceogiri-1.1.2-r1.ebuild new file mode 100644 index 000000000000..b8daa104730c --- /dev/null +++ b/dev-ruby/niceogiri/niceogiri-1.1.2-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_TASK_DOC="doc" + +inherit ruby-fakegem + +DESCRIPTION="Some wrappers around and helpers for XML manipulation using Nokogiri" +HOMEPAGE="https://github.com/benlangfeld/Niceogiri" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend "dev-ruby/nokogiri" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + sed -i -e '/guard-rspec/d' ${PN}.gemspec || die + sed -i -e '/[Bb]undler/d' Rakefile || die +} diff --git a/dev-ruby/podcast/podcast-0.0.4-r2.ebuild b/dev-ruby/podcast/podcast-0.0.4-r2.ebuild deleted file mode 100644 index bbf5bc8db872..000000000000 --- a/dev-ruby/podcast/podcast-0.0.4-r2.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_TEST="" -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="README" - -inherit ruby-fakegem - -DESCRIPTION="A pure Ruby library for generating podcasts from mp3 files" -HOMEPAGE="http://podcast.rubyforge.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="test" - -ruby_add_rdepend "dev-ruby/ruby-mp3info" - -each_ruby_test() { - ${RUBY} -Ilib test/ts_podcast.rb || die "Tests failed." -} diff --git a/dev-ruby/polyglot/polyglot-0.3.5-r1.ebuild b/dev-ruby/polyglot/polyglot-0.3.5-r1.ebuild new file mode 100644 index 000000000000..5852cac707bc --- /dev/null +++ b/dev-ruby/polyglot/polyglot-0.3.5-r1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="Polyglot provides support for fully-custom DSLs" +HOMEPAGE="http://polyglot.rubyforge.org/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +SLOT="0" +IUSE="" diff --git a/dev-ruby/rbpdf-font/rbpdf-font-1.19.1.ebuild b/dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r1.ebuild index d4f518cb5b47..c38e425b6a9c 100644 --- a/dev-ruby/rbpdf-font/rbpdf-font-1.19.1.ebuild +++ b/dev-ruby/rbpdf-font/rbpdf-font-1.19.1-r1.ebuild @@ -1,14 +1,13 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 # This gem bundles dejavu fonts, freefonts, and ttf2ufm # ttf2ufm is a precompiled 32-bit binary -USE_RUBY="ruby24 ruby25 ruby26 ruby27" +USE_RUBY="ruby26 ruby27 ruby30" -RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="CHANGELOG" inherit ruby-fakegem diff --git a/dev-ruby/rkelly-remix/rkelly-remix-0.0.7-r1.ebuild b/dev-ruby/rkelly-remix/rkelly-remix-0.0.7-r1.ebuild new file mode 100644 index 000000000000..ab8dfa4bf714 --- /dev/null +++ b/dev-ruby/rkelly-remix/rkelly-remix-0.0.7-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +inherit ruby-fakegem + +DESCRIPTION="RKelly Remix is a fork of the RKelly JavaScript parser" +HOMEPAGE="https://github.com/nene/rkelly-remix" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~x86" +SLOT="0" +IUSE="doc" + +each_ruby_test() { + ${RUBY} -S testrb-2 -Ilib:. test/test_*.rb test/*/test_*.rb || die +} diff --git a/dev-ruby/rspec-mocks/rspec-mocks-2.99.2-r1.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-2.99.2-r1.ebuild new file mode 100644 index 000000000000..0a09d4cde658 --- /dev/null +++ b/dev-ruby/rspec-mocks/rspec-mocks-2.99.2-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rspec-mocks.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="http://rspec.rubyforge.org/" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +ruby_add_bdepend " + test? ( + >=dev-ruby/rspec-core-2.10.0:2 + >=dev-ruby/rspec-expectations-2.99.0:2 + )" + +all_ruby_prepare() { + # Don't set up bundler: it doesn't understand our setup. + sed -i -e '/[Bb]undler/d' Rakefile || die + + # Remove the Gemfile to avoid running through 'bundle exec' + rm Gemfile || die + + # Remove .rspec options to avoid dependency on newer rspec when + # bootstrapping. + rm .rspec || die + + # Avoid a weird, and failing, test testing already installed code. + sed -e '/has an up-to-date caller_filter file/,/end/ s:^:#:' -i spec/rspec/mocks_spec.rb || die + + # Psych and Syck are not supported by default anymore on ruby22. + rm spec/rspec/mocks/serialization_spec.rb || die + + sed -i -e '/does not affect the ability to access the top-level constant/,/end/ s:^:#:' spec/rspec/mocks/mutate_const_spec.rb || die + + sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r4.ebuild b/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r4.ebuild index afb46aadcd61..12bfd65fca4b 100644 --- a/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r4.ebuild +++ b/dev-ruby/ruby-augeas/ruby-augeas-0.5.0-r4.ebuild @@ -17,7 +17,7 @@ SRC_URI="http://download.augeas.net/ruby/${P}.gem" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~hppa ppc ~ppc64 ~sparc x86" IUSE="" RDEPEND=">=app-admin/augeas-1.1.0" diff --git a/dev-ruby/ruby-hmac/ruby-hmac-0.4.0-r2.ebuild b/dev-ruby/ruby-hmac/ruby-hmac-0.4.0-r2.ebuild new file mode 100644 index 000000000000..bdb99d38044c --- /dev/null +++ b/dev-ruby/ruby-hmac/ruby-hmac-0.4.0-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" + +inherit ruby-fakegem + +DESCRIPTION="A common interface to HMAC functionality as documented in RFC2104" +HOMEPAGE="http://ruby-hmac.rubyforge.org/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_bdepend " + test? ( >=dev-ruby/hoe-2.5.0 )" diff --git a/dev-ruby/ruby-rc4/ruby-rc4-0.1.5-r2.ebuild b/dev-ruby/ruby-rc4/ruby-rc4-0.1.5-r2.ebuild deleted file mode 100644 index 57e2599b9ce7..000000000000 --- a/dev-ruby/ruby-rc4/ruby-rc4-0.1.5-r2.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_DOCDIR="rdoc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="A pure Ruby implementation of the Rc4 algorithm" -HOMEPAGE="https://github.com/caiges/Ruby-RC4" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -all_ruby_prepare() { - sed -i -e 's/"README"/"README.md"/' Rakefile || die -} diff --git a/dev-ruby/rubytest-cli/rubytest-cli-0.2.0.ebuild b/dev-ruby/rubytest-cli/rubytest-cli-0.2.0.ebuild deleted file mode 100644 index 503ffce38f20..000000000000 --- a/dev-ruby/rubytest-cli/rubytest-cli-0.2.0.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_TEST="" -RUBY_FAKEGEM_RECIPE_DOC="yard" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="Rubytest CLI is a command-line interface for Rubytest" -HOMEPAGE="https://rubyworks.github.io/rubytest-cli/" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -ruby_add_rdepend "dev-ruby/ansi >=dev-ruby/rubytest-0.8.0" diff --git a/dev-ruby/stamp/stamp-0.6.0-r1.ebuild b/dev-ruby/stamp/stamp-0.6.0-r1.ebuild new file mode 100644 index 000000000000..57d0cf49d992 --- /dev/null +++ b/dev-ruby/stamp/stamp-0.6.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="cucumber" +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_GEMSPEC="stamp.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Date and time formatting for humans" +HOMEPAGE="https://github.com/jeremyw/stamp" +SRC_URI="https://github.com/jeremyw/stamp/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +DEPEND="" +RDEPEND="" + +ruby_add_bdepend "doc? ( dev-ruby/redcarpet )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' Rakefile || die "sed failed" + sed -i -e '/bundler/,+7d' features/support/env.rb || die "sed failed" + + # Remove obsolete and unneeded cucumber settings + rm -f cucumber.yml || die + + sed -i -e 's/git ls-files --/find/; s/git ls-files/find */' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/test-unit-rr/test-unit-rr-1.0.5-r1.ebuild b/dev-ruby/test-unit-rr/test-unit-rr-1.0.5-r1.ebuild index 2ac84b92e3bf..eaf9a8065e4a 100644 --- a/dev-ruby/test-unit-rr/test-unit-rr-1.0.5-r1.ebuild +++ b/dev-ruby/test-unit-rr/test-unit-rr-1.0.5-r1.ebuild @@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/test-unit/test-unit-rr" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" IUSE="" ruby_add_rdepend ">=dev-ruby/rr-1.1.1 >=dev-ruby/test-unit-2.5.2" diff --git a/dev-ruby/tokyocabinet/tokyocabinet-1.32.0.ebuild b/dev-ruby/tokyocabinet/tokyocabinet-1.32.0.ebuild deleted file mode 100644 index cff54aa3f694..000000000000 --- a/dev-ruby/tokyocabinet/tokyocabinet-1.32.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_TASK_TEST="" - -inherit ruby-fakegem - -DESCRIPTION="Ruby bindings for Tokyo Cabinet" -HOMEPAGE="https://fallabs.com/tokyocabinet/" -LICENSE="GPL-2" - -KEYWORDS="~amd64 ~ppc ~x86" -SLOT="0" -IUSE="" - -RDEPEND+="dev-db/tokyocabinet" - -each_ruby_configure() { - ${RUBY} extconf.rb || die -} - -each_ruby_compile() { - emake V=1 -} - -each_ruby_install() { - emake install DESTDIR="${D}" - - each_fakegem_install -} diff --git a/dev-ruby/totoridipjp/totoridipjp-0.1.0-r1.ebuild b/dev-ruby/totoridipjp/totoridipjp-0.1.0-r1.ebuild new file mode 100644 index 000000000000..86ec953c14dc --- /dev/null +++ b/dev-ruby/totoridipjp/totoridipjp-0.1.0-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem + +DESCRIPTION="A ruby binding to use totori.dip.jp Web API" +HOMEPAGE="https://rubygems.org/gems/totoridipjp" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" diff --git a/dev-ruby/typed-array/typed-array-0.1.2-r2.ebuild b/dev-ruby/typed-array/typed-array-0.1.2-r2.ebuild new file mode 100644 index 000000000000..bc521b92641d --- /dev/null +++ b/dev-ruby/typed-array/typed-array-0.1.2-r2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +USE_RUBY="ruby26 ruby27 ruby30" + +inherit ruby-fakegem +DESCRIPTION="Gem provides enforced-type functionality to Arrays" +HOMEPAGE="https://github.com/yaauie/typed-array" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +all_ruby_prepare() { + # There is a trash... + rm "${S}"/lib/typed-array/.DS_Store || die +} diff --git a/dev-ruby/uconv/uconv-0.6.1-r3.ebuild b/dev-ruby/uconv/uconv-0.6.1-r3.ebuild new file mode 100644 index 000000000000..8af5f475d2da --- /dev/null +++ b/dev-ruby/uconv/uconv-0.6.1-r3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +inherit ruby-ng + +DESCRIPTION="A module to convert ISO/IEC 10646 (Unicode) string and Japanese strings" +HOMEPAGE="http://www.yoshidam.net/Ruby.html#uconv" +SRC_URI="http://www.yoshidam.net/${P}.tar.gz" +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +RUBY_S=${PN} + +all_ruby_prepare() { + sed -i -e '/^\$CFLAGS = ""/d' extconf.rb || die "Unable to remove CFLAGS line" +} + +each_ruby_configure() { + ${RUBY} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 +} + +each_ruby_install() { + emake V=1 DESTDIR="${D}" install +} + +all_ruby_install() { + dodoc README* +} diff --git a/dev-ruby/unf/unf-0.1.4-r1.ebuild b/dev-ruby/unf/unf-0.1.4-r1.ebuild new file mode 100644 index 000000000000..442d4c7d5a2c --- /dev/null +++ b/dev-ruby/unf/unf-0.1.4-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A wrapper library to bring Unicode Normalization Form support to Ruby/JRuby" +HOMEPAGE="https://github.com/knu/ruby-unf" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +IUSE="test" + +ruby_add_rdepend "dev-ruby/unf_ext" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.1-r1 + dev-ruby/shoulda + )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/ d' test/helper.rb || die + + # Remove development dependencies; also remove platform as we don't + # care about it as it is, they only use it to avoid the unf_ext dep + # that we tackle on our own; finally remove git ls-files usage. + sed -i -e '/dependency.*\(shoulda\|bundler\|jeweler\|rcov\)/d' \ + -e '/platform/d' \ + -e '/git ls/d' \ + ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} |
