aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-14 17:32:49 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-14 17:32:49 +0000
commit1e16810d64672660d0c4a880a0b9779bed868fe1 (patch)
tree824b43ed6cdee1c64aabea396cfe414041a95b4d
parent662f5a3df690e3e0df26a1bc9900509d4a6b1e6b (diff)
downloadports-1e16810d64672660d0c4a880a0b9779bed868fe1.tar.gz
ports-1e16810d64672660d0c4a880a0b9779bed868fe1.zip
devel/rubygem-rubocop-performance: Add rubygem-rubocop-performance 1.11.3
RuboCop Performance provides performance optimization analysis for your projects, as an extension to RuboCop. WWW: https://github.com/rubocop/rubocop-performance
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-rubocop-performance/Makefile22
-rw-r--r--devel/rubygem-rubocop-performance/distinfo3
-rw-r--r--devel/rubygem-rubocop-performance/pkg-descr4
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e29ebc53462d..0d919102e792 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6548,6 +6548,7 @@
SUBDIR += rubygem-rspec_junit_formatter
SUBDIR += rubygem-rubocop
SUBDIR += rubygem-rubocop-ast
+ SUBDIR += rubygem-rubocop-performance
SUBDIR += rubygem-ruby-atmos-pure
SUBDIR += rubygem-ruby-bugzilla
SUBDIR += rubygem-ruby-enum
diff --git a/devel/rubygem-rubocop-performance/Makefile b/devel/rubygem-rubocop-performance/Makefile
new file mode 100644
index 000000000000..997939068c8f
--- /dev/null
+++ b/devel/rubygem-rubocop-performance/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= rubocop-performance
+PORTVERSION= 1.11.3
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Collection of RuboCop cops to check for performance optimizations
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-rubocop>=1.7.0<2.0:devel/rubygem-rubocop \
+ rubygem-rubocop-ast>=0.4.0:devel/rubygem-rubocop-ast
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-rubocop-performance/distinfo b/devel/rubygem-rubocop-performance/distinfo
new file mode 100644
index 000000000000..fea8f9a76377
--- /dev/null
+++ b/devel/rubygem-rubocop-performance/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1622213980
+SHA256 (rubygem/rubocop-performance-1.11.3.gem) = 8cc30c6fe90587b0443dc22ff7ca28714b57032ae9224829e0eb019289b2946a
+SIZE (rubygem/rubocop-performance-1.11.3.gem) = 38912
diff --git a/devel/rubygem-rubocop-performance/pkg-descr b/devel/rubygem-rubocop-performance/pkg-descr
new file mode 100644
index 000000000000..2e4281479811
--- /dev/null
+++ b/devel/rubygem-rubocop-performance/pkg-descr
@@ -0,0 +1,4 @@
+RuboCop Performance provides performance optimization analysis for your
+projects, as an extension to RuboCop.
+
+WWW: https://github.com/rubocop/rubocop-performance