summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-07-04 08:08:09 +0200
committerHans de Graaff <graaff@gentoo.org>2021-07-04 08:12:46 +0200
commite48b6507a9c8a49a1e535f70ba465c43f6d43b32 (patch)
tree959b50014c2637ddbff459188a366282f8213fee /dev-ruby/rqrcode_core
parentdev-ruby/rqrcode: cleanup (diff)
downloadgentoo-e48b6507a9c8a49a1e535f70ba465c43f6d43b32.tar.gz
gentoo-e48b6507a9c8a49a1e535f70ba465c43f6d43b32.tar.bz2
gentoo-e48b6507a9c8a49a1e535f70ba465c43f6d43b32.zip
dev-ruby/rqrcode_core: add 1.1.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_core')
-rw-r--r--dev-ruby/rqrcode_core/Manifest1
-rw-r--r--dev-ruby/rqrcode_core/rqrcode_core-1.1.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/rqrcode_core/Manifest b/dev-ruby/rqrcode_core/Manifest
index 3d6955e52ce9..f15a9366f20d 100644
--- a/dev-ruby/rqrcode_core/Manifest
+++ b/dev-ruby/rqrcode_core/Manifest
@@ -1 +1,2 @@
DIST rqrcode_core-0.2.0.tar.gz 20167 BLAKE2B 68ddad8e908404a9e156cffd0d1f2704671ffeaca0ce48a2a74b3512076d89812f19b537cbef98f3b0ae046486ab11f7681b187a07fb53539afb188bdcc87c21 SHA512 96a1fc3484aabfc30b9a26da705405e56cb82168d34ce252f35481b03142ddab359dfbfc4601d12f67f5a65d466120fc0a295c66c0a7ae07401b58cbd8d5c47a
+DIST rqrcode_core-1.1.0.tar.gz 20891 BLAKE2B 1900cff03c5533453147c736e254709766e8fd2c8be7ed84695682974611a573d1e4eeb34991707eae5e5b7dad31f4d2e74ac0c412f01dce67e558259608d68b SHA512 c9b571f43eb3bb50843eee480add8b5d6bbec171b7bd4f70e746aca0b0dccc321ea190a234151beb1c6d30bb56c3aa7d8d6522dfc346a46165bd90e9be9c20fd
diff --git a/dev-ruby/rqrcode_core/rqrcode_core-1.1.0.ebuild b/dev-ruby/rqrcode_core/rqrcode_core-1.1.0.ebuild
new file mode 100644
index 000000000000..243d00d0334a
--- /dev/null
+++ b/dev-ruby/rqrcode_core/rqrcode_core-1.1.0.ebuild
@@ -0,0 +1,32 @@
+# 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_BINWRAP=""
+
+RUBY_FAKEGEM_GEMSPEC="rqrcode_core.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Library for encoding QR Codes"
+HOMEPAGE="https://github.com/whomwah/rqrcode_core/"
+SRC_URI="https://github.com/whomwah/rqrcode_core/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 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each {|f| require f}' || die
+}