summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/rqrcode')
-rw-r--r--dev-ruby/rqrcode/Manifest1
-rw-r--r--dev-ruby/rqrcode/rqrcode-2.0.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/rqrcode/Manifest b/dev-ruby/rqrcode/Manifest
index 2c099844e3e8..c6b5db3c3923 100644
--- a/dev-ruby/rqrcode/Manifest
+++ b/dev-ruby/rqrcode/Manifest
@@ -1 +1,2 @@
DIST rqrcode-1.2.0.tar.gz 101432 BLAKE2B 98e7c6d98436d759e5d08575ca98fa292320545e69b63a06422bdeff9a64f5514d0d74c85c7c10941d334ea6168c3b392ac68c8aee19f0c58b6f7d3c125e13b2 SHA512 8a434c72fc43f04dfc92cd7cb6e0423cae94aa24d83a1a6015a170136f1aa3b010b652546b349f15f18e48c85b06a7260ae4babf19907955e0d1b4c2207e6ebc
+DIST rqrcode-2.0.0.tar.gz 107826 BLAKE2B 8b4e8b781fc0427f3bf8e9efa9463cd057019f76a691418aad60e9c5c787566ae44ba0da5d221a38c42809ebe3f78036bd44de87800201d03b394cd0ab3dd625 SHA512 4ef41ecea22187f1316c299ea1fe7ac52dcea0cc549458628247647905778fa1dc4b6301288225e892532976fd3e7a50fde46180f7d91ad146965f5a160ed84b
diff --git a/dev-ruby/rqrcode/rqrcode-2.0.0.ebuild b/dev-ruby/rqrcode/rqrcode-2.0.0.ebuild
new file mode 100644
index 000000000000..f89192f2f202
--- /dev/null
+++ b/dev-ruby/rqrcode/rqrcode-2.0.0.ebuild
@@ -0,0 +1,34 @@
+# 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="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
+}