summaryrefslogtreecommitdiff
path: root/textproc/rubygem-gitlab-grit
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/rubygem-gitlab-grit')
-rw-r--r--textproc/rubygem-gitlab-grit/Makefile15
-rw-r--r--textproc/rubygem-gitlab-grit/distinfo6
-rw-r--r--textproc/rubygem-gitlab-grit/files/patch-gemspec11
3 files changed, 22 insertions, 10 deletions
diff --git a/textproc/rubygem-gitlab-grit/Makefile b/textproc/rubygem-gitlab-grit/Makefile
index 06c569f58f68..c2226d6ee46b 100644
--- a/textproc/rubygem-gitlab-grit/Makefile
+++ b/textproc/rubygem-gitlab-grit/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= gitlab-grit
-PORTVERSION= 2.8.2
+PORTVERSION= 2.8.3
CATEGORIES= textproc rubygems
MASTER_SITES= RG
@@ -9,15 +9,16 @@ MAINTAINER= ruby@FreeBSD.org
COMMENT= Library for extracting information from a git repository
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= rubygem-charlock_holmes>=0.6:textproc/rubygem-charlock_holmes \
- rubygem-diff-lcs>=1.1:textproc/rubygem-diff-lcs \
+RUN_DEPENDS= rubygem-charlock_holmes>=0.7<1:textproc/rubygem-charlock_holmes \
+ rubygem-diff-lcs>=1.1<2:textproc/rubygem-diff-lcs \
rubygem-mime-types>=1.16:misc/rubygem-mime-types \
- rubygem-posix-spawn>=0.3:devel/rubygem-posix-spawn
+ rubygem-posix-spawn>=0.3<1:devel/rubygem-posix-spawn
-NO_ARCH= yes
-
-USE_RUBY= yes
USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/textproc/rubygem-gitlab-grit/distinfo b/textproc/rubygem-gitlab-grit/distinfo
index 397e2f2046be..220f51608cb6 100644
--- a/textproc/rubygem-gitlab-grit/distinfo
+++ b/textproc/rubygem-gitlab-grit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1506437733
-SHA256 (rubygem/gitlab-grit-2.8.2.gem) = 84d5b28595d60e44d8113e16ec98be704826d6f917d872aa2d8cc217101dfa75
-SIZE (rubygem/gitlab-grit-2.8.2.gem) = 46592
+TIMESTAMP = 1598175424
+SHA256 (rubygem/gitlab-grit-2.8.3.gem) = 7798b83632d4fd8eca7daa65f6a1ee7d07230de5ff0795d5a6dd1444d88f6c77
+SIZE (rubygem/gitlab-grit-2.8.3.gem) = 46592
diff --git a/textproc/rubygem-gitlab-grit/files/patch-gemspec b/textproc/rubygem-gitlab-grit/files/patch-gemspec
new file mode 100644
index 000000000000..c3bc75c288eb
--- /dev/null
+++ b/textproc/rubygem-gitlab-grit/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- gitlab-grit.gemspec.orig 2020-08-23 06:02:57 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.7"])
+ s.add_runtime_dependency(%q<posix-spawn>.freeze, ["~> 0.3"])
+- s.add_runtime_dependency(%q<mime-types>.freeze, [">= 1.16", "< 3"])
++ 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"])
+ s.add_development_dependency(%q<test-unit>.freeze, [">= 0"])