Date: Tue, 3 Dec 2019 18:39:27 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r518958 - in head/devel/rubygem-travis: . files Message-ID: <201912031839.xB3IdR2U055800@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Tue Dec 3 18:39:27 2019 New Revision: 518958 URL: https://svnweb.freebsd.org/changeset/ports/518958 Log: devel/rubygem-travis: convert to patches Added: head/devel/rubygem-travis/files/patch-lib_travis_client.rb (contents, props changed) Modified: head/devel/rubygem-travis/Makefile (contents, props changed) head/devel/rubygem-travis/files/patch-gemspec (contents, props changed) Modified: head/devel/rubygem-travis/Makefile ============================================================================== --- head/devel/rubygem-travis/Makefile Tue Dec 3 18:31:17 2019 (r518957) +++ head/devel/rubygem-travis/Makefile Tue Dec 3 18:39:27 2019 (r518958) @@ -20,16 +20,13 @@ RUN_DEPENDS= rubygem-faraday>=0.9:www/rubygem-faraday rubygem-pusher-client>=0.4:www/rubygem-pusher-client \ rubygem-typhoeus>=0.6.8:www/rubygem-typhoeus -NO_ARCH= yes -REINPLACE_ARGS= -i '' -USE_RUBY= yes USES= gem +NO_ARCH= yes +USE_RUBY= yes PLIST_FILES= bin/travis post-patch: -# Remove backports - @${REINPLACE_CMD} -e '/backports/d' ${WRKSRC}/${GEMSPEC} - @${REINPLACE_CMD} -e "/require 'backports/d" ${WRKSRC}/lib/travis/client.rb + @${RM} ${WRKSRC}/${GEMSPEC}.orig ${WRKSRC}/lib/travis/client.rb.orig .include <bsd.port.mk> Modified: head/devel/rubygem-travis/files/patch-gemspec ============================================================================== --- head/devel/rubygem-travis/files/patch-gemspec Tue Dec 3 18:31:17 2019 (r518957) +++ head/devel/rubygem-travis/files/patch-gemspec Tue Dec 3 18:39:27 2019 (r518958) @@ -1,7 +1,10 @@ ---- travis.gemspec.orig 2016-12-31 22:54:09 UTC +--- travis.gemspec.orig 2019-12-03 18:21:43 UTC +++ travis.gemspec -@@ -28,7 +28,7 @@ Gem::Specification.new do |s| - s.add_runtime_dependency(%q<backports>.freeze, [">= 0"]) +@@ -25,10 +25,9 @@ Gem::Specification.new do |s| + s.add_runtime_dependency(%q<faraday>.freeze, ["~> 0.9"]) + s.add_runtime_dependency(%q<faraday_middleware>.freeze, ["~> 0.9", ">= 0.9.1"]) + s.add_runtime_dependency(%q<highline>.freeze, ["~> 1.6"]) +- s.add_runtime_dependency(%q<backports>.freeze, [">= 0"]) s.add_runtime_dependency(%q<gh>.freeze, ["~> 0.13"]) s.add_runtime_dependency(%q<launchy>.freeze, ["~> 2.1"]) - s.add_runtime_dependency(%q<typhoeus>.freeze, ["~> 0.6", ">= 0.6.8"]) @@ -9,3 +12,19 @@ s.add_runtime_dependency(%q<pusher-client>.freeze, ["~> 0.4"]) s.add_development_dependency(%q<rspec>.freeze, ["~> 2.12"]) s.add_development_dependency(%q<sinatra>.freeze, ["~> 1.3"]) +@@ -37,7 +36,6 @@ Gem::Specification.new do |s| + s.add_dependency(%q<faraday>.freeze, ["~> 0.9"]) + s.add_dependency(%q<faraday_middleware>.freeze, ["~> 0.9", ">= 0.9.1"]) + s.add_dependency(%q<highline>.freeze, ["~> 1.6"]) +- s.add_dependency(%q<backports>.freeze, [">= 0"]) + s.add_dependency(%q<gh>.freeze, ["~> 0.13"]) + s.add_dependency(%q<launchy>.freeze, ["~> 2.1"]) + s.add_dependency(%q<typhoeus>.freeze, ["~> 0.6", ">= 0.6.8"]) +@@ -50,7 +48,6 @@ Gem::Specification.new do |s| + s.add_dependency(%q<faraday>.freeze, ["~> 0.9"]) + s.add_dependency(%q<faraday_middleware>.freeze, ["~> 0.9", ">= 0.9.1"]) + s.add_dependency(%q<highline>.freeze, ["~> 1.6"]) +- s.add_dependency(%q<backports>.freeze, [">= 0"]) + s.add_dependency(%q<gh>.freeze, ["~> 0.13"]) + s.add_dependency(%q<launchy>.freeze, ["~> 2.1"]) + s.add_dependency(%q<typhoeus>.freeze, ["~> 0.6", ">= 0.6.8"]) Added: head/devel/rubygem-travis/files/patch-lib_travis_client.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-travis/files/patch-lib_travis_client.rb Tue Dec 3 18:39:27 2019 (r518958) @@ -0,0 +1,7 @@ +--- lib/travis/client.rb.orig 2019-12-03 18:21:17 UTC ++++ lib/travis/client.rb +@@ -1,4 +1,3 @@ +-require 'backports/2.0.0' if RUBY_VERSION < '2.0.0' + require 'travis/client/error' + require 'travis/client/states' + require 'travis/client/restartable'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912031839.xB3IdR2U055800>