From nobody Fri Dec 13 02:13:33 2024 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 4Y8Xv20PTZz5h3l3; Fri, 13 Dec 2024 02:13:34 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y8Xv16Pvfz4nMQ; Fri, 13 Dec 2024 02:13:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734056013; 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=IUkj8eCnRVey+gE0fujBcL00i54NKbx9KdGOOkBXJq0=; b=BuQgB2UihJezvHF90wH+CzlQrnnilcpBjzPC+9GU6hwCgNo2ACi5Yu1vdfGWxTRSYN++jh oe8UWwzoc2L/MByVhYccKyvsaZqkv95MgaWBoJXKMRhRgdOEsuGh/0PHDxfpYng4NtC3lf LuDwl4CzdvJb5VIN47shnA2QJIF+khjE7R5Vl8dHW5I1+pF9GMIGZy6SILIXPqvDsOlq5i 9sPRLoz5H46wQw6VFWjx8ogYH8RgEKzCAQ1d7pXlL7Kr4ka/kObTPEZ0W+6LaupFiSwe9k AoNELgqS1ofaqA7y9d3ZdCdens9yQOpJwt/TO/QakV2WDpQSFvyUseF/i8Y3TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734056013; 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=IUkj8eCnRVey+gE0fujBcL00i54NKbx9KdGOOkBXJq0=; b=eGJsqniy5zsYu+kVNV9aNsvdQLZ7fLvsRL0Al0zjgd0rqnM3Cs3RtZK/PexkDgEeHAdheR PA6gCoZcPwaxvhFb2jIpnDs6ybYAd9RE4xMQ+nNB4zXFLzYpKXmtJgAhREpK8UTlUrMKZ7 hEtf/6219VC71ZQi/HBi1/21V8GtSrPOIPV0XtNa054ZAso26sxcxKWDgzlGhy3/6DsxhS /z76tkwak6Pdgyktk23FbMEqzODDhKiDp+AkocySPGGB5ATksrtVG1Q7g+SSqnhyoC6bBH s1lzE1HcCeDPKsMBMVMNdRHcav3nOsDNJ0mLADAOLrNzhRxwfueQotx0Pn0bCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734056013; a=rsa-sha256; cv=none; b=gDqLar4KT8irHsqePtEinAuY8ptdus40LHl5Z4Q3VYg23LAuYU85kQIarPb7ZXSBGS0zjU SqeDAQ3+mTBas6uIelSKebVwY+3XwRBfRvNHlxNEAqsUFt913u7jW11vweZrz8v1eDgCbE v9wefdRgFmllSc0CC1ZhYeOD4P+DXLbsZhQBfRwcBdCzSNh0HiB/JxSxmv5Eijr3JIlBTZ H9IKKksCs4bbaNeCDG49H1IP2zQWHUTWgCYpdbB608oqRXTpZrQsBeRangKkZj/Vubek0o i85a1h4xnXH0JFVf0dN+2+Uar/KNG6eux053WSDg1UTL1e/k+3VnYGa3tRQqNA== 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 4Y8Xv161MczJ91; Fri, 13 Dec 2024 02:13:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BD2DX2N090517; Fri, 13 Dec 2024 02:13:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BD2DX64090514; Fri, 13 Dec 2024 02:13:33 GMT (envelope-from git) Date: Fri, 13 Dec 2024 02:13:33 GMT Message-Id: <202412130213.4BD2DX64090514@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 5d94568a09e6 - main - devel/py-in-n-out: New port: Plugable dependency injection and result processing 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5d94568a09e6df3c588c48566fa9a0fb46e715e9 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=5d94568a09e6df3c588c48566fa9a0fb46e715e9 commit 5d94568a09e6df3c588c48566fa9a0fb46e715e9 Author: Yuri Victorovich AuthorDate: 2024-12-12 15:01:51 +0000 Commit: Yuri Victorovich CommitDate: 2024-12-13 02:13:29 +0000 devel/py-in-n-out: New port: Plugable dependency injection and result processing --- devel/Makefile | 1 + devel/py-in-n-out/Makefile | 29 +++++++++++++++++++++++++++++ devel/py-in-n-out/distinfo | 3 +++ devel/py-in-n-out/pkg-descr | 5 +++++ 4 files changed, 38 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index d7b491d4a9e5..a650012f1e69 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5001,6 +5001,7 @@ SUBDIR += py-importlib-metadata6 SUBDIR += py-importlib-metadata7 SUBDIR += py-importlib-resources + SUBDIR += py-in-n-out SUBDIR += py-incremental SUBDIR += py-infinity SUBDIR += py-inflect diff --git a/devel/py-in-n-out/Makefile b/devel/py-in-n-out/Makefile new file mode 100644 index 000000000000..4fa0437a9f07 --- /dev/null +++ b/devel/py-in-n-out/Makefile @@ -0,0 +1,29 @@ +PORTNAME= in-n-out +DISTVERSION= 0.2.1 +CATEGORIES= devel science +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Plugable dependency injection and result processing +WWW= https://ino.readthedocs.io/en/latest/ \ + https://github.com/pyapp-kit/in-n-out + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}toolz>0:devel/py-toolz@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +# tests as of 0.2.1: 122 passed, 2 skipped in 6.32s (3 tests fail when pytest-mypy plugin is installed) + +.include diff --git a/devel/py-in-n-out/distinfo b/devel/py-in-n-out/distinfo new file mode 100644 index 000000000000..b9e65d8c114e --- /dev/null +++ b/devel/py-in-n-out/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1734033610 +SHA256 (in_n_out-0.2.1.tar.gz) = 43cde2b7de981d41a6d70618a2b7bd989481095922a53ead4dc75f2bbd5dffea +SIZE (in_n_out-0.2.1.tar.gz) = 26026 diff --git a/devel/py-in-n-out/pkg-descr b/devel/py-in-n-out/pkg-descr new file mode 100644 index 000000000000..ef180df683d8 --- /dev/null +++ b/devel/py-in-n-out/pkg-descr @@ -0,0 +1,5 @@ +Python dependency injection you can taste. + +A lightweight dependency injection and result processing framework for Python +using type hints. Emphasis is on simplicity, ease of use, and minimal impact +on source code.