From nobody Thu Jun 30 13:19:02 2022 X-Original-To: dev-commits-ports-main@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 05FFD8B085B; Thu, 30 Jun 2022 13:19:03 +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 4LYf6t6mvxz4kX4; Thu, 30 Jun 2022 13:19:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656595143; 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=iXraZ4YhwR3wrM5SnB/Tc+9gsK+a+AVBaBZd5w9PQOI=; b=AcfvKVa4TgT/cktGiy1pcDMIwMHui2+dmCcxNQ07e791qcW5w8+iW6cjR+q5GeoLCBwzM4 PWG90jXfvlTi+Nw0fmwZN9f9Ux0GV8zKlwBfYBJJpf9gcF3MjECA5DcPl+V4rJ8WqCy6Vw Onuwa1KFftkULlan7t2LCVs4pk3LfCeXfnaThFnOnDTAOz+38LoGzFJwZdu1PxnFaxVUQi rz/1h06mhIQOQjJRGSa2W8QKFIB/1AsQ+rf1hd0AtrW0MQScDwXGpgORe9wy0HySFC+bpk Gnzc3JluqAtvXCu8biMHlYxCKKfMF9T2wyDl1tZgsyliCJJ0H2XwYMuQxcjMYQ== 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 C916F26D9B; Thu, 30 Jun 2022 13:19:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25UDJ2Wk070094; Thu, 30 Jun 2022 13:19:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25UDJ2IG070093; Thu, 30 Jun 2022 13:19:02 GMT (envelope-from git) Date: Thu, 30 Jun 2022 13:19:02 GMT Message-Id: <202206301319.25UDJ2IG070093@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitri Goutnik Subject: git: 20b08e780fea - main - devel/go-wire: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dmgk X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 20b08e780feadd1faaa43b1de4d4c3e657b4df75 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656595143; 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=iXraZ4YhwR3wrM5SnB/Tc+9gsK+a+AVBaBZd5w9PQOI=; b=USXRGY9UzoM7a4/etGtWyiJzw4iGWQn189HVhvtGOOc0UjvHI08cS2oZYlZ6RQDbXc4Oa1 DM35DUh4VicQMBA51XSuimO4jYYL6SNFvcLhVeDj+nJieJADoPaZRT6fUcfgHkyX75eZt/ KkPoeyAc+qJCZ/7iWMPZO1oQkdIx1qeec4BWqnATnQc4dltCU0dbvpt4c0vivNjOMNzyTF xCsuDXC3GBl7qHaRO+/DFv1R4s5Yz+QbyE4vEL4lluX4Hv9alGn3kvI6HBoy7OyVBr97Nt FHrtmdQk2oFq/1mWL5TwmwaVkDtfJ7EUp/PtwJ87VXCGQU2YG4sfBZbyUpxDSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656595143; a=rsa-sha256; cv=none; b=gaGaJgiK9i7Ym0MdPxV+VRGSnu2JTqAkFHzV2Dd/Y70pMsxP4vThz7w2f0QSvqnCWqV6RZ aOS/rWN6pfaYgLifJVAtc9yRADIitQ+4tsjKdcEKspTLEydAQMEQGzx58/S0zf20Hv7Yv0 7764DjC/Q3F/g5iV+/hlGA6xIo9jByQLUUnle+RpE/8OYZxl2Kjbt2RSRV5ALm1vKH7HCb f9EgjgfDivzAttBegK+L6BbTe4K0DmLRuwnOTkuRcR4I70NnPRSYSUAn5qffkvPQOe/dTU W1tRF/XDFLYSI9sukMG/wo7V2NsZ9yqWjvUhIAAp1DlgMP/RRetuOPCt0q0JNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dmgk: URL: https://cgit.FreeBSD.org/ports/commit/?id=20b08e780feadd1faaa43b1de4d4c3e657b4df75 commit 20b08e780feadd1faaa43b1de4d4c3e657b4df75 Author: Boris Korzun AuthorDate: 2022-06-30 12:44:48 +0000 Commit: Dmitri Goutnik CommitDate: 2022-06-30 12:44:48 +0000 devel/go-wire: Add new port Wire is a code generation tool that automates connecting components using dependency injection. Dependencies between components are represented in Wire as function parameters, encouraging explicit initialization instead of global variables. Because Wire operates without runtime state or reflection, code written to be used with Wire is useful even for hand-written initialization. WWW: https://github.com/google/wire PR: 264959 --- devel/Makefile | 1 + devel/go-wire/Makefile | 20 ++++++++++++++++++++ devel/go-wire/distinfo | 5 +++++ devel/go-wire/pkg-descr | 7 +++++++ 4 files changed, 33 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 56ee5173077c..e3ad19cb9fb9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -840,6 +840,7 @@ SUBDIR += go-perf SUBDIR += go-protobuf SUBDIR += go-tools + SUBDIR += go-wire SUBDIR += gob2 SUBDIR += gobject-introspection SUBDIR += gocheese diff --git a/devel/go-wire/Makefile b/devel/go-wire/Makefile new file mode 100644 index 000000000000..1c86a347e5bd --- /dev/null +++ b/devel/go-wire/Makefile @@ -0,0 +1,20 @@ +PORTNAME= wire +DISTVERSIONPREFIX= v +DISTVERSION= 0.5.0 +CATEGORIES= devel +PKGNAMEPREFIX= go- + +MAINTAINER= drtr0jan@yandex.ru +COMMENT= Compile-time Dependency Injection for Go + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/google/wire +GO_TARGET= ./cmd/wire + +PLIST_FILES= bin/${PORTNAME} + +.include diff --git a/devel/go-wire/distinfo b/devel/go-wire/distinfo new file mode 100644 index 000000000000..5eb271e948ec --- /dev/null +++ b/devel/go-wire/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1656592374 +SHA256 (go/devel_go-wire/wire-v0.5.0/v0.5.0.mod) = 949a9c283cae78d684b9708fbc723577d3f6abb1eea776ee418d3a6945540c70 +SIZE (go/devel_go-wire/wire-v0.5.0/v0.5.0.mod) = 216 +SHA256 (go/devel_go-wire/wire-v0.5.0/v0.5.0.zip) = 7d6ed4cd7ff88f178e8bc19d50b06ad8607766d802d1998fd5c5cb7ac383322e +SIZE (go/devel_go-wire/wire-v0.5.0/v0.5.0.zip) = 256553 diff --git a/devel/go-wire/pkg-descr b/devel/go-wire/pkg-descr new file mode 100644 index 000000000000..46b7c5343fcd --- /dev/null +++ b/devel/go-wire/pkg-descr @@ -0,0 +1,7 @@ +Wire is a code generation tool that automates connecting components using +dependency injection. Dependencies between components are represented in Wire +as function parameters, encouraging explicit initialization instead of global +variables. Because Wire operates without runtime state or reflection, code +written to be used with Wire is useful even for hand-written initialization. + +WWW: https://github.com/google/wire