mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/racc: drop 1.7.0, 1.7.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
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
|
||||
DIST racc-1.8.0.tar.gz 456741 BLAKE2B 47c4ca1963f97af3eea1673c1d7bbc5ff24924750cb016f2b7239476f1c3dc932fb468677488c6a61edba9d4d4b563040bc2fd409d7a44d379de0a92bfa3fe25 SHA512 0bfdbe52371561ff83cf1f8670888914f6b89b4eab8f48138195c4e5b8d97176df8037fb7891ca1bb4f1a99e98ec78ea80157f5393694eea2ffb8aa40b92bb7a
|
||||
|
||||
@@ -1,61 +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
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
# 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_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 -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
|
||||
}
|
||||
Reference in New Issue
Block a user