Remove test dependency on devel/ruby-jeweler

This commit is contained in:
jeremy 2020-11-11 01:31:09 +00:00
parent 22f71be9c2
commit 479964a68c
2 changed files with 17 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2019/07/12 20:48:48 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2020/11/11 01:31:09 jeremy Exp $
COMMENT = pure-Ruby implementation of the SCP protocol
@ -17,7 +17,6 @@ CONFIGURE_STYLE = ruby gem
MODRUBY_TEST = rake
TEST_DEPENDS = devel/ruby-jeweler,${MODRUBY_FLAVOR} \
devel/ruby-mocha,${MODRUBY_FLAVOR}
TEST_DEPENDS = devel/ruby-mocha,${MODRUBY_FLAVOR}
.include <bsd.port.mk>

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Rakefile,v 1.1 2020/11/11 01:31:09 jeremy Exp $
Allow tests to run without jeweler.
Index: Rakefile
--- Rakefile.orig
+++ Rakefile
@@ -35,7 +35,6 @@ begin
end
Jeweler::GemcutterTasks.new
rescue LoadError
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
require 'rake/testtask'