summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-05-26 07:59:15 +0200
committerHans de Graaff <graaff@gentoo.org>2022-05-26 07:59:15 +0200
commitadfab180f7d491e5fc9c0faa1c12bd3acc3e5221 (patch)
treef6fd7a573dd1b7b7cf61b010e742a8cc704a1696 /dev-ruby/tomlrb
parentdev-ruby/timeout: add 0.3.0 (diff)
downloadgentoo-adfab180f7d491e5fc9c0faa1c12bd3acc3e5221.tar.gz
gentoo-adfab180f7d491e5fc9c0faa1c12bd3acc3e5221.tar.bz2
gentoo-adfab180f7d491e5fc9c0faa1c12bd3acc3e5221.zip
dev-ruby/tomlrb: add 2.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/tomlrb')
-rw-r--r--dev-ruby/tomlrb/Manifest1
-rw-r--r--dev-ruby/tomlrb/tomlrb-2.0.2.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/tomlrb/Manifest b/dev-ruby/tomlrb/Manifest
index 7bc869c55ff5..3e819670800e 100644
--- a/dev-ruby/tomlrb/Manifest
+++ b/dev-ruby/tomlrb/Manifest
@@ -1,2 +1,3 @@
DIST tomlrb-1.2.8.tar.gz 15897 BLAKE2B 536eaf3a2cb2b7e54e91aac28032b95900f53c0c9b10fb48129bd963e0efab1711848cefeb20c5df3bb5ea367dc375188db57b79990daf3e62f8b781477ea30e SHA512 a6f8a7ae5db02a8efca8ae75fc1a680d26016d221ec238e4f5ecd59bead4efff7cfe14f541a0be17ea6790699aeb7621d9a4d1b7e38a40828f8f66424fc9fb94
DIST tomlrb-2.0.1.tar.gz 21386 BLAKE2B a9f50d800f7e55c6e6e69fe0a68d1ac843d4aa3b1b68e50c86eb03209c2dd9239f2780fb03152a8638198bf8474593f815025106935a4d81befb5e342f9451f9 SHA512 9690b5689d37cc4634e65a906b1c0bb3692afa96fd92e2dd0d487f2f16dacc64e992e114822edcff270b3ddb8bacd2c6e20e2d12112cd8641c5190ea6ee4e4db
+DIST tomlrb-2.0.2.tar.gz 22856 BLAKE2B dd7ffa3ae0d06a6376947df0472865ec34db815613f2a0a439f91f32421193e89069f31c28ea0bf948cdb4ef259c4d06de02dcd12411bf774b96abfb5a05bb31 SHA512 db00c54d9358d10484ffbd812fcb1ac2d13e631ed2b3e709fee336e8240cf2a7740b6dd0190e38eb6c93b1ba7c7f5a91b5909a546928c600114644fa0d821cf2
diff --git a/dev-ruby/tomlrb/tomlrb-2.0.2.ebuild b/dev-ruby/tomlrb/tomlrb-2.0.2.ebuild
new file mode 100644
index 000000000000..61130ab444a3
--- /dev/null
+++ b/dev-ruby/tomlrb/tomlrb-2.0.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_GEMSPEC="tomlrb.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A racc based toml parser"
+HOMEPAGE="https://github.com/fbernier/tomlrb/"
+SRC_URI="https://github.com/fbernier/tomlrb/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+ sed -i -e '/reporters/I s:^:#:' test/minitest_helper.rb || die
+}