diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-05-26 07:57:47 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-05-26 08:32:32 +0200 |
commit | 5267b9f1af160bd1ebb1139446ebe4aeedf1a210 (patch) | |
tree | b021b0dd85f662221321c9ba7ddd4485d5524f7b /dev-ruby/rexical | |
parent | dev-ruby/bundler: add 2.5.9 (diff) | |
download | gentoo-5267b9f1af160bd1ebb1139446ebe4aeedf1a210.tar.gz gentoo-5267b9f1af160bd1ebb1139446ebe4aeedf1a210.tar.bz2 gentoo-5267b9f1af160bd1ebb1139446ebe4aeedf1a210.zip |
dev-ruby/rexical: add 1.0.8
Closes: https://bugs.gentoo.org/932576
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rexical')
-rw-r--r-- | dev-ruby/rexical/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rexical/rexical-1.0.8.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/rexical/Manifest b/dev-ruby/rexical/Manifest index 5744ff0cc72b..fda15c78cdfa 100644 --- a/dev-ruby/rexical/Manifest +++ b/dev-ruby/rexical/Manifest @@ -1 +1,2 @@ DIST rexical-1.0.7.gem 22016 BLAKE2B aaadf4131fbc4958a6a17be02b970070e511dcb031fd6432fb62fb841eff36b4d5c41d8f8f295aed4ac376c49e736e5d795166f71957578c6cbe14fd6cea26be SHA512 f71c86bd9764e65ebe0c66acd5446b5da7a1b38aae9d33367d70bfa253eb53c178634ce90c883c5459622219670d4d32f375b216c3023a3109329d6930dec1fc +DIST rexical-1.0.8.gem 29696 BLAKE2B ff025d8fa2d06abb264f7f75d81c668599e2ef06522c43f9614902a1a838a228190a148b70a471069d940723dd4a1ad8bccb774343d762fa3658e42bf72e7782 SHA512 52b6c8f46636a3372291c5575742984c622231b3221d3069b978d16c620ac598caec854795201b659b13d37033c1c1ab063bab38e3445a460d3860e4c168dbee diff --git a/dev-ruby/rexical/rexical-1.0.8.ebuild b/dev-ruby/rexical/rexical-1.0.8.ebuild new file mode 100644 index 000000000000..74b35215ca0a --- /dev/null +++ b/dev-ruby/rexical/rexical-1.0.8.ebuild @@ -0,0 +1,44 @@ +# 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_EXTRADOC="CHANGELOG.rdoc DOCUMENTATION.en.rdoc DOCUMENTATION.ja.rdoc README.ja README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Rexical is a lexical scanner generator" +HOMEPAGE="https://github.com/sparklemotion/rexical/tree/master" +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="test" + +# File collision, bug 459116 +RDEPEND+=" !!app-admin/rex" + +ruby_add_depend "dev-ruby/getoptlong" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest + )" + +all_ruby_prepare() { + # Avoid dependency on unpackaged rubocop + sed -i -e '/test_rubocop_security/askip "not packaged"' test/test_generator.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc sample/* +} |