summaryrefslogtreecommitdiff
path: root/dev-ruby/rake-compiler
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-07 04:26:50 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-07 04:26:50 +0100
commit7ad61ca2bfc8f8da08d2fb3085e4333dcccb0a64 (patch)
treef7c41a49b46acf8ae70e84a70c452a7d121c5458 /dev-ruby/rake-compiler
parentd6106fb0c1ab8f79024ab6a9ac2062ddc85d4e07 (diff)
gentoo auto-resync : 07:10:2024 - 04:26:50
Diffstat (limited to 'dev-ruby/rake-compiler')
-rw-r--r--dev-ruby/rake-compiler/Manifest4
-rw-r--r--dev-ruby/rake-compiler/rake-compiler-1.2.7.ebuild2
-rw-r--r--dev-ruby/rake-compiler/rake-compiler-1.2.8.ebuild55
3 files changed, 59 insertions, 2 deletions
diff --git a/dev-ruby/rake-compiler/Manifest b/dev-ruby/rake-compiler/Manifest
index 5ee948ee002f..4fe3071c0559 100644
--- a/dev-ruby/rake-compiler/Manifest
+++ b/dev-ruby/rake-compiler/Manifest
@@ -2,8 +2,10 @@ DIST rake-compiler-1.2.3.tar.gz 38603 BLAKE2B d6cb1714ec3983051d794307e0516c0137
DIST rake-compiler-1.2.5.tar.gz 38723 BLAKE2B 9f619026574467e6abd31a449f1825c49e0df691b1f139c7a8829a9361df3401bab65312303ab7a566eaf73f4a3a6b78674c73abe6f1cc72d1f1bbb6f619e51a SHA512 843b9286f874b487f23a3558b0a7565eea5e2a22144a8ece944b4b69d40945eee16cca8341e2ea3678418df7f36637574c6832899215676ca3294ae61b24ff5a
DIST rake-compiler-1.2.6.tar.gz 38890 BLAKE2B 0d0e854b86fda590ea80cdff548195fda09f8851aad444546f88b8bd3594766b459e94185398d99c0322ca4314bee5b8ae9ebdc573ff1df1e3b78c3af651498b SHA512 29ad4a756149788676cf8f33dd419f0c306390d098f22b88aee211e61593b69f53e7f2b566d28c32cf3676478c0c2dba73a360715db1a9d6d50dedbbddb97379
DIST rake-compiler-1.2.7.tar.gz 39664 BLAKE2B 457359489e5c3c2155d0b2118b146bdf0ed0249b642859d34950640f472e4ed1d166ff3491ba5f739612f4a32e537b8319ee0eca2cd85cd5bfb61aec7a7daecc SHA512 7405037092446e245028f73494acbeeb9b67cdcbc4e90832180d3c53d36df008b05a83e88e1919b884754e39365ca5685aa22cf8caf9e7f96786c11ac7208ead
+DIST rake-compiler-1.2.8.tar.gz 39764 BLAKE2B 02bd433fb380be05fd0c94880ef5d6a6efb9e1a0f04eb7d80950d76426dd1237fc035560a62aea1327b88f02a59ac6ecabbc9895699debe1ee7af97a5f276f38 SHA512 f76fd5fbee981aed06dd75414c11e0b91fbc13fb414d0ef985ebe4b7bdbd9edbb6d823308bc9d6b153127c82b602ca33ccbc1d67c60a9587391db73e5f5e4f48
EBUILD rake-compiler-1.2.3.ebuild 1600 BLAKE2B b23db96de4e6592bb5bf3187390e78b94e08fc39fc41c7ba37a82eb6fd9fe0abd8e1a4b0d4d058369121973d4ee6a0db68baa9751107b301155945c9d8e2cc07 SHA512 f018680b0bc918fdc4526f4589728b0ccbb0c3985484209ee71171ae044a9b3ba60c3b03c75dd909fcb90d36a10088494a33bd8f50df8c36618997d6d6fe33f9
EBUILD rake-compiler-1.2.5.ebuild 1613 BLAKE2B 8ebf6bc58deb1b791899f046ee5ce3410cbea6fed58d70ec84bb9cfbe7776aec697ed8016b2b7442164155a9eccfad690259d8b8783ecda7ff6c89c9917303af SHA512 cc29adf7dcf17777cd775886386df74a403766dcccf8ddad0c4cefe829b721809f796de4512db496044fd112d5eaef0674c4cebcd48598f5fcabe4d4f6fee98d
EBUILD rake-compiler-1.2.6.ebuild 1617 BLAKE2B 07d0bf90c26916e67864c3f8ecb4428cf7c8d9f94c50b7cc79a875bd23ccadd59812b1ae65bb632ddb5e15ab55b4010789420e6b33ed2fba64a776d560da35db SHA512 5d0bc7d7e64c5c91e36e8627fcd9c048d1e40803cf5fd6b0c18eb6b5c1d4519d0ad3b99b7ba34b92d146a236e1b283a4b09ac07952148eb94ec3c990c2527be5
-EBUILD rake-compiler-1.2.7.ebuild 1617 BLAKE2B 07d0bf90c26916e67864c3f8ecb4428cf7c8d9f94c50b7cc79a875bd23ccadd59812b1ae65bb632ddb5e15ab55b4010789420e6b33ed2fba64a776d560da35db SHA512 5d0bc7d7e64c5c91e36e8627fcd9c048d1e40803cf5fd6b0c18eb6b5c1d4519d0ad3b99b7ba34b92d146a236e1b283a4b09ac07952148eb94ec3c990c2527be5
+EBUILD rake-compiler-1.2.7.ebuild 1613 BLAKE2B a6289f6ec9e64137a66a8d2fa96849e93abd0fdaca4ddaa746facb02a2cf0a5c329c763dd505a1ed32fdc3bcf0a9caaabe77d61d6150f305a691f0e4c628849b SHA512 5445a585ef94fd908da254d116748729a7584ad31df0b4d5aa40c07936878c60c12881d09c46ac8e6b97637aac40af38ef1f7ce99533b1db8332d58d926493d1
+EBUILD rake-compiler-1.2.8.ebuild 1617 BLAKE2B a565167ccbca3efd1ae968faa49b87020b4cdca68bc2db2bf576392e43ee8016c9e2a89246dce569173f743a24505c855adaf5dd2114328da495d42207d07ed9 SHA512 2694dd9536bb142d034fb669b8e4396e1beac1d01a509101c0b1610c5fd367fda3f6892fd612e9f44c317a3c64254f8aadba1a6523e43bfde3842801bce00e2b
MISC metadata.xml 354 BLAKE2B c711f59f42d530160f707aa7d99563e3274e791698b85925a58e92ca36ca0c49026ae7e13ef42946f07709020f2113c5f6bd2a2f5cadfe86b142c7d4f31cf077 SHA512 7a1a4e0edc58403cdcaa2cdd0e9e5ae7d7642d5c961f9d673bb62ef2f94c95677d79686cf246f24e103985504a2e6d10fb0bddc76d2763553d5fb6808d3f989d
diff --git a/dev-ruby/rake-compiler/rake-compiler-1.2.7.ebuild b/dev-ruby/rake-compiler/rake-compiler-1.2.7.ebuild
index 810b46de41d0..b0c297358c59 100644
--- a/dev-ruby/rake-compiler/rake-compiler-1.2.7.ebuild
+++ b/dev-ruby/rake-compiler/rake-compiler-1.2.7.ebuild
@@ -19,7 +19,7 @@ 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"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
SLOT="0"
IUSE="test"
diff --git a/dev-ruby/rake-compiler/rake-compiler-1.2.8.ebuild b/dev-ruby/rake-compiler/rake-compiler-1.2.8.ebuild
new file mode 100644
index 000000000000..3d97aed01aa8
--- /dev/null
+++ b/dev-ruby/rake-compiler/rake-compiler-1.2.8.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+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"
+SRC_URI="https://github.com/rake-compiler/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+ruby_add_rdepend "dev-ruby/rake"
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:3 )"
+
+USE_RUBY="ruby31 ruby32 ruby33" 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
+ *ruby31|*ruby32|*ruby33)
+ RSPEC_VERSION=3 ruby-ng_rspec
+ ruby-ng_cucumber
+ ;;
+ *)
+ RSPEC_VERSION=3 ruby-ng_rspec
+ ;;
+ esac
+}