diff options
Diffstat (limited to 'dev-ruby')
51 files changed, 325 insertions, 715 deletions
diff --git a/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild b/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild deleted file mode 100644 index f1c57a296957..000000000000 --- a/dev-ruby/childlabor/childlabor-0.0.3-r1.ebuild +++ /dev/null @@ -1,36 +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_DOC="" -RUBY_FAKEGEM_TASK_TEST="" -RUBY_FAKEGEM_DOCDIR="" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="A scripting framework that replaces rake and sake" -HOMEPAGE="https://github.com/carllerche/childlabor" -COMMIT_ID="6518b939dddbad20c7f05aa075d76e3ca6e70447" -SRC_URI="https://github.com/carllerche/childlabor/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" -IUSE="test" - -RUBY_S="${PN}-${COMMIT_ID}" - -ruby_add_bdepend "test? ( dev-ruby/rspec:2 )" - -all_ruby_prepare() { - # Avoid failing spec. The signals work, but the stdout handling - # doesn't seem to play nice with portage. - sed -i -e '/can send signals/,/^ end/ s:^:#:' spec/task_spec.rb || die -} - -each_ruby_test() { - ruby-ng_rspec -I. spec/task_spec.rb || die -} diff --git a/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild b/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild index 1f85f3021ea9..5c434e717017 100644 --- a/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild +++ b/dev-ruby/childlabor/childlabor-0.0.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ SRC_URI="https://github.com/carllerche/childlabor/archive/${COMMIT_ID}.tar.gz -> LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="test" RUBY_S="${PN}-${COMMIT_ID}" diff --git a/dev-ruby/daemon_controller/daemon_controller-1.2.0-r1.ebuild b/dev-ruby/daemon_controller/daemon_controller-1.2.0-r1.ebuild deleted file mode 100644 index 2fdd40f44587..000000000000 --- a/dev-ruby/daemon_controller/daemon_controller-1.2.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="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="README.markdown" - -inherit ruby-fakegem - -DESCRIPTION="Library to start and stop specific daemons programmatically in a robust manner" -HOMEPAGE="https://github.com/FooBarWidget/daemon_controller" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -all_ruby_prepare() { - # fix tests with RSpec 2 - sed -i -e '1irequire "thread"' spec/test_helper.rb || die -} diff --git a/dev-ruby/daemon_controller/daemon_controller-1.2.0-r2.ebuild b/dev-ruby/daemon_controller/daemon_controller-1.2.0-r2.ebuild index 538b16a1b408..19cf81760874 100644 --- a/dev-ruby/daemon_controller/daemon_controller-1.2.0-r2.ebuild +++ b/dev-ruby/daemon_controller/daemon_controller-1.2.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/FooBarWidget/daemon_controller" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" all_ruby_prepare() { diff --git a/dev-ruby/deprecated/deprecated-3.0.1-r2.ebuild b/dev-ruby/deprecated/deprecated-3.0.1-r2.ebuild deleted file mode 100644 index 2be9109ac2a2..000000000000 --- a/dev-ruby/deprecated/deprecated-3.0.1-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="ruby25 ruby26 ruby27" - -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/deprecated/deprecated-3.0.1-r3.ebuild b/dev-ruby/deprecated/deprecated-3.0.1-r3.ebuild index 852d3bd1ef7d..0d47a2655f3c 100644 --- a/dev-ruby/deprecated/deprecated-3.0.1-r3.ebuild +++ b/dev-ruby/deprecated/deprecated-3.0.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/erikh/deprecated" LICENSE="BSD" SLOT="3" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ppc x86" IUSE="test" ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" diff --git a/dev-ruby/flexmock/flexmock-2.3.6-r1.ebuild b/dev-ruby/flexmock/flexmock-2.3.6-r1.ebuild index d04994270898..eb003c501dc1 100644 --- a/dev-ruby/flexmock/flexmock-2.3.6-r1.ebuild +++ b/dev-ruby/flexmock/flexmock-2.3.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -21,7 +21,7 @@ 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" +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 " diff --git a/dev-ruby/flexmock/flexmock-2.3.6.ebuild b/dev-ruby/flexmock/flexmock-2.3.6.ebuild deleted file mode 100644 index e5a0cab2284e..000000000000 --- a/dev-ruby/flexmock/flexmock-2.3.6.ebuild +++ /dev/null @@ -1,38 +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_DOCDIR="html" -RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*.rdoc doc/releases/*" - -RUBY_FAKEGEM_RECIPE_TEST="none" -RUBY_FAKEGEM_RECIPE_DOC="none" - -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 -} diff --git a/dev-ruby/git/Manifest b/dev-ruby/git/Manifest index e06213505893..b5385782744f 100644 --- a/dev-ruby/git/Manifest +++ b/dev-ruby/git/Manifest @@ -1,3 +1,3 @@ DIST git-1.10.0.tar.gz 207412 BLAKE2B e18406a9690d4c0fc3009b57629515e701f41113592fd7533b6b2ae659b90ec1b635410deb7bcb3bd711ce291aaec2010bfcfb4bfb812b9fffdafac167d33bb9 SHA512 717ae5df3cf2b700395df91e8f6e9632062c804955c8f18215c5220ec373a33c2a991534f2a63155111643a867f45f2e7056e2dd6e297340372143770bb70021 -DIST git-1.7.0.tar.gz 142017 BLAKE2B cb05ef711582b98b420c143dce8fcc3d932c7509ab8c5577a46d70f180ee37d865d7268f56c133d3327ed27058a4c5cd7b03a6c602c665d2f574bdec476c6eec SHA512 c90cd3fe46767a4db5391eb85534e3801f1bd2f345a324ee89d3c04c4348aef09a5424760c59a079d51f3fa003c3b31d30907bfcff4b854adf3b96339d25a8a0 +DIST git-1.10.2.tar.gz 212738 BLAKE2B 4059066fac1a22e8f19ecce1ebaed648fedc30767b91cb38cf9cf4c9f7091f55f5e9682183e188357dd12ed06dc1ad905d9b688db0c536623487e3c5431ba6f8 SHA512 5d8150a8f974c9b9f531d169e2899b311965a9e9d48d1e45c8bb778a48ea0887ccecf7681baf7cbfad4d22509ba0aafb9886559565e918b84f740b3da7430d86 DIST git-1.9.1.tar.gz 206509 BLAKE2B 3f8739286f3197fa86a3fccfab357510d562415f568726126cf96c8b74c716c4fbb592f854cafda26cf2f0371e4bc9b52a9f5efdea860d0ea6836198ca48b887 SHA512 ee1df3e704b8bf0687c9fce83d73502d3d46e7f3291da90906961dda057d8e6ec3a0fda5b68c258dd8542559055f1bfabf8915a7e594edafa4b3f267f302f397 diff --git a/dev-ruby/git/git-1.7.0.ebuild b/dev-ruby/git/git-1.10.2.ebuild index 9d54c170a635..e8578adcddc4 100644 --- a/dev-ruby/git/git-1.7.0.ebuild +++ b/dev-ruby/git/git-1.10.2.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 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_BINWRAP="" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" RUBY_FAKEGEM_GEMSPEC="git.gemspec" @@ -17,7 +18,7 @@ RUBY_S="ruby-git-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="test" DEPEND+="test? ( >=dev-vcs/git-1.6.0.0 app-arch/tar )" @@ -25,9 +26,17 @@ RDEPEND+=">=dev-vcs/git-1.6.0.0" ruby_add_rdepend ">=dev-ruby/rchardet-1.8:1" -ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/test-unit:2 )" +ruby_add_bdepend "test? ( dev-ruby/bundler dev-ruby/minitar dev-ruby/test-unit:2 )" all_ruby_prepare() { # Don't use hardcoded /tmp directory. sed -i -e "s:/tmp:${TMPDIR}:" tests/units/test_archive.rb tests/test_helper.rb || die + + sed -i -e 's/__dir__/"."/' -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + git config --global user.email "git@example.com" || die + git config --global user.name "GitExample" || die + ${RUBY} -Ilib:.:test -e 'Dir["tests/**/test_*.rb"].each {|f| require f}' || die } diff --git a/dev-ruby/htmlentities/htmlentities-4.3.4-r1.ebuild b/dev-ruby/htmlentities/htmlentities-4.3.4-r1.ebuild index dd52d4f57713..c33af966f1cd 100644 --- a/dev-ruby/htmlentities/htmlentities-4.3.4-r1.ebuild +++ b/dev-ruby/htmlentities/htmlentities-4.3.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/threedaymonk/htmlentities" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" each_ruby_test() { diff --git a/dev-ruby/htmlentities/htmlentities-4.3.4.ebuild b/dev-ruby/htmlentities/htmlentities-4.3.4.ebuild deleted file mode 100644 index 15d7cbebe9b7..000000000000 --- a/dev-ruby/htmlentities/htmlentities-4.3.4.ebuild +++ /dev/null @@ -1,25 +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="History.txt" - -inherit ruby-fakegem - -DESCRIPTION="A simple library for encoding/decoding entities in (X)HTML documents" -HOMEPAGE="https://github.com/threedaymonk/htmlentities" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -each_ruby_test() { - ${RUBY} -Ilib:. -S testrb-2 test/*_test.rb || die "tests failed" -} diff --git a/dev-ruby/instantiator/instantiator-0.0.7-r1.ebuild b/dev-ruby/instantiator/instantiator-0.0.7-r1.ebuild index d18a2b82fb39..548bb30d90d8 100644 --- a/dev-ruby/instantiator/instantiator-0.0.7-r1.ebuild +++ b/dev-ruby/instantiator/instantiator-0.0.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/floehopper/introspection" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 sparc x86" IUSE="" ruby_add_rdepend "dev-ruby/blankslate:*" diff --git a/dev-ruby/instantiator/instantiator-0.0.7.ebuild b/dev-ruby/instantiator/instantiator-0.0.7.ebuild deleted file mode 100644 index 0a55a283d84f..000000000000 --- a/dev-ruby/instantiator/instantiator-0.0.7.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="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="Instantiate an arbitrary Ruby class" -HOMEPAGE="https://github.com/floehopper/introspection" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ppc ppc64 sparc x86" -IUSE="" - -ruby_add_rdepend "dev-ruby/blankslate:*" - -all_ruby_prepare() { - sed -i -e '/bundler/I s:^:#:' Rakefile test/test_helper.rb || die -} diff --git a/dev-ruby/listen/Manifest b/dev-ruby/listen/Manifest index f39cbfb33888..82055a440bc3 100644 --- a/dev-ruby/listen/Manifest +++ b/dev-ruby/listen/Manifest @@ -2,3 +2,4 @@ DIST listen-1.3.1-git.tgz 35521 BLAKE2B 6b93daff2b3ba221d0c0f196c67353963e983610 DIST listen-3.5.1.tar.gz 56236 BLAKE2B e74186532d5aa9fa7488d0734867d7ec7218036b10769667b8818d057af4d8a973204ce68f687fa508d5d2ed879b0ba6287c3b93fb05eaedfc63a8dc251523b9 SHA512 d7475e295b5123c5a8f166891e866de60379f28d61ab0610774bdf499bcf0859807ea2abb31fd6e708c106f926282376aec94ce268e6709884a63852e820ae74 DIST listen-3.6.0.tar.gz 56134 BLAKE2B 6826426c5e46fa10145148d545ebdda278af080c4ddda8b055189a9aec91c26302c991ba69199d2616ae171ac85cb0ec6cef657980e6b984bc09513adabf3d16 SHA512 32b93ee98333657f8dfcaa8e5c9aa291d5413ddfadac3c3ff34edd2a2273e119922dee71825d6b06a6e86951deb96a676a8b9cdd98431fd21c55557a154702ee DIST listen-3.7.0.tar.gz 56192 BLAKE2B eb7d154dc0e608d43b6751db630f0b99e89fbfefd61e718aa99cc6a03c47e1a4aaaa55d42f1ae75351f4397c60902dcc78d8c9e8250899f075c351a7fd781069 SHA512 86942d60cc57a0a960ba813c3b90ca33c47513bb609c1861c792ce2b9b37371998859c0d6e1cd979d4a3427319d3a75454dfffa068ca1dec22d38497add1335c +DIST listen-3.7.1.tar.gz 56280 BLAKE2B 3e0409ca5d636ddde8493e6cab342ca724c98f5ceb4f4abd306d1ec081095387d7d5d6da48d05f47ee50e23475f5685bd23ab7c2592b5697de6bd8292f30c174 SHA512 f082e177b14f86c0906af3760f2da81b1574aee5931ef308c640c537bf0e70488b9854c7f1515545ddee76d4a203734b47a9a3d501955214562cec7acc590e1e diff --git a/dev-ruby/listen/listen-3.7.1.ebuild b/dev-ruby/listen/listen-3.7.1.ebuild new file mode 100644 index 000000000000..51354f670a70 --- /dev/null +++ b/dev-ruby/listen/listen-3.7.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Listens to file modifications and notifies you about the changes" +HOMEPAGE="https://github.com/guard/listen" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" + +# Block on other packages trying to install a /usr/bin/listen +RDEPEND+="!!media-radio/ax25-apps !!<dev-ruby/listen-2.8.6-r1:2" + +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.10" + +ruby_add_bdepend "test? ( dev-ruby/thor )" + +all_ruby_prepare() { + rm -f Gemfile || die + sed -i -e "/git/,+3d" -e "/rb-fsevent/d" ${PN}.gemspec || die + sed -i -e "/rb-fsevent/d" lib/listen/adapter/darwin.rb || die + rm -rf spec/lib/listen/adapter/darwin_spec.rb || die +} + +each_ruby_prepare() { + mkdir spec/.fixtures || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + rm -rf spec/.fixtures || die +} diff --git a/dev-ruby/log4r/log4r-1.1.10-r2.ebuild b/dev-ruby/log4r/log4r-1.1.10-r2.ebuild deleted file mode 100644 index 90b18cdbabc7..000000000000 --- a/dev-ruby/log4r/log4r-1.1.10-r2.ebuild +++ /dev/null @@ -1,28 +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="" - -# There are no working tests atm, to be checked on next version bump. -RUBY_FAKEGEM_TASK_TEST="" - -RUBY_FAKEGEM_DOCDIR="doc" - -inherit ruby-fakegem - -DESCRIPTION="A comprehensive and flexible logging library written in Ruby" -HOMEPAGE="http://log4r.sourceforge.net/" -IUSE="" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86" - -all_ruby_install() { - all_fakegem_install - - dodoc -r examples -} diff --git a/dev-ruby/log4r/log4r-1.1.10-r3.ebuild b/dev-ruby/log4r/log4r-1.1.10-r3.ebuild index 1e8c89bcc55e..e0b2e1255f04 100644 --- a/dev-ruby/log4r/log4r-1.1.10-r3.ebuild +++ b/dev-ruby/log4r/log4r-1.1.10-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ IUSE="" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86" all_ruby_install() { all_fakegem_install diff --git a/dev-ruby/mime-types/mime-types-2.99.3.ebuild b/dev-ruby/mime-types/mime-types-2.99.3.ebuild index d9f1f84c1fbb..72d349649371 100644 --- a/dev-ruby/mime-types/mime-types-2.99.3.ebuild +++ b/dev-ruby/mime-types/mime-types-2.99.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/mime-types/ruby-mime-types" LICENSE="MIT Artistic GPL-2" SLOT="2" -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" +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 "test? ( dev-ruby/minitest:5 )" diff --git a/dev-ruby/nokogiri/Manifest b/dev-ruby/nokogiri/Manifest index fdb3460e4f8c..d2dcc0b9b81e 100644 --- a/dev-ruby/nokogiri/Manifest +++ b/dev-ruby/nokogiri/Manifest @@ -1,3 +1,4 @@ DIST nokogiri-1.11.7-git.tgz 5871407 BLAKE2B c0449b5cb8210d22be31f1f9a43c0c13c7ab21feae2d731bf30475fc21c69a3928395109936b9ff242a89da424a5192c8a8cb0ede9d05d6d9ac16c1d6e5a7f63 SHA512 f355185f490e0ce73fdfb496f49e36b39c89835ebef2cbe3aecbfc5aceb5a9757dc07738a709059c3e22b5808fac11e7b340b7ebbb3b2c1b5ea3df8aff0db131 DIST nokogiri-1.12.5-git.tgz 6158880 BLAKE2B 994fd89c5163d92110de40e2dc654698b11d5a18524cc4b7b668ec1475e7167014e1c7604932686e6ad888f352b04ac26a7fbe526d814b20e686c5d9da95c5df SHA512 36d233df250213c4614c34d045c4fbea099e81e991a6da49067c165bc95f36b281c58cc79deb3b6a8aaccc50743a79efa27969e067cc2b546bef7615b139d79b DIST nokogiri-1.13.0-git.tgz 6188433 BLAKE2B ec603e4202b03cc74ce73c540cfccab51f0910b24a3cde0ecbc6267a83c0c4898bc40614261727f7c7e52561d0dec679e00d97a9a0066ac436037a1681a4125b SHA512 f11169ab0dfec9b16e9fc32c066910dcc71325795283fac1372a67383535ddfd09bf342e2a82b129b71c058153f338cba30000ef16f85225f24b6d0c769c98cf +DIST nokogiri-1.13.1-git.tgz 6190499 BLAKE2B daea484ee0e5bff581ae67528f1688002f1e2f550eb55e3164b631f9e87b188ec4152347aaa0ae6253feafbdae9182c54c92cb709c223ce04120ddd1b340cd17 SHA512 febb7b8a701c9be4f7b60a8b43bc24d17a37d39a8557ea4fc76d1490e7f9973d2a4516560f3335ba5d2405ae487e040e47fe24387a25e6c170e34719e9dd230c diff --git a/dev-ruby/nokogiri/nokogiri-1.13.1.ebuild b/dev-ruby/nokogiri/nokogiri-1.13.1.ebuild new file mode 100644 index 000000000000..84744c5cfcbb --- /dev/null +++ b/dev-ruby/nokogiri/nokogiri-1.13.1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md ROADMAP.md SECURITY.md" + +RUBY_FAKEGEM_GEMSPEC="nokogiri.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/nokogiri/extconf.rb) + +inherit ruby-fakegem multilib + +DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser" +HOMEPAGE="https://www.nokogiri.org/" +LICENSE="MIT" +SRC_URI="https://github.com/sparklemotion/nokogiri/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +SLOT="0" +IUSE="" + +RDEPEND="${RDEPEND} + >=dev-libs/libxml2-2.9.12:= + >=dev-libs/libxslt-1.1.34 + sys-libs/zlib + virtual/libiconv" +DEPEND="${DEPEND} + >=dev-libs/libxml2-2.9.12 + >=dev-libs/libxslt-1.1.34 + sys-libs/zlib + virtual/libiconv" + +ruby_add_rdepend ">=dev-ruby/racc-1.4:0" + +ruby_add_bdepend " + dev-ruby/mini_portile2:2.7 + >=dev-ruby/pkg-config-1.1.7 + >=dev-ruby/rexical-1.0.7 + dev-ruby/rdoc + test? ( dev-ruby/minitest )" + +all_ruby_prepare() { + sed -i \ + -e '/tasks\/cross_compile/s:^:#:' \ + -e '/:test.*prerequisites/s:^:#:' \ + -e '/license/ s:^:#:' \ + Rakefile || die + # Remove the cross compilation options since they interfere with + # native building. + sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die + sed -i -e '/cross_config_options/d' Rakefile || die + + sed -e '/simplecov/,/^end/ s:^:#:' \ + -e '/reporters/I s:^:#:' \ + -i test/helper.rb || die + + # There is no need for mini_portile2 to be a runtime dependency on Gentoo + sed -i -e '/mini_portile2/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + NOKOGIRI_USE_SYSTEM_LIBRARIES=true \ + ${RUBY} -Cext/${PN} extconf.rb \ + --with-zlib-include="${EPREFIX}"/usr/include \ + --with-zlib-lib="${EPREFIX}"/$(get_libdir) \ + --with-iconv-include="${EPREFIX}"/usr/include \ + --with-iconv-lib="${EPREFIX}"/$(get_libdir) \ + --with-xml2-include="${EPREFIX}"/usr/include/libxml2 \ + --with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \ + --with-xslt-dir="${EPREFIX}"/usr \ + --with-iconvlib=iconv \ + || die "extconf.rb failed" +} + +each_ruby_compile() { + if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then + ${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed" + fi + + if ! [[ -f lib/nokogiri/css/parser.rb ]]; then + ${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed" + fi + + emake -Cext/${PN} \ + V=1 \ + CFLAGS="${CFLAGS} -fPIC" \ + archflag="${LDFLAGS}" || die "make extension failed" + cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/**/test_*.rb"].each {|f| require f}' || die +} diff --git a/dev-ruby/ntlm-http/ntlm-http-0.1.1-r2.ebuild b/dev-ruby/ntlm-http/ntlm-http-0.1.1-r2.ebuild deleted file mode 100644 index 541cdb6ba866..000000000000 --- a/dev-ruby/ntlm-http/ntlm-http-0.1.1-r2.ebuild +++ /dev/null @@ -1,35 +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="none" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_DOC_SOURCES="lib README" -RUBY_FAKEGEM_EXTRADOC="README" - -inherit ruby-fakegem epatch - -DESCRIPTION="Ruby/NTLM HTTP provides NTLM authentication over http" -HOMEPAGE="http://www.mindflowsolutions.net/" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" -IUSE="test" - -ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" - -all_ruby_prepare() { - find . -name '*.rb' -exec sed -i -e 's:\r$::' {} + - - # We can't use RUBY_PATCHES for this because we need first to convert the files - epatch "${FILESDIR}"/${P}+ruby-1.9.patch -} - -each_ruby_test() { - ruby-ng_testrb-2 test/*_test.rb -} diff --git a/dev-ruby/ntlm-http/ntlm-http-0.1.1-r3.ebuild b/dev-ruby/ntlm-http/ntlm-http-0.1.1-r3.ebuild index 960bd91a5093..d05197d014ca 100644 --- a/dev-ruby/ntlm-http/ntlm-http-0.1.1-r3.ebuild +++ b/dev-ruby/ntlm-http/ntlm-http-0.1.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ HOMEPAGE="http://www.mindflowsolutions.net/" LICENSE="BSD-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" IUSE="test" ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" diff --git a/dev-ruby/pusher-client/pusher-client-0.6.2.ebuild b/dev-ruby/pusher-client/pusher-client-0.6.2.ebuild deleted file mode 100644 index e0dbf9c3a20a..000000000000 --- a/dev-ruby/pusher-client/pusher-client-0.6.2.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_DOC="rdoc" -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -inherit ruby-fakegem - -DESCRIPTION="Client for consuming WebSockets from http://pusher.com" -HOMEPAGE="https://github.com/pusher-community/pusher-websocket-ruby" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -ruby_add_rdepend " - >=dev-ruby/websocket-1:0 - dev-ruby/json:* -" - -all_ruby_prepare() { - sed -i -e '/bundler/ s:^:#:' Rakefile || die -} diff --git a/dev-ruby/rdtool/rdtool-0.6.38-r2.ebuild b/dev-ruby/rdtool/rdtool-0.6.38-r2.ebuild deleted file mode 100644 index 1f9ab78b6b4f..000000000000 --- a/dev-ruby/rdtool/rdtool-0.6.38-r2.ebuild +++ /dev/null @@ -1,39 +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="doc" -RUBY_FAKEGEM_EXTRADOC="HISTORY README.*" - -inherit elisp-common ruby-fakegem - -DESCRIPTION="A multipurpose documentation format for Ruby" -HOMEPAGE="https://github.com/uwabami/rdtool" - -LICENSE="Ruby GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86" -IUSE="emacs" - -RDEPEND="${RDEPEND} emacs? ( >=app-editors/emacs-23.1:* )" - -SITEFILE=50${PN}-gentoo.el - -all_ruby_install() { - all_fakegem_install - - if use emacs ; then - elisp-install ${PN} utils/rd-mode.el - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/dev-ruby/rdtool/rdtool-0.6.38-r3.ebuild b/dev-ruby/rdtool/rdtool-0.6.38-r3.ebuild index 6edcdda0fe91..f2f37b8773d0 100644 --- a/dev-ruby/rdtool/rdtool-0.6.38-r3.ebuild +++ b/dev-ruby/rdtool/rdtool-0.6.38-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/uwabami/rdtool" LICENSE="Ruby GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86" IUSE="emacs" RDEPEND="${RDEPEND} emacs? ( >=app-editors/emacs-23.1:* )" diff --git a/dev-ruby/rexml/rexml-3.2.5.ebuild b/dev-ruby/rexml/rexml-3.2.5.ebuild index 50e13ee6d580..c0aaebeb5c0e 100644 --- a/dev-ruby/rexml/rexml-3.2.5.ebuild +++ b/dev-ruby/rexml/rexml-3.2.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -18,7 +18,7 @@ SRC_URI="https://github.com/ruby/rexml/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" SLOT="3" all_ruby_prepare() { diff --git a/dev-ruby/rspec-expectations/Manifest b/dev-ruby/rspec-expectations/Manifest index 182e9ff10716..add7b28c5331 100644 --- a/dev-ruby/rspec-expectations/Manifest +++ b/dev-ruby/rspec-expectations/Manifest @@ -1,3 +1,4 @@ DIST rspec-expectations-2.99.2-git.tgz 106884 BLAKE2B 5b31c8681306d5c688f62fc3fc6adf7be6cabad6df6fd16195c71787d73495924233d793633fa041a94d796f63c9ff97c58e6f4a75bdc09dfbe56e770bb6a5c9 SHA512 6042cafe225b2b16df458c7bf69e1694b637afcac6f6195e35a0be199432610457ccaa3e7e4bd114b27a7a6c3d530d94f4c0603c65f469cbadc55bd3f75b6f3a DIST rspec-expectations-3.10.1-git.tgz 212281 BLAKE2B a1872a7f71c198db1662eca48bcb34c054f05c16193395962cb47a7fa230c2f0f83bedee302a0ab6a81380a361640177ac3370d8829faa6bd362c07e3a551e5e SHA512 35999542bf70ff04a472e50434abb8815cac8bf10b680da458f5e0e6ee290a1a6356a22cc12f0a8a6310cf282bb6cd99f922fcc63a0cf1e252b167e451bcf7d4 +DIST rspec-expectations-3.10.2-git.tgz 213253 BLAKE2B 51c306d34dfd82d551b8390bed9790748f8f62b9f4b5243399486640d04465dc0c33756f7a575e98c8e61310cf6c25b93b4c1102fc1798814d916defb0ad310e SHA512 819f1b9e881a56d5563c9421e3e897726931c3cb27be5554e35f41077656e426cbac1ddced6a6e61ba21faa7c147c239433ddb9d21ae2e88592d91b286c170a7 DIST rspec-expectations-3.9.4-git.tgz 206297 BLAKE2B c5dbebcf7b411c9cb5cd815dc06fb6f455e82181856661110f803b25f3910975f0676f3cf154e93fe771849363593e104e0f2dd298dfd3d8b1dd96a6ff991547 SHA512 bd025b89751b5b8d3c6bd61a90386fc05ca371e04247d93b29334bbb3eceb84bacea3f3846c20f08dbf53f174992b2dc0fe9f2bc449c4591188b5e428b1d8003 diff --git a/dev-ruby/rspec-expectations/rspec-expectations-3.10.2.ebuild b/dev-ruby/rspec-expectations/rspec-expectations-3.10.2.ebuild new file mode 100644 index 000000000000..89b2242466ee --- /dev/null +++ b/dev-ruby/rspec-expectations/rspec-expectations-3.10.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A Behaviour Driven Development (BDD) framework for Ruby" +HOMEPAGE="https://github.com/rspec/rspec-expectations" +SRC_URI="https://github.com/rspec/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="3" +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="" + +SUBVERSION="$(ver_cut 1-2)" + +ruby_add_rdepend ">=dev-ruby/diff-lcs-1.2.0 =dev-ruby/diff-lcs-1* + =dev-ruby/rspec-support-${SUBVERSION}*" + +ruby_add_bdepend "test? ( + >=dev-ruby/rspec-mocks-3.2.0:3 + >=dev-ruby/rspec-support-3.5.0:3 + )" + +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 -f Gemfile || die + + # fix up the gemspecs + sed -i \ + -e '/git ls/d' \ + -e '/add_development_dependency/d' \ + "${RUBY_FAKEGEM_GEMSPEC}" || 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 index 0a09d4cde658..bdcb716c17ec 100644 --- a/dev-ruby/rspec-mocks/rspec-mocks-2.99.2-r1.ebuild +++ b/dev-ruby/rspec-mocks/rspec-mocks-2.99.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ 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" +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 " diff --git a/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild deleted file mode 100644 index 7b863760dac9..000000000000 --- a/dev-ruby/rspec-mocks/rspec-mocks-2.99.2.ebuild +++ /dev/null @@ -1,47 +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="rspec" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md" - -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 -} diff --git a/dev-ruby/ruby-dict/ruby-dict-0.9.4-r4.ebuild b/dev-ruby/ruby-dict/ruby-dict-0.9.4-r4.ebuild deleted file mode 100644 index 51d71bd816ce..000000000000 --- a/dev-ruby/ruby-dict/ruby-dict-0.9.4-r4.ebuild +++ /dev/null @@ -1,34 +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" - -inherit ruby-ng - -DESCRIPTION="RFC 2229 client in Ruby" -HOMEPAGE="http://www.caliban.org/ruby/ruby-dict.shtml" -SRC_URI="http://www.caliban.org/files/ruby/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc x86" -IUSE="" - -RUBY_PATCHES=( "${PN}-ruby19.patch" ) - -each_ruby_install() { - doruby lib/dict.rb || die "doruby failed" -} - -all_ruby_install() { - dobin rdict - - dodoc README Changelog TODO doc/rfc2229.txt - dodoc doc/dict.html doc/rdict.html - - # This would probably need a 3rb section.. - # doman doc/dict.3 - doman doc/rdict.1 -} diff --git a/dev-ruby/ruby-dict/ruby-dict-0.9.4-r5.ebuild b/dev-ruby/ruby-dict/ruby-dict-0.9.4-r5.ebuild index b9f23145d653..9e223cecfe2d 100644 --- a/dev-ruby/ruby-dict/ruby-dict-0.9.4-r5.ebuild +++ b/dev-ruby/ruby-dict/ruby-dict-0.9.4-r5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ SRC_URI="http://www.caliban.org/files/ruby/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="amd64 ~ppc x86" IUSE="" all_ruby_prepare() { diff --git a/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild b/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild deleted file mode 100644 index 246f1f2373ff..000000000000 --- a/dev-ruby/ruby-elf/ruby-elf-1.0.8.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby23 ruby24 ruby25 ruby26" - -GITHUB_URI="https://github.com/Flameeyes/${PN}" - -if [[ ${PV} == "9999" ]]; then - EGIT_REPO_URI="${GITHUB_URI}.git" -fi - -RUBY_FAKEGEM_RECIPE_TEST="none" -RUBY_FAKEGEM_RECIPE_DOC="none" - -RUBY_FAKGEM_GESPEC="${PN}.gemspec" - -inherit ruby-fakegem ${EGIT_REPO_URI:+git-2} - -if [[ -n ${EGIT_REPO_URI} ]]; then - SRC_URI="" -else - SRC_URI="${GITHUB_URI}/archive/${PV}.tar.gz -> ${P}.tar.gz" -fi - -DESCRIPTION="Ruby library to access ELF files information" -HOMEPAGE="http://www.flameeyes.eu/projects/ruby-elf" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="test" - -ruby_add_bdepend " - test? ( dev-ruby/test-unit:2 ) - dev-ruby/rake" - -# for the man pages -DEPEND+=" - dev-libs/libxslt - app-text/docbook-xsl-ns-stylesheets" - -RDEPEND+=" - virtual/man" - -if [[ ${PV} == "9999" ]]; then - all_ruby_unpack() { - git_src_unpack - } -fi - -all_ruby_compile() { - # build the man pages - rake manpages || die "rake manpages failed" -} - -each_ruby_test() { - ruby-ng_testrb-2 -Ilib test/test_*.rb -} - -all_ruby_install() { - all_fakegem_install - - doman manpages/*.1 - dodoc DONATING README.md -} diff --git a/dev-ruby/ruby-oembed/Manifest b/dev-ruby/ruby-oembed/Manifest index bb19f7d771c2..c3af0e8031a6 100644 --- a/dev-ruby/ruby-oembed/Manifest +++ b/dev-ruby/ruby-oembed/Manifest @@ -1,2 +1,3 @@ DIST ruby-oembed-0.15.0.gem 4528640 BLAKE2B 3bfb6f6b7b23d82b89adad5b329072d050a5ff5dbf475f7443734c6a0cb70ad8c5a5d8cdc391e81a8a150d448454e3cfa8302a23c55a39cab8898c5d0fc53fa9 SHA512 9a97f292298ec0b030435ec4d63456b9eb6547de9cbe7b56cecc390cd8a5c374aca4aff2da4de3189cb0a75c6e1b0884c1fdf9c69d729d5a5436ed6e94d3fd2d DIST ruby-oembed-0.16.0.tar.gz 4547329 BLAKE2B 2132098010884b3734e1842e6bccd5a6fd2a2c5ce5d1cf7d9a3eccf8e5afcc2a01fb20e17cbaedd7b8e4996df1ed1c07fa0df997355a0a8116dd4f2f1d20a4c8 SHA512 3e076b544b013f527a700c6610336a66b32cb293ee38f1f952bb16603105b85668ca239f0c8090d532e89d164a35ec4e85e18cbb48c60651587f564c547109dc +DIST ruby-oembed-0.16.1.tar.gz 4547399 BLAKE2B 929d0a63aa0bd8acb005630c3f774a56e5fffed83b8e6c80c491dbf93df1b85b555b37ef8dedc77428cfcc8ad00c9eee54e49c8e31467efb8a8eae28e25397a7 SHA512 71241c818478c4321844276e4ba5e726536fb40f35c18b0ff9ead46e7d8b2ec1b58ba6738b179e62164c352005fff947baa156ac48bf6c021e29da8be3f2ad38 diff --git a/dev-ruby/ruby-oembed/ruby-oembed-0.16.1.ebuild b/dev-ruby/ruby-oembed/ruby-oembed-0.16.1.ebuild new file mode 100644 index 000000000000..70968be2d9c7 --- /dev/null +++ b/dev-ruby/ruby-oembed/ruby-oembed-0.16.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md" +RUBY_FAKEGEM_GEMSPEC="ruby-oembed.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="An oEmbed consumer library written in Ruby" +HOMEPAGE="https://github.com/ruby-oembed/ruby-oembed" +SRC_URI="https://github.com/ruby-oembed/ruby-oembed/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="test" + +ruby_add_bdepend "test? + ( + dev-ruby/json + dev-ruby/vcr:5 + dev-ruby/xml-simple + dev-ruby/nokogiri + dev-ruby/webmock:3 + )" + +all_ruby_prepare() { + # Remove bundler but keep vcr version requirement + rm -f Gemfile || die + sed -i -e '1igem "vcr", "~> 5.0"' spec/spec_helper.rb || die + + # Avoid development dependencies + sed -i -e '/coverall/I s:^:#:' spec/spec_helper.rb || die + + sed -i -e 's/git ls-files/find * -print/' ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/ruby-romkan/ruby-romkan-0.4-r6.ebuild b/dev-ruby/ruby-romkan/ruby-romkan-0.4-r6.ebuild deleted file mode 100644 index 1ec06751a51b..000000000000 --- a/dev-ruby/ruby-romkan/ruby-romkan-0.4-r6.ebuild +++ /dev/null @@ -1,31 +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" - -inherit ruby-ng - -DESCRIPTION="A Romaji <-> Kana conversion library for Ruby" -HOMEPAGE="http://0xcc.net/ruby-romkan/" -SRC_URI="http://0xcc.net/ruby-romkan/${P}.tar.gz" -LICENSE="Ruby" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="" - -DOCS="ChangeLog *.rd" - -RUBY_PATCHES=( "${FILESDIR}/${PN}-ruby19.patch" ) - -each_ruby_test() { - ${RUBY} -I. -Ke test.rb < /dev/null || die "test failed" -} - -each_ruby_install() { - doruby romkan.rb -} - -all_ruby_install() { - dodoc ${DOCS} -} diff --git a/dev-ruby/ruby-romkan/ruby-romkan-0.4-r7.ebuild b/dev-ruby/ruby-romkan/ruby-romkan-0.4-r7.ebuild index 9b5bfd7d9153..832c7cc94925 100644 --- a/dev-ruby/ruby-romkan/ruby-romkan-0.4-r7.ebuild +++ b/dev-ruby/ruby-romkan/ruby-romkan-0.4-r7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ HOMEPAGE="http://0xcc.net/ruby-romkan/" SRC_URI="http://0xcc.net/ruby-romkan/${P}.tar.gz" LICENSE="Ruby" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="" DOCS="ChangeLog *.rd" diff --git a/dev-ruby/serverengine/Manifest b/dev-ruby/serverengine/Manifest index 0425fe9b7de7..b9df0b80b929 100644 --- a/dev-ruby/serverengine/Manifest +++ b/dev-ruby/serverengine/Manifest @@ -2,3 +2,4 @@ DIST serverengine-2.2.1.gem 39424 BLAKE2B 0c68bfd59c0f6abbb294ecd8003c80853413b3 DIST serverengine-2.2.2.gem 39424 BLAKE2B 113ffaa6dd1c35ba0796aaec30c4b3bbc71d63abb7214bd0ed30c7d38195bb2caf4e12d79968ca2750fb522600ac9494848984248fe1645ae3d7c1e97fd6a608 SHA512 ec34af108017468e3981861b4a4ae84d071dd31aaca78d458512bf430a1c7075deb64134f899dbde14e8f18a0e163f0f61236a7b3678173030c093d3362eecf2 DIST serverengine-2.2.3.gem 39936 BLAKE2B 20f36d60b3f9a01c3768c490db89b8adaade75fc16c1ba738135d24bb858f44c10ab5ff1d0b31f0a287b2ddb3a69f958eaa155e7a54a26bbe5b6a480e52c4325 SHA512 4f95dd9559e7ea79e1f276554a94459b0ef250c639d2ecd17509651a5585dc1688936048b636a3d9f09f84eed3d4b16aa5bf50537cd14ebbb7f0e289600b6e60 DIST serverengine-2.2.4.gem 40960 BLAKE2B 66e3b10c4396b4613b734d3d2764293de2935b0e99bc33c9ba0e79f69c2af6fbb53dee8e356ab351d65195124e139ec4b0aa7976594387432b88a3875e985ef9 SHA512 39f5abe2e15bf1ea6524563a7f86e441f93479160976421d41aa092e04a0fca8d4beda3b20487c45b6cd3bdffdb175d98fbebdd36ef9a85fa242ef3cf356a9c8 +DIST serverengine-2.2.5.gem 40960 BLAKE2B a7b256c1029c38b35673d104f6aba118bc5644947db7feb185d57456af60baebafb3c6a74996998630b7a0dbe3ee0baa5d4f260538ca7a8abf542b7528cd7204 SHA512 fb4abbf35553b8d69447be195a14018e335cbce0756b9ae91160bc4dc8253968a4b94c383f40aad1e1bd20aaeb700efced91341f3b26077a0d44b3dc00aa89c7 diff --git a/dev-ruby/serverengine/serverengine-2.2.5.ebuild b/dev-ruby/serverengine/serverengine-2.2.5.ebuild new file mode 100644 index 000000000000..bab728791f52 --- /dev/null +++ b/dev-ruby/serverengine/serverengine-2.2.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="Changelog README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit ruby-fakegem + +DESCRIPTION="A framework to implement robust multiprocess servers" +HOMEPAGE="https://github.com/fluent/serverengine" +LICENSE="Apache-2.0" + +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/sigdump-0.2.2:0" + +ruby_add_bdepend "test? ( dev-ruby/bundler )" + +all_ruby_prepare() { + sed -i -e '/rake/ s/~>/>=/' \ + -e '/rspec/ s/2.13.0/2.13/' \ + -e '/rake-compiler/ s:^:#:' serverengine.gemspec || die +} + +each_ruby_test() { + # The specs spawn ruby processes with bundler support + ${RUBY} -S bundle exec rspec-2 spec || die +} diff --git a/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild b/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild deleted file mode 100644 index 3b037fc8c8d3..000000000000 --- a/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild +++ /dev/null @@ -1,35 +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_DOC="" - -RUBY_FAKEGEM_EXTRADOC="History.txt README.txt" - -inherit ruby-fakegem - -DESCRIPTION="Create sparklines, small graphs to be used inline in texts" -HOMEPAGE="http://sparklines.rubyforge.org/" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND+="test? ( media-gfx/imagemagick[png] )" - -ruby_add_rdepend "dev-ruby/rmagick:*" - -ruby_add_bdepend test "dev-ruby/tidy_table dev-ruby/dust" - -all_ruby_prepare() { - # Don't use deprecated rmagick require for compatibility with newer - # versions. - sed -i -e '/require/ s/RMagick/rmagick/' lib/sparklines.rb || die -} - -each_ruby_test() { - ${RUBY} -I. test/test_all.rb || die -} diff --git a/dev-ruby/sparklines/sparklines-0.5.2-r7.ebuild b/dev-ruby/sparklines/sparklines-0.5.2-r7.ebuild index 954a3e3e6b0e..fede5c423980 100644 --- a/dev-ruby/sparklines/sparklines-0.5.2-r7.ebuild +++ b/dev-ruby/sparklines/sparklines-0.5.2-r7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ HOMEPAGE="http://sparklines.rubyforge.org/" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" DEPEND+="test? ( media-gfx/imagemagick[png] )" diff --git a/dev-ruby/test_declarative/test_declarative-0.0.6-r1.ebuild b/dev-ruby/test_declarative/test_declarative-0.0.6-r1.ebuild index 3188501ca72e..4f5866174a60 100644 --- a/dev-ruby/test_declarative/test_declarative-0.0.6-r1.ebuild +++ b/dev-ruby/test_declarative/test_declarative-0.0.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,7 +20,7 @@ RUBY_S="svenfuchs-test_declarative-*" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="" ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/minitest-5.10:5 )" diff --git a/dev-ruby/test_declarative/test_declarative-0.0.6.ebuild b/dev-ruby/test_declarative/test_declarative-0.0.6.ebuild deleted file mode 100644 index 5dcd6d1e34e3..000000000000 --- a/dev-ruby/test_declarative/test_declarative-0.0.6.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby25 ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_TASK_TEST="" -RUBY_FAKEGEM_TASK_DOC="" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="Simply adds a declarative test method syntax to test/unit" -HOMEPAGE="https://github.com/svenfuchs/test_declarative" -SRC_URI="https://github.com/svenfuchs/test_declarative/tarball/v${PV} -> ${P}.tgz" -RUBY_S="svenfuchs-test_declarative-*" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86" -IUSE="" - -ruby_add_bdepend "test? ( dev-ruby/bundler >=dev-ruby/minitest-5.10:5 )" - -all_ruby_prepare() { - sed -i -e '/rake/ s/~> 12.0.0/>= 10/ ; /minitest/ s/5.10.1/5.10/' Gemfile || die -} - -each_ruby_test() { - # There are other gemfiles but their setup seems broken atm. - for gemfile in Gemfile ; do - einfo "Running tests with ${gemfile}" - BUNDLE_GEMFILE=${gemfile} ${RUBY} -S bundle exec rake test || die - done -} diff --git a/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r2.ebuild b/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r2.ebuild deleted file mode 100644 index 442e58009e75..000000000000 --- a/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r2.ebuild +++ /dev/null @@ -1,31 +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_DOC="rdoc" -RUBY_FAKEGEM_RECIPE_TEST="none" - -RUBY_FAKEGEM_TASK_DOC="docs" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" - -inherit ruby-fakegem - -DESCRIPTION="Provides transaction support at the object level" -HOMEPAGE="https://github.com/halostatue/transaction-simple" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~ppc ~ppc64 x86" -IUSE="test" - -ruby_add_bdepend " - test? ( - >=dev-ruby/test-unit-2.5.1-r1 - )" - -each_ruby_test() { - ruby-ng_testrb-2 -Ilib test/test_*.rb -} diff --git a/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r3.ebuild b/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r3.ebuild index 815cd4630724..d259e58198fc 100644 --- a/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r3.ebuild +++ b/dev-ruby/transaction-simple/transaction-simple-1.4.0.2-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/halostatue/transaction-simple" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 ~ppc ~ppc64 x86" IUSE="test" ruby_add_bdepend " diff --git a/dev-ruby/uconv/uconv-0.6.1-r2.ebuild b/dev-ruby/uconv/uconv-0.6.1-r2.ebuild deleted file mode 100644 index 2a8410e1ec06..000000000000 --- a/dev-ruby/uconv/uconv-0.6.1-r2.ebuild +++ /dev/null @@ -1,37 +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" - -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/uconv/uconv-0.6.1-r3.ebuild b/dev-ruby/uconv/uconv-0.6.1-r3.ebuild index 8af5f475d2da..a6c7a17307b8 100644 --- a/dev-ruby/uconv/uconv-0.6.1-r3.ebuild +++ b/dev-ruby/uconv/uconv-0.6.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ 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" +KEYWORDS="~amd64 ppc ppc64 x86" IUSE="" RUBY_S=${PN} diff --git a/dev-ruby/unf/unf-0.1.4-r1.ebuild b/dev-ruby/unf/unf-0.1.4-r1.ebuild index 442d4c7d5a2c..7373d57c72fb 100644 --- a/dev-ruby/unf/unf-0.1.4-r1.ebuild +++ b/dev-ruby/unf/unf-0.1.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ 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" +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" diff --git a/dev-ruby/unf/unf-0.1.4.ebuild b/dev-ruby/unf/unf-0.1.4.ebuild deleted file mode 100644 index 674d0b034018..000000000000 --- a/dev-ruby/unf/unf-0.1.4.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby25 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 -} diff --git a/dev-ruby/xml-simple/xml-simple-1.1.9.ebuild b/dev-ruby/xml-simple/xml-simple-1.1.9.ebuild index 705a80683e40..325e135ca4f5 100644 --- a/dev-ruby/xml-simple/xml-simple-1.1.9.ebuild +++ b/dev-ruby/xml-simple/xml-simple-1.1.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ HOMEPAGE="https://github.com/maik/xml-simple" LICENSE="Ruby" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc ~x86" +KEYWORDS="amd64 ~arm64 ~ppc ~x86" IUSE="" RUBY_S="${PN}-${COMMIT}" |
