summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-01-03 08:40:52 +0100
committerHans de Graaff <graaff@gentoo.org>2021-01-03 09:05:24 +0100
commit4d529cddf35802c20511df9a04864fb264fbde57 (patch)
treed869cfb629b4b74875e1e62095a3251d5237e14c /dev-ruby/tomlrb
parentdev-ruby/ruby-progressbar: add 1.11.0 (diff)
downloadgentoo-4d529cddf35802c20511df9a04864fb264fbde57.tar.gz
gentoo-4d529cddf35802c20511df9a04864fb264fbde57.tar.bz2
gentoo-4d529cddf35802c20511df9a04864fb264fbde57.zip
dev-ruby/tomlrb: add 2.0.1
Package-Manager: Portage-3.0.12, Repoman-3.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.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-ruby/tomlrb/Manifest b/dev-ruby/tomlrb/Manifest
index 4205af47fa1..2e9d17e2060 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.0.tar.gz 21466 BLAKE2B 9af9654b3c4338bdac210bce776107777b1b117307cbc8a5466e963c0e93f8e560644925623466b2a2b420fb27976dbdb665a76b753ce06920bed862affd1b71 SHA512 8f8fce4fd70b5dde51e42b0a678ef68883e0c0819f26d647745577e38b761f08d128317d392ad1c905cabf485fb8c7092866aca01fd23ed1056bf94d2d7f77fe
+DIST tomlrb-2.0.1.tar.gz 21386 BLAKE2B a9f50d800f7e55c6e6e69fe0a68d1ac843d4aa3b1b68e50c86eb03209c2dd9239f2780fb03152a8638198bf8474593f815025106935a4d81befb5e342f9451f9 SHA512 9690b5689d37cc4634e65a906b1c0bb3692afa96fd92e2dd0d487f2f16dacc64e992e114822edcff270b3ddb8bacd2c6e20e2d12112cd8641c5190ea6ee4e4db
diff --git a/dev-ruby/tomlrb/tomlrb-2.0.1.ebuild b/dev-ruby/tomlrb/tomlrb-2.0.1.ebuild
new file mode 100644
index 00000000000..74ba70c9f65
--- /dev/null
+++ b/dev-ruby/tomlrb/tomlrb-2.0.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+
+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
+}