From nobody Thu May 16 06:29:33 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vg0Yn6hKFz5Kg2y; Thu, 16 May 2024 06:29:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vg0Yn3CM3z42W2; Thu, 16 May 2024 06:29:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715840973; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u+R50vOAXX7tCXTr9qZ/4jBvFOBEISi+UNFifbou9jo=; b=s5922wrL0gxA9UQTNNMN2CsKcH7ms3+c2JSWCIUazi/kIxlOkHvmQQSkS8N6ZsRB95Q/1l 3T4MNlO6OQD8oI67bg8Rf22JknrvlJBhoLxORDs8H5R5kBCVLe+1NzIeicPWUh2Rio2IBD bEjvZloUza+92NINEKwSW4N97FUo4wSLZlLDnX4kMTdKMXqG9mjYVgE+Mi7HwD/lCRsMcF k9kmdjdPLM4mKWM0ZZUR+2+Wv3M8IFVdBuiaL0eWaGNBAQ+vkVkDUqIoLWpH/rId/L76Rc p30kbdjh6xz3rZEe+Fl/eK1kCRrw4GzBpzj3QyEQlX3lT84EqcuprnVywHJ9zw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715840973; a=rsa-sha256; cv=none; b=C5TNtgCHcishHCjyHz+e9p26ADTMQBAuiJ9L1ieg2D6LprgdC/e6praacnwzT2IZnii+EW LSXBOaFJ98zxgkqY0vngc+0nZYSUUDv08TbqxAs5JT0ksCoLPdhKSKT8LeWfJDCj4OkfH3 m+cvBCjRk7fm0/WaejNS3jY4/zOpl4aMnf80BV9AKgVnz2ly3qB/7MHk7/GKf6M88DHaPI qKMpWmSEJduPiIpPRc1REssXtz4oG0luDjyroC3PEGXw769WFjdLMM1RIa9JRPJubJjTT+ 0raDNZozdTaSNct6QDa49CkJtIz9ahy/u93VetURr+r8JVje/3VCiHA7AHM9xA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715840973; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=u+R50vOAXX7tCXTr9qZ/4jBvFOBEISi+UNFifbou9jo=; b=QGfW+DNjyptkOUFD0HcmbQy9PLrTEjKrXIfsHeKt24jYXXb03oyqxFPMMqh+D/qcA+ifKo E1u6YBXKKv/AQDZCHGM4EqCAg8RFmtHpwPuDHxUrWl12cvoKEZ7JIn7FKeetfar2AUH0Oj OQ//KRhKyEXH1kPgOvBZ7x9dcb1+3KCoWLHXFu9b4b7v2GLuLh/tyN26LFjU3hYwgDzlQM jedE5LZF636qW200y6PieYzGK2fuJf9swfC9lj+4GHUL3SQNWw6MGRaLtwuuxDXudYzDOG KxNi0eLQk2n/kieKnwoxfV1S3TQ7krElUG2yT8dTa0dwn2i8bB5ZCBz2ECMLpA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vg0Yn2X7WznCq; Thu, 16 May 2024 06:29:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44G6TXPU032345; Thu, 16 May 2024 06:29:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44G6TXii032342; Thu, 16 May 2024 06:29:33 GMT (envelope-from git) Date: Thu, 16 May 2024 06:29:33 GMT Message-Id: <202405160629.44G6TXii032342@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 8d3d94495004 - main - devel/rubygem-thread-local: Add rubygem-thread-local 1.1.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8d3d94495004e8ef85dec4b88353dd5edbf60305 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=8d3d94495004e8ef85dec4b88353dd5edbf60305 commit 8d3d94495004e8ef85dec4b88353dd5edbf60305 Author: Po-Chuan Hsieh AuthorDate: 2024-05-16 06:13:42 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-05-16 06:21:50 +0000 devel/rubygem-thread-local: Add rubygem-thread-local 1.1.0 Thread::Local provides a simple high level interface for per-class thread locals. Implements a standard interface for "shared global state". It avoids reinventing thread-local semantics in your own code by using this implementation. Features: - Convert global state to thread local state easily. - Avoid race conditions and data corruption. - Provides a standard interface for policy driven design. --- devel/Makefile | 1 + devel/rubygem-thread-local/Makefile | 16 ++++++++++++++++ devel/rubygem-thread-local/distinfo | 3 +++ devel/rubygem-thread-local/pkg-descr | 9 +++++++++ 4 files changed, 29 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 1e37b5b9ba7b..f8795fcf4e26 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7618,6 +7618,7 @@ SUBDIR += rubygem-thor SUBDIR += rubygem-thor0 SUBDIR += rubygem-thor12 + SUBDIR += rubygem-thread-local SUBDIR += rubygem-thread_safe SUBDIR += rubygem-thrift SUBDIR += rubygem-thwait diff --git a/devel/rubygem-thread-local/Makefile b/devel/rubygem-thread-local/Makefile new file mode 100644 index 000000000000..810488ed5e85 --- /dev/null +++ b/devel/rubygem-thread-local/Makefile @@ -0,0 +1,16 @@ +PORTNAME= thread-local +PORTVERSION= 1.1.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Provide a class-level mixin to make thread local state easy +WWW= https://github.com/socketry/thread-local + +LICENSE= MIT + +USES= gem + +NO_ARCH= yes + +.include diff --git a/devel/rubygem-thread-local/distinfo b/devel/rubygem-thread-local/distinfo new file mode 100644 index 000000000000..f6196375eb76 --- /dev/null +++ b/devel/rubygem-thread-local/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1714227814 +SHA256 (rubygem/thread-local-1.1.0.gem) = 2fb568d31f0ef278063f45a3923c5ed62ee5c33da8134103bc7d2ecdb87bd2e7 +SIZE (rubygem/thread-local-1.1.0.gem) = 6144 diff --git a/devel/rubygem-thread-local/pkg-descr b/devel/rubygem-thread-local/pkg-descr new file mode 100644 index 000000000000..094aa784cd7f --- /dev/null +++ b/devel/rubygem-thread-local/pkg-descr @@ -0,0 +1,9 @@ +Thread::Local provides a simple high level interface for per-class thread +locals. Implements a standard interface for "shared global state". It avoids +reinventing thread-local semantics in your own code by using this +implementation. + +Features: +- Convert global state to thread local state easily. +- Avoid race conditions and data corruption. +- Provides a standard interface for policy driven design.