commit:     e737543494d0afd5335f578b3fd1d4fbdfb97f17
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 29 08:48:31 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Aug 29 08:49:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7375434

dev-ruby/rqrcode: update HOMEPAGE, fix tests

Use $TEMPDIR, not /tmp, in tests.

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

 dev-ruby/rqrcode/rqrcode-2.2.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/rqrcode/rqrcode-2.2.0.ebuild 
b/dev-ruby/rqrcode/rqrcode-2.2.0.ebuild
index 84f7f4b7259d..5a9dd6d7af3d 100644
--- a/dev-ruby/rqrcode/rqrcode-2.2.0.ebuild
+++ b/dev-ruby/rqrcode/rqrcode-2.2.0.ebuild
@@ -16,7 +16,7 @@ RUBY_FAKEGEM_GEMSPEC="rqrcode.gemspec"
 inherit ruby-fakegem
 
 DESCRIPTION="Library for encoding QR Codes"
-HOMEPAGE="https://whomwah.github.io/rqrcode/";
+HOMEPAGE="https://whomwah.com/rqrcode/";
 SRC_URI="https://github.com/whomwah/rqrcode/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
@@ -32,4 +32,6 @@ ruby_add_rdepend "
 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
+
+       sed -i -e "s:/tmp:${TMPDIR}:" spec/rqrcode/export_png_spec.rb || die
 }

Reply via email to