aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-08-04 16:44:25 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-08-04 17:13:54 +0000
commit5cf9876a62df89a8eaab254fff1e25cf7022f94b (patch)
treefa5f5939ba47c65fab74603c1ff00429682223e1
parentfb3e51cd23341386d9a1215894ae534dee74cbf3 (diff)
devel/rubygem-packwerk-extensions: Add rubygem-packwerk-extensions 0.3.0
packwerk-extensions is a home for checker extensions for packwerk 3. Currently, it ships the following checkers to help improve the boundaries between packages. These checkers are: - A privacy checker that ensures other packages are using your package's public API - A visibility checker that allows packages to be private except to an explicit group of other packages. - A folder_privacy checker that allows packages to their sibling packs and parent pack (to be used in an application that uses folder packs) - A layer (formerly architecture) checker that allows packages to specify their "layer" and requires that each layer only communicate with layers below it.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-packwerk-extensions/Makefile21
-rw-r--r--devel/rubygem-packwerk-extensions/distinfo3
-rw-r--r--devel/rubygem-packwerk-extensions/pkg-descr12
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9e82b12e339d..52645f5f6c12 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7440,6 +7440,7 @@
SUBDIR += rubygem-ostruct
SUBDIR += rubygem-p4ruby
SUBDIR += rubygem-packwerk
+ SUBDIR += rubygem-packwerk-extensions
SUBDIR += rubygem-pagy
SUBDIR += rubygem-paint
SUBDIR += rubygem-pairing_heap
diff --git a/devel/rubygem-packwerk-extensions/Makefile b/devel/rubygem-packwerk-extensions/Makefile
new file mode 100644
index 000000000000..56e8a350796e
--- /dev/null
+++ b/devel/rubygem-packwerk-extensions/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= packwerk-extensions
+PORTVERSION= 0.3.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Collection of extensions for packwerk packages
+WWW= https://github.com/rubyatscale/packwerk-extensions
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-packwerk>=2.2.1:devel/rubygem-packwerk \
+ rubygem-railties71>=6.0.0:www/rubygem-railties71 \
+ rubygem-sorbet-runtime>=0:devel/rubygem-sorbet-runtime \
+ rubygem-zeitwerk>=0:devel/rubygem-zeitwerk
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-packwerk-extensions/distinfo b/devel/rubygem-packwerk-extensions/distinfo
new file mode 100644
index 000000000000..384118c6ee17
--- /dev/null
+++ b/devel/rubygem-packwerk-extensions/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722711141
+SHA256 (rubygem/packwerk-extensions-0.3.0.gem) = 538297909a396cb478c12c0c125f10c636415b8dac1c0229c81f3cbaeb97c55b
+SIZE (rubygem/packwerk-extensions-0.3.0.gem) = 14336
diff --git a/devel/rubygem-packwerk-extensions/pkg-descr b/devel/rubygem-packwerk-extensions/pkg-descr
new file mode 100644
index 000000000000..9aed5b8bf6d9
--- /dev/null
+++ b/devel/rubygem-packwerk-extensions/pkg-descr
@@ -0,0 +1,12 @@
+packwerk-extensions is a home for checker extensions for packwerk 3.
+
+Currently, it ships the following checkers to help improve the boundaries
+between packages. These checkers are:
+- A privacy checker that ensures other packages are using your package's public
+ API
+- A visibility checker that allows packages to be private except to an explicit
+ group of other packages.
+- A folder_privacy checker that allows packages to their sibling packs and
+ parent pack (to be used in an application that uses folder packs)
+- A layer (formerly architecture) checker that allows packages to specify their
+ "layer" and requires that each layer only communicate with layers below it.