diff options
author | Hans de Graaff <graaff@gentoo.org> | 2024-11-03 07:35:47 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2024-11-03 07:38:43 +0100 |
commit | 5128b1480fa4b842857f21ed1932ac00d330524a (patch) | |
tree | 488d4731510f3b6c9377208612b6b3aea43a36d0 /dev-ruby/parser | |
parent | dev-lang/rust: Lower x86 baseline for no sse2 support (diff) | |
download | gentoo-5128b1480fa4b842857f21ed1932ac00d330524a.tar.gz gentoo-5128b1480fa4b842857f21ed1932ac00d330524a.tar.bz2 gentoo-5128b1480fa4b842857f21ed1932ac00d330524a.zip |
dev-ruby/parser: add 3.3.5.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/parser')
-rw-r--r-- | dev-ruby/parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/parser/parser-3.3.5.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest index 763ba5f60049..db211aef2eba 100644 --- a/dev-ruby/parser/Manifest +++ b/dev-ruby/parser/Manifest @@ -3,3 +3,4 @@ DIST parser-3.3.4.0.tar.gz 330963 BLAKE2B fbac9486cdf08701a0fba0f24f35c42347e29d DIST parser-3.3.4.1.tar.gz 331115 BLAKE2B 35417751702bda1ac4fd9240dd453e6c8271ba0443e81a71aacac3375b83e1587333d71fc29395f1f65dba2408351fd19df950c2e6196c1b7b8dd2148de578aa SHA512 5696b9446d7e3b05debc621085b16a4d7e052e32892e82e16e7608a6c14fd58f2d4d977be32e1a9ee1cc930cdd52589f85b77781dc84028e3b0af53bbbc4f693 DIST parser-3.3.4.2.tar.gz 331155 BLAKE2B 8070f7359d9e29470e3d9bb132c4a6e2682b4aa4f8d62287f0230c53935445e0514f7ebd3753c1f9c70e661c01c5d465c7ada5fe0730a60ae8899fa933d62c93 SHA512 ccf9aba5ab642a42acc1246741123825d4c8346af7494ef12c16a3d15aa4f71701dbe4b121be5b48c3bfbacb75a1e8601d554282b46c1d369f518109be27d106 DIST parser-3.3.5.0.tar.gz 331207 BLAKE2B cd60df47b165d88e4e8fa5154ab41d3021f14f41bf0ecb73f0fcfa0762d4956954ce73b5a9e9a7376a9ecfd97c36e1887afa15c91dc1436b8de1e4d2468a4eb4 SHA512 00951144e3539730a9f2b02c9435f23716993e75f51db8f2bddc216d5e25902dad56d574af470190a0a9f91a93a09ef034fbc0fb030ce1a65d23c43e09bcab7b +DIST parser-3.3.5.1.tar.gz 331231 BLAKE2B 24fd5fc06a7c2d28874a100178a693ab84e9b9f0a7f58215d3611d724ad2cd0a346509efb406f824d2f66122058cc16e78dfca71db4168368c3471d8cbbe9337 SHA512 64dec0fa37f941580cef77bff461fbd99ff8cd92e209673ed16b88fd03cfb69b71306d8b468399e77123ed911e4c49f34eaa81c87da51c98652e2d7138f806ac diff --git a/dev-ruby/parser/parser-3.3.5.1.ebuild b/dev-ruby/parser/parser-3.3.5.1.ebuild new file mode 100644 index 000000000000..0d50425d80a7 --- /dev/null +++ b/dev-ruby/parser/parser-3.3.5.1.ebuild @@ -0,0 +1,40 @@ +# 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="yard" +RUBY_FAKEGEM_TASK_TEST="test" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_VERSION="${PV/_pre/.pre.}" + +RUBY_FAKEGEM_GEMSPEC="parser.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A production-ready Ruby parser written in pure Ruby" +HOMEPAGE="https://github.com/whitequark/parser" +SRC_URI="https://github.com/whitequark/parser/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~sparc" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend " + test? ( dev-ruby/minitest:5 ) + dev-ruby/cliver +" +ruby_add_rdepend "=dev-ruby/ast-2.4* >=dev-ruby/ast-2.4.1 dev-ruby/racc" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" Rakefile || die + sed -i -e '/simplecov/ s:^:#:' test/helper.rb || die +} + +each_ruby_compile() { + ${RUBY} -S rake generate || die +} |