From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-ruby/rqrcode/rqrcode-0.10.1.ebuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 dev-ruby/rqrcode/rqrcode-0.10.1.ebuild (limited to 'dev-ruby/rqrcode/rqrcode-0.10.1.ebuild') diff --git a/dev-ruby/rqrcode/rqrcode-0.10.1.ebuild b/dev-ruby/rqrcode/rqrcode-0.10.1.ebuild new file mode 100644 index 000000000000..b2141cf85da7 --- /dev/null +++ b/dev-ruby/rqrcode/rqrcode-0.10.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +inherit ruby-fakegem + +DESCRIPTION="Library for encoding QR Codes" +HOMEPAGE="https://whomwah.github.com/rqrcode/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/chunky_png:0" + +all_ruby_prepare() { + sed -i -e '1igem "minitest"' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "Dir['test/test_r*.rb'].each{|f| require f}" +} -- cgit v1.2.3