From nobody Sun Dec 29 10:13:16 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 4YLZn86vJ1z5k8ZG; Sun, 29 Dec 2024 10:13:16 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YLZn86Hj1z4PSk; Sun, 29 Dec 2024 10:13:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735467196; 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=KNw+bMdsVAkM51QJOt0MN2ugG1XRYI3qfVEbhFXFNIs=; b=vmG2jG2y3BN8aHoS+456GLE8gTbWlP7zsA1moV0exk1h08uZTkrvHm1fCO2Yuv0pYBU0DX wtFQjgJr14JYA95soajvjTdccAUkV2L8DHVoAvpjITl+5il0cU447tQZy58MAJUb9QbAwn tEHVu47rujpndYEXFUPLz88j30b1XpsCZisJ5XtH3iJORVTQoRBr1Wz0VDiBsZRiqnp3uZ OOcOHtgbSd8EeXl1tHHYHaGJ5c7SLvzCiVXvsGskrKRhBQxgUePW4UxR/XIC0oUHwaa5y7 C+Lf5aF+Ce/hAq39yrDn+j5DAT5vAd12oASuPmGMwAtd1ReJzDWNewtaNK3OoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735467196; 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=KNw+bMdsVAkM51QJOt0MN2ugG1XRYI3qfVEbhFXFNIs=; b=UfijOssg7gZPHosDAROTl4Clr+rcjx+n/Zn08EEdTct97Ir3O6fVXpbjFMp8eHgOpIt+lN U3wLDqvmhpYMxGY4E4j5R5KK8dFZW2e6NvKeddyVZT0Qvi/P77C3lyEHmR5dKZIAIH4f+C bMT2Crl1j3AhdlpZ0h1yU9cKCNuF/pLpYxX7fwgQ0gR3YyB/EnpqbpOq3deByIoSJKAQse oGSVjlgaRgs2YYmoj6xgbTg4BuMu2irBADOklZjqv/CKu1fJ3sArk2rshwnFKeWT3XnSkZ 3O9bLtgAncZzQdZcQieOdKY78n3mwec6qrWSIBU/N+rt4qeSBrJCMG3P4mCI5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735467196; a=rsa-sha256; cv=none; b=tYh+Ig9BPB0oNymVBSIYpaxOj5suqx7Wgyj8ByJu1Xk7zcP6H/c/L6U0U0zJb2BzVZKZ/B mqg2Njgr1aK5a3u+V9erdC+pjhxuygkU3i7r9drmR9XgqhfTVk0l34sPcTGw2Y2CncMmFZ 9mMXMXlpvZaqezJrydEb/f/9TyTYAj31xqPnjJxRpfmHjsfpKXV3Oi4+ku1JciubU8YEsc hcKbMdZkc7+71jRRKzSRtg2hII2qDVteD5sXTNvPqXK77Zdy8LUBT2JwkRSS5R8fLxiTQ6 rCE5m5NpQL6PIK4z8AinqTEY5IcS9lSfxbGNeaq3Hdjk3kCV8oXzp6C0oc5oQQ== 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 4YLZn85rRcz15HQ; Sun, 29 Dec 2024 10:13:16 +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 4BTADG1m057691; Sun, 29 Dec 2024 10:13:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BTADGu7057688; Sun, 29 Dec 2024 10:13:16 GMT (envelope-from git) Date: Sun, 29 Dec 2024 10:13:16 GMT Message-Id: <202412291013.4BTADGu7057688@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: ce756b6b20fa - main - devel/py-inline-snapshot: New port 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: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ce756b6b20fa779624604ab7812bacea63b8b186 Auto-Submitted: auto-generated The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce756b6b20fa779624604ab7812bacea63b8b186 commit ce756b6b20fa779624604ab7812bacea63b8b186 Author: Kai Knoblich AuthorDate: 2024-12-29 10:08:09 +0000 Commit: Kai Knoblich CommitDate: 2024-12-29 10:12:41 +0000 devel/py-inline-snapshot: New port Golden master/snapshot/approval testing library which puts the values right into your source code. Key Features: * Intuitive Semantics: snapshot(x) mirrors x for easy understanding. * Versatile Comparison Support: Equipped with x == snapshot(...), x <= snapshot(...), x in snapshot(...), and snapshot(...)[key]. * Enhanced Control Flags: Utilize various flags for precise control of which snapshots you want to change. * Preserved Black Formatting: Retains formatting consistency with Black formatting. * External File Storage: Store snapshots externally using outsource(data). * Seamless Pytest Integration: Integrated seamlessly with pytest for effortless testing. * Customizable: code generation can be customized with @customize_repr * Nested Snapshot Support: snapshots can contain other snapshots * Fuzzy Matching: Incorporate dirty-equals for flexible comparisons within snapshots. * Dynamic Snapshot Content: snapshots can contain non-constant values * Comprehensive Documentation: Access detailed documentation for complete guidance. --- devel/Makefile | 1 + devel/py-inline-snapshot/Makefile | 29 +++++++++++++++++++++++++++++ devel/py-inline-snapshot/distinfo | 3 +++ devel/py-inline-snapshot/pkg-descr | 22 ++++++++++++++++++++++ 4 files changed, 55 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 4bd6b4846132..4c313c172f09 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5032,6 +5032,7 @@ SUBDIR += py-iniconfig SUBDIR += py-inifile SUBDIR += py-iniparse + SUBDIR += py-inline-snapshot SUBDIR += py-inotify-simple SUBDIR += py-inotifyrecursive SUBDIR += py-installer diff --git a/devel/py-inline-snapshot/Makefile b/devel/py-inline-snapshot/Makefile new file mode 100644 index 000000000000..3819ec113c40 --- /dev/null +++ b/devel/py-inline-snapshot/Makefile @@ -0,0 +1,29 @@ +PORTNAME= inline-snapshot +DISTVERSION= 0.18.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= inline_snapshot-${DISTVERSION} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Create and update inline snapshots in your Python code +WWW= https://github.com/15r10nk/inline-snapshot + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asttokens>=2.0.5:devel/py-asttokens@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}black>=23.3.0:devel/py-black@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=8.1.4:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}executing>=2.1.0:devel/py-executing@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>=13.7.1:textproc/py-rich@${PY_FLAVOR} \ + ${PY_TOMLI} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +NO_ARCH= yes + +.include diff --git a/devel/py-inline-snapshot/distinfo b/devel/py-inline-snapshot/distinfo new file mode 100644 index 000000000000..1c7a538d7103 --- /dev/null +++ b/devel/py-inline-snapshot/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1735384985 +SHA256 (inline_snapshot-0.18.1.tar.gz) = a93bcf0aec68edf27323fa8dfc902354ef9a730050ab8939a4b174419828db6b +SIZE (inline_snapshot-0.18.1.tar.gz) = 225403 diff --git a/devel/py-inline-snapshot/pkg-descr b/devel/py-inline-snapshot/pkg-descr new file mode 100644 index 000000000000..211cdfc99461 --- /dev/null +++ b/devel/py-inline-snapshot/pkg-descr @@ -0,0 +1,22 @@ +Golden master/snapshot/approval testing library which puts the values right +into your source code. + +Key Features: + +* Intuitive Semantics: snapshot(x) mirrors x for easy understanding. +* Versatile Comparison Support: Equipped with x == snapshot(...), + x <= snapshot(...), x in snapshot(...), and snapshot(...)[key]. +* Enhanced Control Flags: Utilize various flags for precise control of which + snapshots you want to change. +* Preserved Black Formatting: Retains formatting consistency with Black + formatting. +* External File Storage: Store snapshots externally using outsource(data). +* Seamless Pytest Integration: Integrated seamlessly with pytest for effortless + testing. +* Customizable: code generation can be customized with @customize_repr +* Nested Snapshot Support: snapshots can contain other snapshots +* Fuzzy Matching: Incorporate dirty-equals for flexible comparisons within + snapshots. +* Dynamic Snapshot Content: snapshots can contain non-constant values +* Comprehensive Documentation: Access detailed documentation for complete + guidance.