From 32a5c8c13e8f1f27cde72c03c7a519c5e8a74b0b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 4 Aug 2023 21:18:29 +0100 Subject: gentoo auto-resync : 04:08:2023 - 21:18:29 --- dev-ruby/rake-compiler/Manifest | 4 +- dev-ruby/rake-compiler/metadata.xml | 2 +- dev-ruby/rake-compiler/rake-compiler-1.2.5.ebuild | 55 +++++++++++++++++++++++ 3 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 dev-ruby/rake-compiler/rake-compiler-1.2.5.ebuild (limited to 'dev-ruby/rake-compiler') diff --git a/dev-ruby/rake-compiler/Manifest b/dev-ruby/rake-compiler/Manifest index fa75fda5d677..da04dcc557eb 100644 --- a/dev-ruby/rake-compiler/Manifest +++ b/dev-ruby/rake-compiler/Manifest @@ -1,5 +1,7 @@ DIST rake-compiler-1.2.1.tar.gz 37723 BLAKE2B 685278cec10f9bd028ed7973446f8f164fd81567d5f390507321fd7fcd260b746e53ebde60fcee025ab20bcf248f274f1d8a0fac16d2f7ef13c0b8996c667037 SHA512 fd99c3a46a9a47f2fc70e59d2c33e6a68b849708cab35e6af46bafa0e9f3c843c20ec1287a463cda7d6237fc79e4cd4965cc78b309ac8b9519c0e7f44f2be8ce DIST rake-compiler-1.2.3.tar.gz 38603 BLAKE2B d6cb1714ec3983051d794307e0516c01379a1d2a59430fad9780cc4b037a159c924a4edc1abf6cfbfa1b245203e4cfd4ea7bf887dbf2ea02ca93138629012062 SHA512 3dd3374630dbf0ce9d31caf62d399481622ed55aa15184073836043b907d40994b3284c40945f89c604296cc0cd2b588245e2310cef80846da48883c0e6a2f34 +DIST rake-compiler-1.2.5.tar.gz 38723 BLAKE2B 9f619026574467e6abd31a449f1825c49e0df691b1f139c7a8829a9361df3401bab65312303ab7a566eaf73f4a3a6b78674c73abe6f1cc72d1f1bbb6f619e51a SHA512 843b9286f874b487f23a3558b0a7565eea5e2a22144a8ece944b4b69d40945eee16cca8341e2ea3678418df7f36637574c6832899215676ca3294ae61b24ff5a EBUILD rake-compiler-1.2.1.ebuild 1607 BLAKE2B b38cc6d15b208e6a7fdb7b00bf37652a5944518abde8cdae723d44aaaab9d3987100265d6b76474389e32bb6506b527506b23ce9ca8e1493f94ea889039a2593 SHA512 c22225e4d1b5a66ee4ffd74160e8c99e9d1648a8d38473b3db7338b3e50e40d42b2d4a078bf047abe20bc7e9006e3c2bdd7b704dd1a47840d458c8a00bac3c09 EBUILD rake-compiler-1.2.3.ebuild 1601 BLAKE2B 6b0d41d659285170f7b7be74735a3c1d5898a1fd5cc9c47c62479ac80ed87562e315943f58771751fc06014f4a89ec543950ffd8b522328121818d951ca8b5d6 SHA512 f8331e00190206a359d8765278cb472db0b5acd698af14eebc5fed6a75ec1e7e66d443523fb863eb9ee29ae0facab0c92d637d54c16380b482bede51871d862c -MISC metadata.xml 351 BLAKE2B 244d52aa29c9cdaa264cc545994ba23b012d8fa075fe3c173e28958c3af17b11e32216ce686d5117d8cdfc31c2761e3cc5e79801019bc5f2b36725405d085d16 SHA512 74631c371f303715421c6a61ed98889d8a898d761c8216cfe9bbed422eea27e29c4ddd344da4e49f11c4bb31c8ac5fd5df3c5d36a7ab187e80e005276c027bd5 +EBUILD rake-compiler-1.2.5.ebuild 1613 BLAKE2B 618ae1a9e6a435e9c857fdb9bf4ce765b94d0d5336c71bee9430182a0d10a2c5fbc3b5792367e60b5812cd973f85837d334bb811d0b09d6f72afa4c38c6b37e3 SHA512 7de433c44a730b5db1c0d6bc5cbf823476e2f0d6b078c81cab3b3cacf0cd15413c860fcd5f5b0487ac8cd660df98f0ae7870f5a76054703bde855f1134bebdb3 +MISC metadata.xml 354 BLAKE2B c711f59f42d530160f707aa7d99563e3274e791698b85925a58e92ca36ca0c49026ae7e13ef42946f07709020f2113c5f6bd2a2f5cadfe86b142c7d4f31cf077 SHA512 7a1a4e0edc58403cdcaa2cdd0e9e5ae7d7642d5c961f9d673bb62ef2f94c95677d79686cf246f24e103985504a2e6d10fb0bddc76d2763553d5fb6808d3f989d diff --git a/dev-ruby/rake-compiler/metadata.xml b/dev-ruby/rake-compiler/metadata.xml index 1f0fcedcc36e..499364daa9ff 100644 --- a/dev-ruby/rake-compiler/metadata.xml +++ b/dev-ruby/rake-compiler/metadata.xml @@ -6,6 +6,6 @@ Gentoo Ruby Project - luislavena/rake-compiler + rake-compiler/rake-compiler diff --git a/dev-ruby/rake-compiler/rake-compiler-1.2.5.ebuild b/dev-ruby/rake-compiler/rake-compiler-1.2.5.ebuild new file mode 100644 index 000000000000..7d80307e353a --- /dev/null +++ b/dev-ruby/rake-compiler/rake-compiler-1.2.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="none" +RUBY_FAKEGEM_EXTRADOC="History.md README.md" + +RUBY_FAKEGEM_GEMSPEC="rake-compiler.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provide a standard and simplified way to build and package Ruby extensions" +HOMEPAGE="https://github.com/rake-compiler/rake-compiler" +LICENSE="MIT" + +SRC_URI="https://github.com/rake-compiler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +SLOT="0" +IUSE="" + +ruby_add_rdepend "dev-ruby/rake" + +ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" + +USE_RUBY="ruby27 ruby30 ruby31" ruby_add_bdepend "test? ( dev-util/cucumber )" + +all_ruby_prepare() { + # Avoid failing features for native gems, this also fails with rubygems + sed -i -e '/generate native gem/,$ s:^:#:' features/package.feature || die + + # Fix compatibility with newer cucumber versions. The not syntax has + # been supported since cucumber 3.x. + sed -i -e "s/~@java/'not @java'/" cucumber.yml || die + + # Fix compatibility with newer rspec versions. + sed -i -e 's/be_true/be true/ ; s/be_false/be false/' features/step_definitions/*.rb || die +} + +each_ruby_test() { + # Skip cucumber for new ruby versions (not ready yet due to rspec 2 usage) + case ${RUBY} in + *ruby27|*ruby30|*ruby31) + RSPEC_VERSION=3 ruby-ng_rspec + ruby-ng_cucumber + ;; + *) + RSPEC_VERSION=3 ruby-ng_rspec + ;; + esac +} -- cgit v1.2.3