aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-09-11 21:16:38 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-09-11 21:16:38 +0800
commitab7a94fed088251d60044496c8815d114fb2ef53 (patch)
tree033585a184dc3a3f479f0c52e5ecff55a5b0e3cc /databases
parent94b6cac06834a374c1a56843cb6829a102765105 (diff)
downloadfreebsd-ports-gnome-ab7a94fed088251d60044496c8815d114fb2ef53.tar.gz
freebsd-ports-gnome-ab7a94fed088251d60044496c8815d114fb2ef53.tar.zst
freebsd-ports-gnome-ab7a94fed088251d60044496c8815d114fb2ef53.zip
Fix gemspec for rubygem-jsonapi-renderer 0.2.0 update
- Add LICENSE_FILE - Remove rubygem-railties5 from RUN_DEPENDS - Update and sort RUN_DEPENDS - Bump PORTREVISION for dependency and package change
Diffstat (limited to 'databases')
-rw-r--r--databases/rubygem-active_model_serializers/Makefile14
-rw-r--r--databases/rubygem-active_model_serializers/files/patch-gemspec11
2 files changed, 18 insertions, 7 deletions
diff --git a/databases/rubygem-active_model_serializers/Makefile b/databases/rubygem-active_model_serializers/Makefile
index 8f7adcf402ca..77d1830737c5 100644
--- a/databases/rubygem-active_model_serializers/Makefile
+++ b/databases/rubygem-active_model_serializers/Makefile
@@ -2,6 +2,7 @@
PORTNAME= active_model_serializers
PORTVERSION= 0.10.6
+PORTREVISION= 1
CATEGORIES= databases rubygems
MASTER_SITES= RG
@@ -9,16 +10,15 @@ MAINTAINER= ruby@FreeBSD.org
COMMENT= Conventions-based JSON generation for Rails
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
-RUN_DEPENDS= rubygem-activemodel5>0:databases/rubygem-activemodel5 \
- rubygem-actionpack5>0:www/rubygem-actionpack5 \
- rubygem-railties5>0:www/rubygem-railties5 \
- rubygem-jsonapi-renderer>0.1:devel/rubygem-jsonapi-renderer \
- rubygem-case_transform>=0.2:textproc/rubygem-case_transform
+RUN_DEPENDS= rubygem-activemodel5>=4.1:databases/rubygem-activemodel5 \
+ rubygem-actionpack5>=4.1:www/rubygem-actionpack5 \
+ rubygem-case_transform>=0.2:textproc/rubygem-case_transform \
+ rubygem-jsonapi-renderer>=0.1.1:devel/rubygem-jsonapi-renderer
+NO_ARCH= yes
USES= gem
USE_RUBY= yes
-NO_ARCH= yes
-
.include <bsd.port.mk>
diff --git a/databases/rubygem-active_model_serializers/files/patch-gemspec b/databases/rubygem-active_model_serializers/files/patch-gemspec
new file mode 100644
index 000000000000..f37dafb507dd
--- /dev/null
+++ b/databases/rubygem-active_model_serializers/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- active_model_serializers.gemspec.orig 2017-09-11 11:20:46 UTC
++++ active_model_serializers.gemspec
+@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
+ s.add_runtime_dependency(%q<activemodel>.freeze, ["< 6", ">= 4.1"])
+ s.add_runtime_dependency(%q<actionpack>.freeze, ["< 6", ">= 4.1"])
+ s.add_development_dependency(%q<railties>.freeze, ["< 6", ">= 4.1"])
+- s.add_runtime_dependency(%q<jsonapi-renderer>.freeze, ["< 0.2", ">= 0.1.1.beta1"])
++ s.add_runtime_dependency(%q<jsonapi-renderer>.freeze, [">= 0.1.1.beta1"])
+ s.add_runtime_dependency(%q<case_transform>.freeze, [">= 0.2"])
+ s.add_development_dependency(%q<activerecord>.freeze, ["< 6", ">= 4.1"])
+ s.add_development_dependency(%q<kaminari>.freeze, ["~> 0.16.3"])