svn commit: r344991 - in head/devel/rubygem-pry: . files

Steve Wills swills at FreeBSD.org
Wed Feb 19 03:39:16 UTC 2014


Author: swills
Date: Wed Feb 19 03:39:15 2014
New Revision: 344991
URL: http://svnweb.freebsd.org/changeset/ports/344991
QAT: https://qat.redports.org/buildarchive/r344991/

Log:
  - Convert to using patch instead of REINPLACE

Added:
  head/devel/rubygem-pry/files/
  head/devel/rubygem-pry/files/patch-gemspec   (contents, props changed)
Modified:
  head/devel/rubygem-pry/Makefile

Modified: head/devel/rubygem-pry/Makefile
==============================================================================
--- head/devel/rubygem-pry/Makefile	Wed Feb 19 03:24:42 2014	(r344990)
+++ head/devel/rubygem-pry/Makefile	Wed Feb 19 03:39:15 2014	(r344991)
@@ -20,8 +20,4 @@ USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes
 PLIST_FILES=	bin/pry
 
-post-patch:
-	@${REINPLACE_CMD} -e "19,26 s|~>|'>='|" ${WRKSRC}/${GEM_NAME}.gemspec
-	@${REINPLACE_CMD} -e '/coderay/ s|~>|>=|' ${WRKSRC}/${PORTNAME}.gemspec
-
 .include <bsd.port.mk>

Added: head/devel/rubygem-pry/files/patch-gemspec
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-pry/files/patch-gemspec	Wed Feb 19 03:39:15 2014	(r344991)
@@ -0,0 +1,30 @@
+--- pry.gemspec.orig	2014-02-19 03:26:25.017740044 +0000
++++ pry.gemspec	2014-02-19 03:26:25.050740350 +0000
+@@ -16,7 +16,7 @@
+   s.files         = `git ls-files`.split("\n")
+   s.test_files    = `git ls-files -- spec/*`.split("\n")
+ 
+-  s.add_dependency 'coderay',       '~> 1.0.5'
++  s.add_dependency 'coderay',       '>= 1.0.5'
+   s.add_dependency 'slop',          '~> 3.4'
+   s.add_dependency 'method_source', '~> 0.8'
+ 
+--- pry-0.9.12.2.gemspec.orig	2014-02-19 03:26:25.039741274 +0000
++++ pry-0.9.12.2.gemspec	2014-02-19 03:26:25.048740545 +0000
+@@ -16,14 +16,14 @@
+   name: coderay
+   requirement: !ruby/object:Gem::Requirement
+     requirements:
+-    - - ~>
++    - - '>='
+       - !ruby/object:Gem::Version
+         version: 1.0.5
+   type: :runtime
+   prerelease: false
+   version_requirements: !ruby/object:Gem::Requirement
+     requirements:
+-    - - ~>
++    - - '>='
+       - !ruby/object:Gem::Version
+         version: 1.0.5
+ - !ruby/object:Gem::Dependency


More information about the svn-ports-head mailing list