summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-07-04 08:11:44 +0200
committerHans de Graaff <graaff@gentoo.org>2021-07-04 08:12:46 +0200
commit3f30a849b3df8a0630424988c04358004f0274b1 (patch)
treeae4f57ef9806f8792adad7cdd9b26afadc52252e /dev-ruby/rqrcode
parentdev-ruby/rqrcode_core: add 1.1.0 (diff)
downloadgentoo-3f30a849b3df8a0630424988c04358004f0274b1.tar.gz
gentoo-3f30a849b3df8a0630424988c04358004f0274b1.tar.bz2
gentoo-3f30a849b3df8a0630424988c04358004f0274b1.zip
dev-ruby/rqrcode: add 2.0.0
Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
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
+}