diff options
Diffstat (limited to 'dev-ruby')
| -rw-r--r-- | dev-ruby/mixlib-config/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/mixlib-config/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-ruby/mixlib-config/mixlib-config-3.0.27.ebuild | 24 | ||||
| -rw-r--r-- | dev-ruby/net-protocol/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/net-protocol/net-protocol-0.2.2.ebuild | 33 | ||||
| -rw-r--r-- | dev-ruby/roadie-rails/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/roadie-rails/roadie-rails-3.1.0.ebuild | 59 | ||||
| -rw-r--r-- | dev-ruby/test_declarative/test_declarative-0.0.6-r1.ebuild | 3 | ||||
| -rw-r--r-- | dev-ruby/timeout/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/timeout/timeout-0.4.1.ebuild | 29 |
10 files changed, 164 insertions, 0 deletions
diff --git a/dev-ruby/mixlib-config/Manifest b/dev-ruby/mixlib-config/Manifest new file mode 100644 index 000000000000..15e5172c6b73 --- /dev/null +++ b/dev-ruby/mixlib-config/Manifest @@ -0,0 +1 @@ +DIST mixlib-config-3.0.27.tar.gz 27147 BLAKE2B 867b736423b39c0c9960824936766a1b970eda30f2e69cb7031e1d63c28b05d387e0767f879f859e81d06cee1dbe426f23d4cfb71486f3235991520a532f72eb SHA512 7bf985f7ef15d3f96b148e3db591a0e4ba382f3c76103c7ef0f786cc6998bbea6a566e29cfedace2177e4e3444f69dac813bfbecddf932204dbe5a536c863037 diff --git a/dev-ruby/mixlib-config/metadata.xml b/dev-ruby/mixlib-config/metadata.xml new file mode 100644 index 000000000000..013fee260af1 --- /dev/null +++ b/dev-ruby/mixlib-config/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="rubygems">mixlib-config</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-ruby/mixlib-config/mixlib-config-3.0.27.ebuild b/dev-ruby/mixlib-config/mixlib-config-3.0.27.ebuild new file mode 100644 index 000000000000..4355ff7d651f --- /dev/null +++ b/dev-ruby/mixlib-config/mixlib-config-3.0.27.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRA_DOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="mixlib-config.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A class based configuration library" +HOMEPAGE="https://github.com/chef/mixlib-config" +SRC_URI="https://github.com/chef/mixlib-config/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/tomlrb" diff --git a/dev-ruby/net-protocol/Manifest b/dev-ruby/net-protocol/Manifest index 5310251961db..61cf20c2a202 100644 --- a/dev-ruby/net-protocol/Manifest +++ b/dev-ruby/net-protocol/Manifest @@ -1 +1,2 @@ DIST net-protocol-0.2.1.tar.gz 17713 BLAKE2B dc5abe229e6900a41af786f6e617c27a8fec2fc720afaf95ae72a1614017c43617eb207a57a6460dd6b589c392ec6cb65ff4a3b6e3f09e04f765295f5d41a3ff SHA512 e3990b64826c681efac2bcb5cbe4f120e730ddac8e1a62690e575de5037c7a9ddb80bf6cc051c98319c37013fef7f4f331adbcd51e96f32ecf4c3804fcd1f7c5 +DIST net-protocol-0.2.2.tar.gz 7863 BLAKE2B fe3fb6657d0efc9e9ca0d2bde4d32098d221c9a36c0d7f2160d39fe49d080ae4bb399c32709165684c8942bb1ea2fe60aa7144e161ad0a7962fd932dc5c20e32 SHA512 15698d9a88bca73edaa4d0db6ea9fabf2e09e7bfc6d08c2f03e3e1f0afe4f07c642af0d1272795c0907cacec0fc4b9a7844c5cb803f19082cdec420668a05aa8 diff --git a/dev-ruby/net-protocol/net-protocol-0.2.2.ebuild b/dev-ruby/net-protocol/net-protocol-0.2.2.ebuild new file mode 100644 index 000000000000..277b2c32fae6 --- /dev/null +++ b/dev-ruby/net-protocol/net-protocol-0.2.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="net-protocol.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="The abstruct interface for net-* client" +HOMEPAGE="https://github.com/ruby/net-protocol" +SRC_URI="https://github.com/ruby/net-protocol/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="" + +ruby_add_rdepend " + dev-ruby/timeout +" + +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} diff --git a/dev-ruby/roadie-rails/Manifest b/dev-ruby/roadie-rails/Manifest index 12f320451f48..d08879a8828e 100644 --- a/dev-ruby/roadie-rails/Manifest +++ b/dev-ruby/roadie-rails/Manifest @@ -1 +1,2 @@ DIST roadie-rails-3.0.0.tar.gz 62724 BLAKE2B d9e960f97a491724b80d3064304e4875b1a12e7570e6c6ed8c373bf0dc73cf0828d1c5f3cb2ea57c485bbca832ce9cd9ba5c7ca798c4695a36b0c7925826eb91 SHA512 061635e9d5d6c4f752f8f105c0fef0b0ac9cd46cec7669b43295fecb80fd2232e211f033af9f9fe457a3c2c6ea04921ffcc9abe6f8b375f2df8b8bc8bfa64512 +DIST roadie-rails-3.1.0.tar.gz 76608 BLAKE2B b0adffa2ca6e5416a9f9e77cb86e3ba8766f1cc18a68edbf9f7c0dd5197e2d888c98ad6a46b6cb8b2dd75e0cf1abe59c528b49571144c895f357bbe07c3348d7 SHA512 d12a024eccce273558aaedc6100050c424fd564b5f2b88b27e14cc2d7817e79e5f36d8a4f8dae78104d6d57f0ce11dfe926d08109573d9c0f4e77bfd866683b3 diff --git a/dev-ruby/roadie-rails/roadie-rails-3.1.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-3.1.0.ebuild new file mode 100644 index 000000000000..9c5504299029 --- /dev/null +++ b/dev-ruby/roadie-rails/roadie-rails-3.1.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="yard" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Hooks Roadie into your Rails application to help with email generation" +HOMEPAGE="https://github.com/Mange/roadie-rails" +SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +ruby_add_rdepend "dev-ruby/roadie:5 + || ( dev-ruby/railties:7.0 dev-ruby/railties:6.1 )" +ruby_add_bdepend " + test? ( + dev-ruby/bundler + || ( dev-ruby/rails:7.0 dev-ruby/rails:6.1 ) + dev-ruby/rspec-rails + dev-ruby/rspec-collection_matchers + dev-ruby/sass-rails )" + +all_ruby_prepare() { + sed -i -e '/\(simplecov\|standard\)/ s:^:#:' Gemfile || die + sed -i -e 's/git ls-files/find * -print/' -e '/standard/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid already removed rails or versions incompatible with sass-rails + sed -i -e '/rails_\(51\|52\|60\|71\)/ s:^:#:' spec/integration_spec.rb || die + + # Avoid dependency on optional bootsnap + sed -i -e '/bootsnap/ s:^:#:' spec/railsapps/rails_*/Gemfile spec/railsapps/rails_*/config/boot.rb || die + + # Fix versioned sass-rails dependency + sed -i -e '/sass-rails/ s/>= 6/>=5/' spec/railsapps/*/Gemfile || die + + # Revert https://github.com/Mange/roadie-rails/commit/03acd8fddf651d43919e92db35d541ec4281c5fc for now + # Fragile test which is affected by dependency versions (unclear which) + sed -e 's/cd95a25e70dfe61add5a96e11d3fee0f29e9ba2b05099723d57bba7dfa725c8a/322506f9917889126e81df2833a6eecdf2e394658d53dad347e9882dd4dbf28e/' \ + -i spec/integration_spec.rb || die + +} + +each_ruby_prepare() { + sed -i -e '/run_in_app_context/ s:bin/rails:'${RUBY}' -S bin/rails:' spec/support/rails_app.rb || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rspec-3 spec || die +} 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 05ab7eb9d171..f610d7a0d326 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 @@ -29,6 +29,9 @@ all_ruby_prepare() { sed -i -e '/rake/ s/~> 12.0.0/>= 10/ ; /minitest/ s/5.10.1/5.10/' Gemfile || die sed -i -e 's/git ls-files --/find/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Work around incompatibilities in newer minitest versions. + sed -i -e "15irequire 'minitest/unit'" test/test_declarative_test.rb || die } each_ruby_test() { diff --git a/dev-ruby/timeout/Manifest b/dev-ruby/timeout/Manifest index ba8b02e61750..776b186a628d 100644 --- a/dev-ruby/timeout/Manifest +++ b/dev-ruby/timeout/Manifest @@ -1,2 +1,3 @@ DIST timeout-0.3.2.tar.gz 16920 BLAKE2B ec3bb38a8c60b9156a8fb8b5bb99b74a606ee8d18aa81b4b5ed5067c38cea1856ccfc00a841cc58c33cf5159fc1065f68728c48acec6df2eed28f364a36fc7a5 SHA512 70220781ecaec61a4243dfd95c6be13050513e78dd3239b58b0c8f6904b29c2bfbf895f769a1e122a30fbdad761577c2ddae94b328c4ee390867d1ab6391b8ec DIST timeout-0.4.0.tar.gz 6897 BLAKE2B 1fa606e15001ba929d7a1e6e254c97f7948de9042c90174263a2d3fc671b26c22197f9c1376c2cec60d8fe64361a63f29cdc02cf4e9bd0b912754bc65f594c0e SHA512 9337cac1f2ba76efb769c6602ae60fa1f3be4a6fc04ebd845c32332d1a25e0c669485f0f64611e09e1648908abe768aa78779c6568345a9729502efefa753485 +DIST timeout-0.4.1.tar.gz 7197 BLAKE2B 182b8904345228f90406b2b567a9342b0724ad0abb103392ec2682c8040168e1bb98c90256d3715d5938f09bf92e9650fc3423903dacd620b753d5119f143910 SHA512 1ca23bfcaf2c67a59805f814b20a9fe6e492b8f68e492c86290d6c638b07ea9b6f14c4cc84c14b891b5aaf611f46968af8947565ea83d783c90144df4e3e612f diff --git a/dev-ruby/timeout/timeout-0.4.1.ebuild b/dev-ruby/timeout/timeout-0.4.1.ebuild new file mode 100644 index 000000000000..e58a7ade545e --- /dev/null +++ b/dev-ruby/timeout/timeout-0.4.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="timeout.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provides a framework for message digest libraries" +HOMEPAGE="https://github.com/ruby/timeout" +SRC_URI="https://github.com/ruby/timeout/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} |
