diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-25 13:46:01 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-11-25 13:46:01 +0000 |
| commit | 16dc7c4d58f4aa9c7e8bac043c7ee426eebc2602 (patch) | |
| tree | f98ef6543c219b216485a042163c5996b110da14 /dev-ruby | |
| parent | 6120fbaf7720eb207527837f881d4dc34673bad3 (diff) | |
| download | baldeagleos-repo-16dc7c4d58f4aa9c7e8bac043c7ee426eebc2602.tar.gz baldeagleos-repo-16dc7c4d58f4aa9c7e8bac043c7ee426eebc2602.tar.xz baldeagleos-repo-16dc7c4d58f4aa9c7e8bac043c7ee426eebc2602.zip | |
Adding metadata
Diffstat (limited to 'dev-ruby')
24 files changed, 122 insertions, 550 deletions
diff --git a/dev-ruby/allison/allison-2.0.3-r3.ebuild b/dev-ruby/allison/allison-2.0.3-r3.ebuild deleted file mode 100644 index 2d75d540e521..000000000000 --- a/dev-ruby/allison/allison-2.0.3-r3.ebuild +++ /dev/null @@ -1,27 +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="CHANGELOG README" -RUBY_FAKEGEM_EXTRAINSTALL="cache" - -inherit ruby-fakegem - -DESCRIPTION="A modern, pretty RDoc template" -HOMEPAGE="https://fauna.github.com/fauna/allison/files/README.html" - -LICENSE="AFL-3.0" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~mips ppc ppc64 ~s390 ~sparc x86 ~x86-solaris" -IUSE="" - -all_ruby_install() { - all_fakegem_install - - dodoc -r contrib -} diff --git a/dev-ruby/evented-spec/evented-spec-0.9.0.ebuild b/dev-ruby/evented-spec/evented-spec-0.9.0.ebuild deleted file mode 100644 index 0dba0866df40..000000000000 --- a/dev-ruby/evented-spec/evented-spec-0.9.0.ebuild +++ /dev/null @@ -1,29 +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_EXTRADOC="README.textile" - -RUBY_FAKEGEM_RECIPE_TEST="rspec" - -inherit versionator ruby-fakegem - -DESCRIPTION="A set of helpers to help you test your asynchronous code" -HOMEPAGE="https://github.com/ruby-amqp/evented-spec" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -# Tests require a running AMQP server and AMQP installed. Since -# currently AMQP is the only package using evented-spec we just skip the -# tests here altogether to avoid circular dependencies. -RESTRICT="test" - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/ s:^:#:' -e '/effin_utf8/ s:^:#:' spec/spec_helper.rb || die -} diff --git a/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild b/dev-ruby/gnuplot/gnuplot-2.6.2-r2.ebuild deleted file mode 100644 index 509b20bf74ef..000000000000 --- a/dev-ruby/gnuplot/gnuplot-2.6.2-r2.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="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="AUTHORS.txt ChangeLog README.textile" - -RUBY_FAKEGEM_TASK_TEST="" - -inherit ruby-fakegem - -DESCRIPTION="Gnuplot drawing library - Ruby Bindings" -HOMEPAGE="http://rgplot.rubyforge.org/" - -LICENSE="BSD" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="test" -SLOT="0" - -RDEPEND+=" sci-visualization/gnuplot" - -all_ruby_prepare() { - # Existing metadata causes a crash in jruby, so use our own. - rm -f ../metadata || die "Unable to remove metadata." - - sed -i -e 's/Config/RbConfig/' test/test_gnuplot.rb || die -} - -each_ruby_test() { - ${RUBY} -Ctest test_gnuplot.rb || die -} diff --git a/dev-ruby/hiera-eyaml-plaintext/hiera-eyaml-plaintext-0.6-r1.ebuild b/dev-ruby/hiera-eyaml-plaintext/hiera-eyaml-plaintext-0.6-r1.ebuild deleted file mode 100644 index 930ae28203b4..000000000000 --- a/dev-ruby/hiera-eyaml-plaintext/hiera-eyaml-plaintext-0.6-r1.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="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_TEST="" - -RUBY_FAKEGEM_TASK_DOC="" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="A plaintext backend for hiera-eyaml" -HOMEPAGE="https://github.com/gtmtechltd/hiera-eyaml-plaintext" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" diff --git a/dev-ruby/hiera-eyaml/Manifest b/dev-ruby/hiera-eyaml/Manifest index 6a445bbcdf7c..3c35e69a1085 100644 --- a/dev-ruby/hiera-eyaml/Manifest +++ b/dev-ruby/hiera-eyaml/Manifest @@ -1 +1,2 @@ DIST hiera-eyaml-3.1.1.tar.gz 54848 BLAKE2B 8daa4925bf1fb945ddb5ce7a485c3bf2bfca8747eb0cf00530eb91307d18d3f5c73699a30631b80e7825baac3a8b0c1695bd0313906bc8c7aba9c3c00d69b9cc SHA512 3bc93ca31af96383401f28644490f5540a70cf719e47d340794daf6c8bcc7fe9800d1d1e6ba99aba344831966f8d15f1a1fd9d1522696457f0bdec79dd45a108 +DIST hiera-eyaml-3.2.2.tar.gz 59174 BLAKE2B 2e31d1d0807096757f338a3f112a2f853f9dc61d14f92720a06e8835ef5b2228cea1ef2db1d5d7a2758422158acca14e882e1fa88a3189fcc254573e15e32185 SHA512 ac7800d35cba9b11e1fcfd831419caa1fb32fc1747499f780a40005cf57a87be4562f52251b8f5482156ad98892d41fe5060e48f74a75a0d1657dd5c04b8ee92 diff --git a/dev-ruby/hiera-eyaml/hiera-eyaml-3.2.2.ebuild b/dev-ruby/hiera-eyaml/hiera-eyaml-3.2.2.ebuild new file mode 100644 index 000000000000..076d16797b4c --- /dev/null +++ b/dev-ruby/hiera-eyaml/hiera-eyaml-3.2.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md PLUGINS.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Encrypted YAML backend for hiera" +HOMEPAGE="https://github.com/TomPoulton/hiera-eyaml" +SRC_URI="https://github.com/TomPoulton/hiera-eyaml/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/highline-1.6.19:*" +ruby_add_rdepend "dev-ruby/optimist" +ruby_add_rdepend "!!dev-ruby/hiera-eyaml:0" # both install the /usr/bin/eyaml binary + +ruby_add_bdepend "test? ( dev-util/cucumber ~dev-util/aruba-0.6.2 <app-admin/puppet-6 dev-ruby/hiera-eyaml-plaintext )" + +all_ruby_prepare() { + # Fix highline dependency to be compatible with more versions. + sed -i -e '/highline/ s/~>/>=/' \ + -e '/gem.files/d' ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e 's:/tmp:'${T}':' \ + features/sandbox/puppet/environments/local/modules/test/manifests/run.pp \ + features/sandbox/puppet-hiera-merge/environments/local/modules/test/manifests/run.pp \ + features/sandbox/puppet-envvar/environments/local/modules/test/manifests/run.pp \ + features/puppet.feature +} + +each_ruby_prepare() { + # Run tests with the correct ruby interpreter + sed -i -e 's:I run `eyaml:I run `'${RUBY}' '${S}'/bin/eyaml:' features/*.feature || die + +} + +each_ruby_test() { + ${RUBY} -S cucumber --format progress features || die +} diff --git a/dev-ruby/html2haml/html2haml-2.2.0.ebuild b/dev-ruby/html2haml/html2haml-2.2.0.ebuild deleted file mode 100644 index 6151f4cbc90b..000000000000 --- a/dev-ruby/html2haml/html2haml-2.2.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_EXTRADOC="README.md Changelog.markdown" -RUBY_FAKEGEM_RECIPE_DOC="yard" - -inherit ruby-fakegem - -DESCRIPTION="Convert HTML and HTML+Erb to Haml" -HOMEPAGE="https://github.com/haml/html2haml" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -ruby_add_rdepend ">=dev-ruby/nokogiri-1.6.0 - >=dev-ruby/erubis-2.7.0 - >=dev-ruby/ruby_parser-3.5 - dev-ruby/haml:5" - -ruby_add_bdepend "test? ( dev-ruby/minitest:0 )" - -all_ruby_prepare() { - sed -i -e "/bundler/d" test/test_helper.rb || die -} - -each_ruby_test() { - ${RUBY} -Ilib:test test/html2haml_test.rb || die - ${RUBY} -Ilib:test test/erb_test.rb || die -} diff --git a/dev-ruby/http_parser_rb/http_parser_rb-0.6.0-r1.ebuild b/dev-ruby/http_parser_rb/http_parser_rb-0.6.0-r1.ebuild deleted file mode 100644 index 4621701a57f9..000000000000 --- a/dev-ruby/http_parser_rb/http_parser_rb-0.6.0-r1.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_TEST="rspec" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_NAME="http_parser.rb" - -inherit ruby-fakegem - -DESCRIPTION="Simple callback-based HTTP request/response parser" -HOMEPAGE="https://github.com/tmm1/http_parser.rb" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86" -IUSE="" - -each_ruby_configure() { - ${RUBY} -Cext/ruby_http_parser extconf.rb || die -} - -each_ruby_compile() { - emake -Cext/ruby_http_parser V=1 - cp ext/ruby_http_parser/ruby_http_parser.so lib/ || die -} diff --git a/dev-ruby/mab/mab-0.0.3-r1.ebuild b/dev-ruby/mab/mab-0.0.3-r1.ebuild deleted file mode 100644 index 5bd2144edae2..000000000000 --- a/dev-ruby/mab/mab-0.0.3-r1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_TASK_TEST="test" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="Markup as Ruby" -HOMEPAGE="https://github.com/camping/mab" -LICENSE="MIT" - -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" - -IUSE="test" - -ruby_add_bdepend " - test? ( >=dev-ruby/minitest-4:0 )" - -all_ruby_prepare() { - sed -i -e '1igem "minitest", "~> 4.0"' test/helper.rb || die -} diff --git a/dev-ruby/nanotest/nanotest-0.9.4.1.ebuild b/dev-ruby/nanotest/nanotest-0.9.4.1.ebuild deleted file mode 100644 index 11ef1db01bb1..000000000000 --- a/dev-ruby/nanotest/nanotest-0.9.4.1.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_EXTRADOC="README.md" -RUBY_FAKEGEM_RECIPE_DOC="rdoc" - -inherit ruby-fakegem - -DESCRIPTION="Extremely mynymal test framework" -HOMEPAGE="https://github.com/mynyml/nanotest" -LICENSE="MIT" - -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86" -SLOT="0" -IUSE="" - -each_ruby_test() { - ${RUBY} -I.:lib test/test_nanotest.rb || die -} diff --git a/dev-ruby/narray/narray-0.6.1.2.ebuild b/dev-ruby/narray/narray-0.6.1.2-r2.ebuild index 34ca5260bb13..17c9c193b908 100644 --- a/dev-ruby/narray/narray-0.6.1.2.ebuild +++ b/dev-ruby/narray/narray-0.6.1.2-r2.ebuild @@ -1,18 +1,21 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" +USE_RUBY="ruby26 ruby27 ruby30" RUBY_FAKEGEM_TASK_TEST="" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="ChangeLog README.md README.ja.md SPEC.en.txt SPEC.ja.txt" +RUBY_FAKEGEM_GEMSPEC="narray.gemspec" RUBY_FAKEGEM_VERSION="${PV/_p/.}" -inherit multilib ruby-fakegem +RUBY_FAKEGEM_EXTENSIONS=(./extconf.rb) + +inherit ruby-fakegem DESCRIPTION="Numerical N-dimensional Array class" HOMEPAGE="https://masa16.github.io/narray/" @@ -20,7 +23,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="" @@ -31,15 +34,8 @@ all_ruby_prepare() { sed -i -e '/[fF]ollowing will fail/,$ s:^:#:' \ -e '/next will fail/,$ s:^:#:' \ test/*.rb || die "sed failed" -} - -each_ruby_configure() { - ${RUBY} extconf.rb || die "extconf.rb failed" -} -each_ruby_compile() { - emake V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" - cp -l ${PN}$(get_modname) ${PN}.h ${PN}_config.h lib/ || die "copy of ${PN}$(get_modname) failed" + sed -i -e 's:src/narray.h:narray.h:' ${RUBY_FAKEGEM_GEMSPEC} || die } each_ruby_test() { diff --git a/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1.ebuild b/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1-r1.ebuild index 62b07e328b02..a4b32a23797d 100644 --- a/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1.ebuild +++ b/dev-ruby/net-http-pipeline/net-http-pipeline-1.0.1-r1.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2020 Gentoo Authors +# 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" +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" inherit ruby-fakegem @@ -15,12 +14,14 @@ SLOT="1" KEYWORDS="~amd64" IUSE="" -RUBY_PATCHES=( ${PN}-accept-encoding.patch ) - ruby_add_bdepend " test? ( dev-ruby/minitest ) " +all_ruby_prepare() { + eapply -p0 "${FILESDIR}/${PN}-accept-encoding.patch" +} + each_ruby_test() { ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die } diff --git a/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild b/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild deleted file mode 100644 index 075920a216e4..000000000000 --- a/dev-ruby/net-ssh-gateway/net-ssh-gateway-2.0.0.ebuild +++ /dev/null @@ -1,30 +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_EXTRADOC="CHANGES.txt README.md" - -inherit ruby-fakegem - -DESCRIPTION="A simple library to assist in enabling tunneled Net::SSH connections" -HOMEPAGE="https://github.com/net-ssh/net-ssh-gateway" -SRC_URI="https://github.com/net-ssh/net-ssh-gateway/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="2.0" -KEYWORDS="amd64 ppc ppc64 x86" -IUSE="" - -ruby_add_bdepend "dev-ruby/minitest:5 - dev-ruby/mocha:1.0" - -ruby_add_rdepend ">=dev-ruby/net-ssh-4.0.0:*" - -all_ruby_prepare() { - sed -i -e '/bundler/ s:^:#:' Rakefile test/net/ssh/gateway_test.rb || die - sed -i -e 's:mocha/mini_test:mocha/minitest:' test/net/ssh/gateway_test.rb || die -} diff --git a/dev-ruby/org-ruby/org-ruby-0.9.12.ebuild b/dev-ruby/org-ruby/org-ruby-0.9.12.ebuild deleted file mode 100644 index a621a6a19130..000000000000 --- a/dev-ruby/org-ruby/org-ruby-0.9.12.ebuild +++ /dev/null @@ -1,30 +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="rspec" -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="README.org History.org" - -inherit ruby-fakegem - -DESCRIPTION="Ruby routines for parsing org-mode files" -HOMEPAGE="https://github.com/wallyqs/org-ruby" -SRC_URI="https://github.com/wallyqs/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -RUBY_S="${PN}-version-${PV}" - -ruby_add_rdepend ">=dev-ruby/rubypants-0.2:0" -ruby_add_bdepend "test? ( dev-ruby/tilt )" - -all_ruby_prepare() { - #Fix tests until rspec:3 is available in the tree - sed -i -e "s/truthy/true/" -e "s/falsy/false/" spec/headline_spec.rb spec/parser_spec.rb spec/line_spec.rb || die -} diff --git a/dev-ruby/qed/qed-2.9.2.ebuild b/dev-ruby/qed/qed-2.9.2.ebuild deleted file mode 100644 index 24d4a5b0275a..000000000000 --- a/dev-ruby/qed/qed-2.9.2.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_TEST="" -RUBY_FAKEGEM_RECIPE_DOC="yard" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit ruby-fakegem - -DESCRIPTION="QED (Quality Ensured Demonstrations) is a TDD/BDD framework" -HOMEPAGE="https://rubyworks.github.io/qed/" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="" - -ruby_add_bdepend "test? ( dev-ruby/ae )" -ruby_add_rdepend " - dev-ruby/ansi - dev-ruby/brass" - -each_ruby_test() { - ${RUBY} -Ilib bin/qed || die 'tests failed' -} diff --git a/dev-ruby/rack-openid/rack-openid-1.4.2.ebuild b/dev-ruby/rack-openid/rack-openid-1.4.2.ebuild deleted file mode 100644 index 9428dfa1bafe..000000000000 --- a/dev-ruby/rack-openid/rack-openid-1.4.2.ebuild +++ /dev/null @@ -1,33 +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_EXTRADOC="Readme.md" - -inherit ruby-fakegem - -DESCRIPTION="Provides a more HTTPish API around the ruby-openid library" -SRC_URI="https://github.com/grosser/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" -HOMEPAGE="https://github.com/grosser/rack-openid" -LICENSE="MIT" - -KEYWORDS="~amd64 ~x86" -SLOT="0" -IUSE="" - -ruby_add_rdepend ">=dev-ruby/ruby-openid-2.1.8 >=dev-ruby/rack-1.1.0:*" - -all_ruby_prepare() { - sed -i -e '/[Bb]undler/d' -e '/minitest\/rg/d' -e '/[Ll]og/d' test/helper.rb || die -} - -each_ruby_test() { - ${RUBY} -Ilib test/test_rack_openid.rb || die - # Needs unpackaged rots dependency https://github.com/roman/rots - # No release available right now - #${RUBY} -Ilib test/test_integration.rb || die -} diff --git a/dev-ruby/ruby-elf/ruby-elf-1.0.8-r1.ebuild b/dev-ruby/ruby-elf/ruby-elf-1.0.8-r1.ebuild new file mode 100644 index 000000000000..54fcb4fa924c --- /dev/null +++ b/dev-ruby/ruby-elf/ruby-elf-1.0.8-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +GITHUB_URI="https://github.com/Flameeyes/${PN}" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +SRC_URI="${GITHUB_URI}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="Ruby library to access ELF files information" +HOMEPAGE="https://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" + +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-yadis/ruby-yadis-0.3.4-r2.ebuild b/dev-ruby/ruby-yadis/ruby-yadis-0.3.4-r2.ebuild deleted file mode 100644 index 98d05240649c..000000000000 --- a/dev-ruby/ruby-yadis/ruby-yadis-0.3.4-r2.ebuild +++ /dev/null @@ -1,36 +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="" - -RUBY_FAKEGEM_EXTRADOC="README" - -inherit ruby-fakegem - -DESCRIPTION="A ruby library for performing Yadis service discovery" -HOMEPAGE="http://yadis.rubyforge.org/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="test" - -each_ruby_prepare() { - # Remove live tests that require content that is no longer available. - rm test/test_discovery.rb || die - sed -i -e '/test_discovery/d' test/runtests.rb || die -} - -each_ruby_test() { - ${RUBY} -I../lib:lib:test -Ctest runtests.rb || die -} - -all_ruby_install() { - all_fakegem_install - - dodoc -r examples -} diff --git a/dev-ruby/ruby_gntp/ruby_gntp-0.3.4.ebuild b/dev-ruby/ruby_gntp/ruby_gntp-0.3.4.ebuild deleted file mode 100644 index d17acb8451a3..000000000000 --- a/dev-ruby/ruby_gntp/ruby_gntp-0.3.4.ebuild +++ /dev/null @@ -1,29 +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="rspec" -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="README ChangeLog" - -inherit ruby-fakegem - -DESCRIPTION="Ruby library for GNTP(Growl Notification Transport Protocol)" -HOMEPAGE="https://github.com/snaka/ruby_gntp" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -ruby_add_bdepend "test? ( dev-ruby/rr )" - -all_ruby_prepare() { - mv test spec || die - sed -i -e "s/Spec::Runner/RSpec/" \ - -e "s#\.\./lib/##"\ - spec/ruby_gntp_spec.rb || die - -} diff --git a/dev-ruby/six/six-0.2.0.ebuild b/dev-ruby/six/six-0.2.0-r1.ebuild index 3125feed195b..c5cbff4ef242 100644 --- a/dev-ruby/six/six-0.2.0.ebuild +++ b/dev-ruby/six/six-0.2.0-r1.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -USE_RUBY="ruby24 ruby25 ruby26 ruby27" +EAPI=8 +USE_RUBY="ruby26 ruby27" RUBY_FAKEGEM_RECIPE_TEST="rspec" -RUBY_FAKEGEM_RECIPE_DOC="" RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.markdown" +RUBY_FAKEGEM_GEMSPEC="six.gemspec" inherit ruby-fakegem diff --git a/dev-ruby/spy/spy-1.0.1.ebuild b/dev-ruby/spy/spy-1.0.1.ebuild deleted file mode 100644 index c7879c23402b..000000000000 --- a/dev-ruby/spy/spy-1.0.1.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" - -inherit multilib ruby-fakegem - -DESCRIPTION="A simple opinionated mocking framework" -HOMEPAGE="https://github.com/ryanong/spy" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE="" - -ruby_add_bdepend "test? ( dev-ruby/minitest:0 )" - -all_ruby_prepare() { - sed -i -e "/bundler/d" -e "/pry/d" -e "/[Cc]overalls/d" -e '/[Rr]eporters/d' Rakefile test/test_helper.rb || die -} diff --git a/dev-ruby/state_machine/state_machine-1.2.0.ebuild b/dev-ruby/state_machine/state_machine-1.2.0.ebuild deleted file mode 100644 index 323134b4f9ed..000000000000 --- a/dev-ruby/state_machine/state_machine-1.2.0.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_TEST="test" -RUBY_FAKEGEM_TASK_DOC="" - -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" - -RUBY_FAKEGEM_EXTRAINSTALL="init.rb" - -inherit ruby-fakegem - -DESCRIPTION="Adds support for creating state machines for attributes on any Ruby class" -HOMEPAGE="https://www.pluginaweek.org" -IUSE="test" -SLOT="0" - -LICENSE="MIT" -KEYWORDS="~amd64" - -ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" - -each_ruby_test() { - ruby-ng_testrb-2 -Ilib test/{unit,functional}/*_test.rb -} diff --git a/dev-ruby/text-hyphen/text-hyphen-1.4.1-r2.ebuild b/dev-ruby/text-hyphen/text-hyphen-1.4.1-r2.ebuild deleted file mode 100644 index 9a64b25e6fc0..000000000000 --- a/dev-ruby/text-hyphen/text-hyphen-1.4.1-r2.ebuild +++ /dev/null @@ -1,29 +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="README.rdoc History.rdoc" - -inherit ruby-fakegem - -DESCRIPTION="Hyphenates words according to the rules of the language the word is written in" -HOMEPAGE="http://rubyforge.org/projects/text-format" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="" - -ruby_add_bdepend " - test? ( - >=dev-ruby/hoe-2.8.0 - dev-ruby/test-unit:2 - )" - -all_ruby_prepare() { - sed -i -e '2igem "test-unit", ">= 2.0"' test/test_*.rb || die -} diff --git a/dev-ruby/thread_safe/thread_safe-0.3.6.ebuild b/dev-ruby/thread_safe/thread_safe-0.3.6.ebuild deleted file mode 100644 index c9a2e03f3517..000000000000 --- a/dev-ruby/thread_safe/thread_safe-0.3.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="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -inherit ruby-fakegem - -DESCRIPTION="A collection of thread-safe versions of common core Ruby classes" -HOMEPAGE="https://github.com/ruby-concurrency/thread_safe" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -# Higher atomic dependency since earlier versions crash on ruby20 while -# running thread_safe tests. -ruby_add_bdepend "test? ( >=dev-ruby/atomic-1.1.16 )" - -each_ruby_prepare() { - sed -i -e "/[Bb]undler/d" Rakefile || die - sed -i -e '/coveralls/I s:^:#:' \ - -e '/simplecov/ s:^:#:' \ - -e '/SimpleCov/,/^end/ s:^:#:' spec/spec_helper.rb || die -} - -each_ruby_test() { - einfo "The test suite may take up to 10 minutes to run without apparent feedback" - each_fakegem_test -} |
