diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-08-09 07:40:30 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-08-09 07:40:30 +0200 |
commit | 23623bde3883f855e3d6a9f65a3ad4bb0519da93 (patch) | |
tree | 7cd0cda9d5ee11e4a51d0662addd848cf46a3f87 /dev-ruby | |
parent | media-sound/mpg123: bump to 1.30.2 (diff) | |
download | gentoo-23623bde3883f855e3d6a9f65a3ad4bb0519da93.tar.gz gentoo-23623bde3883f855e3d6a9f65a3ad4bb0519da93.tar.bz2 gentoo-23623bde3883f855e3d6a9f65a3ad4bb0519da93.zip |
dev-ruby/parser: add 3.1.2.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/parser/parser-3.1.2.1.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/parser/Manifest b/dev-ruby/parser/Manifest index c40362968e76..0563b6ecb2de 100644 --- a/dev-ruby/parser/Manifest +++ b/dev-ruby/parser/Manifest @@ -3,3 +3,4 @@ DIST parser-3.0.3.2.tar.gz 285975 BLAKE2B 3772e78d3e92469940c21b9167d9bc5bb7a31d DIST parser-3.1.0.0.tar.gz 287924 BLAKE2B 042f325c12718a8d05dbbe1052cf3792bfab5421a0eb279b81b7c4e3ab9584e4f806de6823f9a74c47e81a949d676d2f903b77ceb5369a656b6047dd9856333d SHA512 68191906b6fd7183233875da3ba4937d3e90c491ffeec451048d3dbee6c0c979eb50b474135f57cd6fd9a42abb6629668b97eec00a4879760a362d1cc5bb38a3 DIST parser-3.1.1.0.tar.gz 299759 BLAKE2B c4fdf278c1ae90529de414d9cda2770524f051f05d457ebe3224c49a84c55abfe8ac11799b0caf4d74200c4be494c3f655ed7f9c03e11d198436a7f54bec77ce SHA512 9c51aaa7d19e4a679d9d4c40716a90ef4c15d22728a21a8a4c278245114cd8cdeace19018d54dbb73b77897d531f3eb446b99c6dfaf9e205aa54346933ada215 DIST parser-3.1.2.0.tar.gz 299753 BLAKE2B b5c991ab0834ed5e5b7107935500659828a6f804d9231462dc8a658346bab3959ac56b514045c25af4adb84af3f0cdd9615c9aafb2325ab24a04c0c5617ca732 SHA512 d8becf7e5b633c0a1ddfe8aac98c2f89d6b713cbabd2877a4eac36b0fd4935bd1a05990c100bcf58f04ad78218af0a5f79dbb83bf369708750c8834598286cfa +DIST parser-3.1.2.1.tar.gz 299885 BLAKE2B 2fe56279be003825a25e6fdfc99dbb13b93dc167f7da3fe636da368bc10a6506afd7510bf3d7c55122321de1cd0bf46afce2ee0ff0a9d914e507c0333225e5ea SHA512 9bbaae6436f41668621fdb1f45dd2a30ea5485dca19b0024a19e8be0684c4a961e914040e3b53f725f06c98822392cfef87113332124272f895bb571e56cc961 diff --git a/dev-ruby/parser/parser-3.1.2.1.ebuild b/dev-ruby/parser/parser-3.1.2.1.ebuild new file mode 100644 index 000000000000..878b2025cd62 --- /dev/null +++ b/dev-ruby/parser/parser-3.1.2.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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" +IUSE="" + +DEPEND+=" =dev-util/ragel-6*" + +ruby_add_bdepend " + test? ( + dev-ruby/minitest:5 + dev-ruby/racc ) + dev-ruby/cliver +" +ruby_add_rdepend "=dev-ruby/ast-2.4* >=dev-ruby/ast-2.4.1" + +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 +} |