git: fb3e51cd2334 - main - devel/rubygem-packwerk: Add rubygem-packwerk 3.2.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 17:21:55 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb3e51cd23341386d9a1215894ae534dee74cbf3 commit fb3e51cd23341386d9a1215894ae534dee74cbf3 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-08-04 16:44:24 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-08-04 17:13:54 +0000 devel/rubygem-packwerk: Add rubygem-packwerk 3.2.1 Packwerk is a Ruby gem used to enforce boundaries and modularize Rails applications. Packwerk can be used to: - Combine groups of files into packages - Define package-level constant visibility (i.e. have publicly accessible constants) - Help existing codebases to become more modular without obstructing development --- devel/Makefile | 1 + devel/rubygem-packwerk/Makefile | 30 ++++++++++++++++++++++++++++++ devel/rubygem-packwerk/distinfo | 3 +++ devel/rubygem-packwerk/pkg-descr | 8 ++++++++ 4 files changed, 42 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 47d7156bbffd..9e82b12e339d 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7439,6 +7439,7 @@ SUBDIR += rubygem-os SUBDIR += rubygem-ostruct SUBDIR += rubygem-p4ruby + SUBDIR += rubygem-packwerk SUBDIR += rubygem-pagy SUBDIR += rubygem-paint SUBDIR += rubygem-pairing_heap diff --git a/devel/rubygem-packwerk/Makefile b/devel/rubygem-packwerk/Makefile new file mode 100644 index 000000000000..c47f5f0dad22 --- /dev/null +++ b/devel/rubygem-packwerk/Makefile @@ -0,0 +1,30 @@ +PORTNAME= packwerk +PORTVERSION= 3.2.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Set package level boundaries between a specified set of ruby constants +WWW= https://github.com/Shopify/packwerk + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +RUN_DEPENDS= rubygem-activesupport71>=6.0:devel/rubygem-activesupport71 \ + rubygem-ast>=0:devel/rubygem-ast \ + rubygem-better_html>=0:devel/rubygem-better_html \ + rubygem-bundler>=0:sysutils/rubygem-bundler \ + rubygem-constant_resolver>=0.2.0:devel/rubygem-constant_resolver \ + rubygem-parallel>=0:sysutils/rubygem-parallel \ + rubygem-parser>=0:devel/rubygem-parser \ + rubygem-prism>=0.25.0:textproc/rubygem-prism \ + rubygem-sorbet-runtime>=0.5.9914:devel/rubygem-sorbet-runtime \ + rubygem-zeitwerk>=2.6.1:devel/rubygem-zeitwerk + +USES= gem + +NO_ARCH= yes + +PLIST_FILES= bin/packwerk + +.include <bsd.port.mk> diff --git a/devel/rubygem-packwerk/distinfo b/devel/rubygem-packwerk/distinfo new file mode 100644 index 000000000000..b1eebff97814 --- /dev/null +++ b/devel/rubygem-packwerk/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1722711139 +SHA256 (rubygem/packwerk-3.2.1.gem) = 40649834f693b489f236ccd770de239c52aabe2436225ee6f28a86da0dd90cb2 +SIZE (rubygem/packwerk-3.2.1.gem) = 1403392 diff --git a/devel/rubygem-packwerk/pkg-descr b/devel/rubygem-packwerk/pkg-descr new file mode 100644 index 000000000000..7566bfacefe0 --- /dev/null +++ b/devel/rubygem-packwerk/pkg-descr @@ -0,0 +1,8 @@ +Packwerk is a Ruby gem used to enforce boundaries and modularize Rails +applications. + +Packwerk can be used to: +- Combine groups of files into packages +- Define package-level constant visibility (i.e. have publicly accessible + constants) +- Help existing codebases to become more modular without obstructing development