git: d600ef293fb4 - main - devel/rubygem-sus: Add rubygem-sus 0.23.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 03:23:12 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d600ef293fb4c1dd479e811803d151ade7a486f4

commit d600ef293fb4c1dd479e811803d151ade7a486f4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-22 03:11:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-22 03:11:12 +0000

    devel/rubygem-sus: Add rubygem-sus 0.23.0
    
    Sus(picious) is an opinionated test framework designed with several goals:
    - As fast as possible, aiming for ~10,000 assertions per second per core.
    - Isolated tests which parallelise easily (including class definitions).
    - Native support for balanced (work-stealing) multi-core execution.
    - Incredible test output with detailed failure logging (including nested
      assertions and predicates).
    
    Non-features:
    - Flexibility at the expense of performance.
    - Backwards compatibility.
---
 devel/Makefile              |  1 +
 devel/rubygem-sus/Makefile  | 22 ++++++++++++++++++++++
 devel/rubygem-sus/distinfo  |  3 +++
 devel/rubygem-sus/pkg-descr | 10 ++++++++++
 4 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 72a0d9b265b8..1f16370bc99d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7394,6 +7394,7 @@
     SUBDIR += rubygem-sugar-high
     SUBDIR += rubygem-sumbur
     SUBDIR += rubygem-sundawg_country_codes
+    SUBDIR += rubygem-sus
     SUBDIR += rubygem-svn2git
     SUBDIR += rubygem-swagger-blocks
     SUBDIR += rubygem-sync
diff --git a/devel/rubygem-sus/Makefile b/devel/rubygem-sus/Makefile
new file mode 100644
index 000000000000..b98cebb65175
--- /dev/null
+++ b/devel/rubygem-sus/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	sus
+PORTVERSION=	0.23.0
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fast and scalable test runner
+WWW=		https://github.com/ioquatix/sus
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/license.md
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PLIST_FILES=	bin/sus \
+		bin/sus-host \
+		bin/sus-parallel \
+		bin/sus-tree
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-sus/distinfo b/devel/rubygem-sus/distinfo
new file mode 100644
index 000000000000..bde1bda500f0
--- /dev/null
+++ b/devel/rubygem-sus/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1695143207
+SHA256 (rubygem/sus-0.23.0.gem) = 0f75df6d0517ac4d57db94068910db818ce01f8d12affcea2d8235e8e5e74262
+SIZE (rubygem/sus-0.23.0.gem) = 30208
diff --git a/devel/rubygem-sus/pkg-descr b/devel/rubygem-sus/pkg-descr
new file mode 100644
index 000000000000..8caef1848572
--- /dev/null
+++ b/devel/rubygem-sus/pkg-descr
@@ -0,0 +1,10 @@
+Sus(picious) is an opinionated test framework designed with several goals:
+- As fast as possible, aiming for ~10,000 assertions per second per core.
+- Isolated tests which parallelise easily (including class definitions).
+- Native support for balanced (work-stealing) multi-core execution.
+- Incredible test output with detailed failure logging (including nested
+  assertions and predicates).
+
+Non-features:
+- Flexibility at the expense of performance.
+- Backwards compatibility.