commit:     9103b37b4e3556c31482852197a632114f768b5a
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 06:41:37 2022 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 06:41:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9103b37b

dev-ruby/rqrcode: add 2.1.2

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/rqrcode/Manifest             |  1 +
 dev-ruby/rqrcode/rqrcode-2.1.2.ebuild | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-ruby/rqrcode/Manifest b/dev-ruby/rqrcode/Manifest
index 135dd45c4f95..0b19f9a8ceac 100644
--- a/dev-ruby/rqrcode/Manifest
+++ b/dev-ruby/rqrcode/Manifest
@@ -1,2 +1,3 @@
 DIST rqrcode-2.1.0.tar.gz 108317 BLAKE2B 
4105929b5f63461ff7043b8a8ec0635f2c11b301f32de0fc25f1800449b105be707b82c4d5b21d5fb6a1b51bc015958ea9060af93a23adf3913994159d4ac918
 SHA512 
682999cab8a5eaa006992ea6b46d1fb52d5647c5c9faf8c9df9eb21d0985c8cb3f23c2692505293cdaacb63ce2bd042eeead7d779c598f708d10614934310da8
 DIST rqrcode-2.1.1.tar.gz 108586 BLAKE2B 
69321f43473a831b97bcb54f4fe34318a42105fd78e34e8e8e9b3902d17480a493cbe98a9fc7a352eed5dd360fb83a916f5633c03d0e7e228542f0216266cd26
 SHA512 
8abc1c71c2c4f48f0c133bd7634b5a2220edfbe9eeb1cf4eb155dd3cf3450ecd57db30e23327cd279b927f5f836543364167b7d1ceb76148bea5db6dbffc4a68
+DIST rqrcode-2.1.2.tar.gz 108650 BLAKE2B 
61fdb8d2c5dde83062b53551932d74db40d6fec4245afeafd9f656a1dffeee7842fb27f750d115843642fa68305cc6af08a48764a59d8912ec759a11a3858d2f
 SHA512 
b037416073c06a13fa1aebed63a9f07e9302ace7bb3a53015a296c1317cc284d680e6e8f93ae295ddf19cc90a74857467389d15cae1606207f039dde301e59da

diff --git a/dev-ruby/rqrcode/rqrcode-2.1.2.ebuild 
b/dev-ruby/rqrcode/rqrcode-2.1.2.ebuild
new file mode 100644
index 000000000000..1697439bcf43
--- /dev/null
+++ b/dev-ruby/rqrcode/rqrcode-2.1.2.ebuild
@@ -0,0 +1,35 @@
+# 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="README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_BINWRAP=""
+
+RUBY_FAKEGEM_GEMSPEC="rqrcode.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Library for encoding QR Codes"
+HOMEPAGE="https://whomwah.github.io/rqrcode/";
+SRC_URI="https://github.com/whomwah/rqrcode/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend "
+       dev-ruby/chunky_png:0
+       dev-ruby/rqrcode_core:1
+"
+
+all_ruby_prepare() {
+       sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
+       sed -i -e '/bundler/ s:^:#:' spec/spec_helper.rb || die
+}

Reply via email to