diff options
Diffstat (limited to 'dev-ruby')
| -rw-r--r-- | dev-ruby/chef-utils/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/chef-utils/chef-utils-18.3.0.ebuild | 29 | ||||
| -rw-r--r-- | dev-ruby/chef-utils/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-ruby/mixlib-shellout/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/mixlib-shellout/mixlib-shellout-3.2.7.ebuild | 33 | ||||
| -rw-r--r-- | dev-ruby/slim/Manifest | 2 | ||||
| -rw-r--r-- | dev-ruby/slim/slim-5.2.0.ebuild (renamed from dev-ruby/slim/slim-5.1.0-r1.ebuild) | 15 | ||||
| -rw-r--r-- | dev-ruby/test_declarative/test_declarative-0.0.6-r1.ebuild | 3 | ||||
| -rw-r--r-- | dev-ruby/unf_ext/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/unf_ext/unf_ext-0.0.9.ebuild | 37 |
10 files changed, 122 insertions, 12 deletions
diff --git a/dev-ruby/chef-utils/Manifest b/dev-ruby/chef-utils/Manifest new file mode 100644 index 000000000000..b79b1942b33c --- /dev/null +++ b/dev-ruby/chef-utils/Manifest @@ -0,0 +1 @@ +DIST chef-utils-18.3.0.gem 34816 BLAKE2B cafdacdf4c3923df8ba41d3d960c135d357c9712a8009cc06c5f8e43a039b83495036e46e6f2d3785f589f206a0d373ec87b8c728c99889c236b16509bc51bc0 SHA512 0a806d2b8a42f2d574c81788990e6e0b70eaf4ac25bc08836915deae8ecdc2f82415ea66d6a571b01097de1e6435d359eaabe3ec16b8f3df24d826c78c96a5a8 diff --git a/dev-ruby/chef-utils/chef-utils-18.3.0.ebuild b/dev-ruby/chef-utils/chef-utils-18.3.0.ebuild new file mode 100644 index 000000000000..aa0de71cc641 --- /dev/null +++ b/dev-ruby/chef-utils/chef-utils-18.3.0.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_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRA_DOC="CHANGELOG.md README.md" + +#RUBY_FAKEGEM_GEMSPEC="mixlib-shellout.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Basic utility functions for Core Chef Infra development" +HOMEPAGE="https://github.com/chef/chef/tree/main/chef-utils" +#SRC_URI="https://github.com/chef/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/concurrent-ruby" + +all_ruby_prepare() { + # Avoid specs depending on unpackaged fauxhai + rm -f spec/unit/dsl/{cloud,os,platform,platform_family,virtualization}_spec.rb || die +} diff --git a/dev-ruby/chef-utils/metadata.xml b/dev-ruby/chef-utils/metadata.xml new file mode 100644 index 000000000000..0e606fbfb2d4 --- /dev/null +++ b/dev-ruby/chef-utils/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">chef-utils</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata>
\ No newline at end of file diff --git a/dev-ruby/mixlib-shellout/Manifest b/dev-ruby/mixlib-shellout/Manifest index 57b3d1755061..06e59fc3300e 100644 --- a/dev-ruby/mixlib-shellout/Manifest +++ b/dev-ruby/mixlib-shellout/Manifest @@ -1 +1,2 @@ DIST mixlib-shellout-3.0.9.tar.gz 42476 BLAKE2B 4fab1d0f7d7ee5190f65d312304c7137d940b5cc19bb205d4de1d14eb5bc5829671560785b7f3179220246433b15b9022f8a1d16fb7491e180940c9dc6da5280 SHA512 7234c188e25cc6da3c4859eb12e4f86ce0d6538d17e4c90b1b5105fe677fcd13d884d7045be9767473c3ac63ffcfac7af25dc8efcec184928ba32852a5a760cc +DIST mixlib-shellout-3.2.7.tar.gz 46666 BLAKE2B 0ee97eef27618d326487a3884115d0954147297a75001404c8df0717f71c6acde5ec9ebc9320d12493f1ce4e65b3d74ba1143ba7e4a631629de0d65e3b50bcb7 SHA512 de1d07e7a3f26ec934f57a37a82995b5522a5c196263b7ff1917c1a77cce3104d67a8dccab2aa907c3db854520ce6b5f78ef33fca8d4bffd0ba0cc659da1c16f diff --git a/dev-ruby/mixlib-shellout/mixlib-shellout-3.2.7.ebuild b/dev-ruby/mixlib-shellout/mixlib-shellout-3.2.7.ebuild new file mode 100644 index 000000000000..5b3345f42e79 --- /dev/null +++ b/dev-ruby/mixlib-shellout/mixlib-shellout-3.2.7.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_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_EXTRA_DOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="mixlib-shellout.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Run external commands on Unix or Windows" +HOMEPAGE="https://github.com/chef/mixlib-shellout" +SRC_URI="https://github.com/chef/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/chef-utils" + +each_ruby_prepare() { + # Make sure we actually use the right interpreter for testing + sed -i -e "/ruby_eval/ s:ruby :${RUBY} :" spec/mixlib/shellout_spec.rb || die + + # Avoid spec that requires an interactive terminal + sed -e '/with subprocess writing lots of data to both stdout and stderr/,/^ end/ s:^:#:' \ + -i spec/mixlib/shellout_spec.rb || die +} diff --git a/dev-ruby/slim/Manifest b/dev-ruby/slim/Manifest index 19b49ac9fd16..9d87e9287e07 100644 --- a/dev-ruby/slim/Manifest +++ b/dev-ruby/slim/Manifest @@ -1,2 +1,2 @@ -DIST slim-5.1.0.gem 100352 BLAKE2B 19d0bea76a932d18a39fab30d0b1f2cd4f8f2eba108d79d2992112b568461cbc854a99d70b6ea97622e1928db7f33434221a054d77c5d3fa989da639fae176e5 SHA512 2cc39659a5c36cf37e3eea240f5326552fac0be8a42ff6bfe62837467bb77f8841b34d838d5a6945ff7195eb1e59842c64e04944d6882d132819f1ffbf609f50 DIST slim-5.1.1.gem 100864 BLAKE2B ea5c469702dca808bdc0555044a8d6a5a0b34e8d5b03a9c97e6e31ccb169725be6f76fc1f252d14673e92a53ac1a42caf023a3d1bacb66c4091710f8e9772c1a SHA512 935d488ad11478b28d51125ddbf7f0cb81f7791587bb69c7ead434eacf44c309958459dcff7228b6562b8972d6cb7125f3d451d21bfa2ded2f7ee1b55703d1f4 +DIST slim-5.2.0.gem 101376 BLAKE2B 19039b0f6d4a789564ff00df90bee214ccdb1827349d0f95b658d06fedd593cae6abbc50cf5e5438691d15c8d660964b38217f700f2d2c726c7670104c10af0f SHA512 85fd367460296eba9d4244832b1225b41f052f05b17ec9e38cc5db6accae1a5cd551bd61290a0c6885a42970f8219d5d00c0fd229616f3369e0f5575b6df72ea diff --git a/dev-ruby/slim/slim-5.1.0-r1.ebuild b/dev-ruby/slim/slim-5.2.0.ebuild index 73885b17435e..b2f698a165ae 100644 --- a/dev-ruby/slim/slim-5.1.0-r1.ebuild +++ b/dev-ruby/slim/slim-5.2.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31 ruby32" +USE_RUBY="ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" @@ -20,15 +20,16 @@ HOMEPAGE="https://slim-template.github.io/" LICENSE="MIT" SLOT="4" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" IUSE="doc" ruby_add_rdepend " !dev-ruby/slim:5 - >=dev-ruby/tilt-2.0.6:* - >=dev-ruby/temple-0.7.6:0.7 + >=dev-ruby/tilt-2.1.0:* + >=dev-ruby/temple-0.10.0:0.7 " -# sass tests are currently disabled: https://github.com/slim-template/slim/commit/bd9d4601cd8142aa9fdbc0d87c9f9132a9a56cda +# sass tests are currently disabled: +# https://github.com/slim-template/slim/commit/bd9d4601cd8142aa9fdbc0d87c9f9132a9a56cda ruby_add_bdepend " doc? ( dev-ruby/yard @@ -38,6 +39,7 @@ ruby_add_bdepend " dev-ruby/minitest:5 dev-ruby/kramdown:2 dev-ruby/redcarpet + dev-ruby/sassc >=dev-ruby/test-unit-3.5 ) " @@ -48,9 +50,6 @@ all_ruby_prepare() { # This sinatra code expects tests to be installed but we strip those. sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die - # Add missing include, bug 816573 - sed -i -e "1irequire 'ostruct'" test/core/test_code_evaluation.rb || die - # Avoid tests for things we don't have. The builder test does not pass with tilt 2.x sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \ -e '/test_render_with_wiki/,/^ end/ s:^:#:' \ 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 2da6eed8edf0..6d224410b2b2 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 @@ -30,9 +30,6 @@ 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/unf_ext/Manifest b/dev-ruby/unf_ext/Manifest index 5ff3012d144a..6b05e3ff748b 100644 --- a/dev-ruby/unf_ext/Manifest +++ b/dev-ruby/unf_ext/Manifest @@ -1 +1,2 @@ DIST unf_ext-0.0.8.2.gem 399360 BLAKE2B 01c98ff018ec3471d4068e79b6a80980e891835a940b109c9b240226ed97f89ce71b3236b9185c6087a4e61fe6b77b249fc952b65483b5adb96fc25ee0d4bb05 SHA512 c9d3e54c96a525031d3b2fe349b5ffa1d03e3f28f74c3a2715af299e5274c7514526d07be5d7244a2cf9561c11e170b15c75d34c5e2a7143cef1ee25d32d2137 +DIST unf_ext-0.0.9.gem 399872 BLAKE2B ec32d0357d7e72d001962b16f70fe616910eff6641eabf56dd2403f995c60a8a0dc4b1901ce3154032645e9af2378b9cdf9a23795899a5f7230f5f7ad52bd3c9 SHA512 b89edde90ccd7a71c7ae0e284ded7d8963239fcc976ea2876e569562bad44ff8eb8825ec8adcc61242772cc37c924ff1962bbcf1cea4e4333db446af1f055d30 diff --git a/dev-ruby/unf_ext/unf_ext-0.0.9.ebuild b/dev-ruby/unf_ext/unf_ext-0.0.9.ebuild new file mode 100644 index 000000000000..93ee53a957d2 --- /dev/null +++ b/dev-ruby/unf_ext/unf_ext-0.0.9.ebuild @@ -0,0 +1,37 @@ +# 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="none" + +RUBY_FAKEGEM_DOCDIR="doc" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTENSIONS=(ext/unf_ext/extconf.rb) + +inherit ruby-fakegem + +DESCRIPTION="Unicode Normalization Form support library for CRuby" +HOMEPAGE="https://github.com/knu/ruby-unf_ext" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc test" + +ruby_add_bdepend " + test? ( + >=dev-ruby/test-unit-2.5.1-r1 + )" + +all_ruby_prepare() { + sed -i -e '/bundler/,/end/ s:^:#:' Rakefile test/helper.rb || die +} + +each_ruby_test() { + ruby-ng_testrb-2 test/test_*.rb +} |
