From bfd63d5b0e96ad32e0d0a8fe15512b6a9ac6fc9e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 21 May 2024 00:05:36 +0100 Subject: gentoo auto-resync : 21:05:2024 - 00:05:35 --- dev-ruby/racc/Manifest | 6 ++-- dev-ruby/racc/racc-1.6.2.ebuild | 60 -------------------------------------- dev-ruby/racc/racc-1.7.3.ebuild | 4 +-- dev-ruby/racc/racc-1.8.0.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 69 insertions(+), 65 deletions(-) delete mode 100644 dev-ruby/racc/racc-1.6.2.ebuild create mode 100644 dev-ruby/racc/racc-1.8.0.ebuild (limited to 'dev-ruby/racc') diff --git a/dev-ruby/racc/Manifest b/dev-ruby/racc/Manifest index 7c2a32f2def6..d718fe26bc7a 100644 --- a/dev-ruby/racc/Manifest +++ b/dev-ruby/racc/Manifest @@ -1,9 +1,9 @@ -DIST racc-1.6.2.tar.gz 470740 BLAKE2B c21e01cd7a11573774218ba97de3f58ebdbc4b138def4dfb2620b626d68e71a72f66a7e7f7644707942d4ec5f387b848aa00aa1d7dd81fc98f50b1c23ce118cb SHA512 ef577d0da440361702d15cf2127142e57d5af4146f120cd9d94ee8c8b4380810c8913c373a9969f09b50e0850a8ac04ffd22729c4abdab0670765c7379b549f6 DIST racc-1.7.0.tar.gz 472347 BLAKE2B 329761dcdde47180e15f0ceea09b071c2387569364690ff4dc76631c4f3a5c8d8e5482fdc9a451c9c521fb902007c0974d6596287e73f5e9bf8b51f59a31e09d SHA512 8a198a73132f8a97468aaf2078d493899473cefd67cb8065e2d3f35730577e98cd19682e6d4b0f8a2347c77edfb9acfc5649a527c6361a47ae836c3ec2d01085 DIST racc-1.7.1.tar.gz 460849 BLAKE2B 88caea7f176111678ee7245af72c8689912d413b400c0299da9239d245d0e4d06511e554cbf00f0b9b248baff240d359492fa9c7bbc623d693ef54d135d6ed35 SHA512 266e4cc81bebe5d7331d42f9e2becc3c02c8fd15b5d70d424d04d37ffea35c802c382e88933cfb0f80331c3504b39ab4c59308c9a86de57a8fc7a8bae9d20882 DIST racc-1.7.3.tar.gz 455515 BLAKE2B c2eea87b804ae8675ff253682c1720b006d1edd7c08b2f34dfb731f787aede88175f478c8afdd7d6c28fb1f59d6ec460a1d365e5c282d10c370b78f45c76f7a0 SHA512 8412c021d3fc7f25ccf3a61d56c11df0d8c0b09852d99cc314c8b4931f9c22939dc43ef599801de9a64a69acbd897fb6f215f56702634f2c8b6d69ae3bdfa2b3 -EBUILD racc-1.6.2.ebuild 1733 BLAKE2B 4285bc115b731a3757a91d206e38bcc112e7a20e93cff85c925f8cafe41ac89ac97bc42f9acc7cc357ca17f95ce1aa54857bce1e115fc74c4eafe6b03aa57e61 SHA512 ede22531d576dfafd945837417456eccb24c508f444125c44e1844b7cbcf279760b403a6c494155cce23a413582a9625f6298d8724e36f3a5a806715cae65af4 +DIST racc-1.8.0.tar.gz 456741 BLAKE2B 47c4ca1963f97af3eea1673c1d7bbc5ff24924750cb016f2b7239476f1c3dc932fb468677488c6a61edba9d4d4b563040bc2fd409d7a44d379de0a92bfa3fe25 SHA512 0bfdbe52371561ff83cf1f8670888914f6b89b4eab8f48138195c4e5b8d97176df8037fb7891ca1bb4f1a99e98ec78ea80157f5393694eea2ffb8aa40b92bb7a EBUILD racc-1.7.0.ebuild 1738 BLAKE2B c841e9313dd10a383410111f8972cee5dd86d3280ef6238a327164321cde5829c739e7fe04aca02036af6e3111d36284a1587ce80b6193093d018b2480360901 SHA512 8d27f336219b21184ba610aeaa44c90a50f38c37fe487900c088e7349375b454c469366e56ef05377ab33157ce8d67152a14abbf6ba5715952118c88398d736a EBUILD racc-1.7.1.ebuild 1749 BLAKE2B 3df78c0add990f6f9215428f9ee21e1873e536855309821a77a0ba998954ab31c7f336dd43e44c8fc2f795118c166c9b82502587a2d2da5d6466993bbf4ca62c SHA512 f1386ddba453c57f5354dae39513ac370366e14d27608ae3915015f669b6f3031be3c9d90ea840f44b2d7ac39a29b4f302f3aa29f1fc38e06739df9aefcf182e -EBUILD racc-1.7.3.ebuild 1805 BLAKE2B 33182c6779f489279d47666e732505372ac8a1dd33f55446d57f431e28e6f873f0f308cde9714455eae1091df551be8e6eb82370d52dba3ace884f434be04632 SHA512 4c361238acbcc96214108b0aabe35b8fc88878bf986d950a66a0e8a8b4e111595aaea8d8767b2317562514522455ef8149cb2aca3d0eb38897c29f2d26a09b66 +EBUILD racc-1.7.3.ebuild 1799 BLAKE2B c9161839a1209b2bddccfb452ec58b90ce08879d6485222050448edd6fcf28cd26c7ae13eab75c57be9e4db8b26aacf64b4873e7c15235c5503717390366ac45 SHA512 21ae08863db96f0c7dcc5591b973771b400413284872885567abd53ca7fa3362819eea7356767ec3f0d33710f99f751bfa6c7a6e7877b21ff43795c53e5f2243 +EBUILD racc-1.8.0.ebuild 1805 BLAKE2B 36fceca8af3c6c26e5f48d8f04f586a4baa6e8810e3b3c50ec9bc65a4531ce3db00f31f94b45e344ffeab85e417268bc1fd594155d5b6d298ae0645423d47535 SHA512 b934d1e7d8a4c87b79f70e429f05f44fec6f936dcd5ae8a5c7e75c25c8f33bd4f431b03c02923ce218e90407893a546b2dac943cb4d384c921172e54de5d23c4 MISC metadata.xml 326 BLAKE2B 71f9ad77324e83ce413f1d0a6554a1ff9595ab1c893ee23899d8601d9bfa8cfe1498838b7c88f9718496b8f46df2641418337ba44c5c2dda588a61d5d36d3069 SHA512 6d02422200089abb4da31b4d8fd05797e98e603085526e83a2b7ab1d273fceaa09bc4cf44051d5abf36feb1885bf73304fc5f14a43a1ba521e8246f3c367ed89 diff --git a/dev-ruby/racc/racc-1.6.2.ebuild b/dev-ruby/racc/racc-1.6.2.ebuild deleted file mode 100644 index 897d31aae5a1..000000000000 --- a/dev-ruby/racc/racc-1.6.2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby27 ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_RECIPE_DOC="none" -RUBY_FAKEGEM_EXTRADOC="README.rdoc README.ja.rdoc TODO ChangeLog" - -RUBY_FAKEGEM_GEMSPEC="racc.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/racc/cparse/extconf.rb) -RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/racc/cparse" - -inherit ruby-fakegem - -DESCRIPTION="A LALR(1) parser generator for Ruby" -HOMEPAGE="https://github.com/tenderlove/racc" -SRC_URI="https://github.com/tenderlove/racc/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" - -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="doc test" - -ruby_add_rdepend "virtual/ruby-ssl" - -ruby_add_bdepend "dev-ruby/rake - test? ( dev-ruby/minitest )" - -all_ruby_prepare() { - sed -i -e 's/, :isolate//' Rakefile || die - sed -i -e '/bundler/ s:^:#:' -e '/rdoc/,/^end/ s:^:#:' Rakefile || die - - # Avoid depending on rake-compiler since we don't use it to compile - # the extension. - sed -i -e '/rake-compiler/ s:^:#:' -e '/extensiontask/ s:^:#:' Rakefile || die - sed -i -e '/ExtensionTask/,/^ end/ s:^:#:' Rakefile || die - - # ...which means we need to generate the parser file here - for ruby in $(ruby_get_use_implementations) ; do - if has_version -b "virtual/rubygems[ruby_targets_${ruby}(-)]" && has_version -b "dev-ruby/rake[ruby_targets_${ruby}(-)]" ; then - ${ruby} -S rake lib/racc/parser-text.rb || die - break - fi - done - - sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -all_ruby_install() { - all_fakegem_install - - dodoc -r doc - - docinto examples - dodoc -r sample -} diff --git a/dev-ruby/racc/racc-1.7.3.ebuild b/dev-ruby/racc/racc-1.7.3.ebuild index 771e3b3bd591..3ee91f1bf54c 100644 --- a/dev-ruby/racc/racc-1.7.3.ebuild +++ b/dev-ruby/racc/racc-1.7.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,7 @@ SRC_URI="https://github.com/ruby/racc/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="doc test" ruby_add_rdepend "virtual/ruby-ssl" diff --git a/dev-ruby/racc/racc-1.8.0.ebuild b/dev-ruby/racc/racc-1.8.0.ebuild new file mode 100644 index 000000000000..f340d892f19e --- /dev/null +++ b/dev-ruby/racc/racc-1.8.0.ebuild @@ -0,0 +1,64 @@ +# 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_DOC="none" +RUBY_FAKEGEM_EXTRADOC="README.rdoc README.ja.rdoc TODO ChangeLog" + +RUBY_FAKEGEM_GEMSPEC="racc.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/racc/cparse/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/racc/cparse" + +inherit ruby-fakegem + +DESCRIPTION="A LALR(1) parser generator for Ruby" +HOMEPAGE="https://github.com/ruby/racc" +SRC_URI="https://github.com/ruby/racc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="doc test" + +ruby_add_rdepend "virtual/ruby-ssl" + +ruby_add_bdepend "dev-ruby/rake + test? ( dev-ruby/minitest dev-ruby/test-unit-ruby-core )" + +all_ruby_prepare() { + sed -i -e 's/, :isolate//' Rakefile || die + sed -e '/bundler/ s:^:#:' \ + -e '/require.*rdoc/ s:^:#:' \ + -e '/RDoc/,/^end/ s:^:#:' \ + -i Rakefile || die + + # Avoid depending on rake-compiler since we don't use it to compile + # the extension. + sed -i -e '/rake-compiler/ s:^:#:' -e '/require.*extensiontask/ s:^:#:' Rakefile || die + sed -i -e '/ExtensionTask/,/^ end/ s:^:#:' Rakefile || die + + # ...which means we need to generate the parser file here + for ruby in $(ruby_get_use_implementations) ; do + if has_version -b "virtual/rubygems[ruby_targets_${ruby}(-)]" && + has_version -b "dev-ruby/rake[ruby_targets_${ruby}(-)]" ; then + ${ruby} -S rake lib/racc/parser-text.rb || die + break + fi + done + + sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +all_ruby_install() { + all_fakegem_install + + dodoc -r doc + + docinto examples + dodoc -r sample +} -- cgit v1.2.3