Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2016 16:05:17 +0000 (UTC)
From:      Torsten Zuehlsdorff <tz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417165 - in head/textproc/rubygem-gitlab-grit: . files
Message-ID:  <201606201605.u5KG5H73089942@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tz
Date: Mon Jun 20 16:05:17 2016
New Revision: 417165
URL: https://svnweb.freebsd.org/changeset/ports/417165

Log:
  textproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again
  
  The update of misc/rubygem-mime-types break this port, because it is not allowed to work with mime-types version >= 3. I removed this limitation since the port works fine with newer version of mime-types.
  
  Approved by: swills (mentor)

Added:
  head/textproc/rubygem-gitlab-grit/files/
  head/textproc/rubygem-gitlab-grit/files/patch-gemspec   (contents, props changed)
Modified:
  head/textproc/rubygem-gitlab-grit/Makefile

Modified: head/textproc/rubygem-gitlab-grit/Makefile
==============================================================================
--- head/textproc/rubygem-gitlab-grit/Makefile	Mon Jun 20 16:01:37 2016	(r417164)
+++ head/textproc/rubygem-gitlab-grit/Makefile	Mon Jun 20 16:05:17 2016	(r417165)
@@ -2,6 +2,7 @@
 
 PORTNAME=	gitlab-grit
 PORTVERSION=	2.8.1
+PORTREVISION=	1
 CATEGORIES=	textproc rubygems
 MASTER_SITES=	RG
 

Added: head/textproc/rubygem-gitlab-grit/files/patch-gemspec
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/rubygem-gitlab-grit/files/patch-gemspec	Mon Jun 20 16:05:17 2016	(r417165)
@@ -0,0 +1,11 @@
+--- gitlab-grit.gemspec.orig	2016-06-20 14:45:29 UTC
++++ gitlab-grit.gemspec
+@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
+     if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+       s.add_runtime_dependency(%q<charlock_holmes>.freeze, ["~> 0.6"])
+       s.add_runtime_dependency(%q<posix-spawn>.freeze, ["~> 0.3"])
+-      s.add_runtime_dependency(%q<mime-types>.freeze, ["< 3", ">= 1.16"])
++      s.add_runtime_dependency(%q<mime-types>.freeze, [">= 1.16"])
+       s.add_runtime_dependency(%q<diff-lcs>.freeze, ["~> 1.1"])
+       s.add_development_dependency(%q<mocha>.freeze, [">= 0"])
+     else



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606201605.u5KG5H73089942>