From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2952C15808A for ; Fri, 01 Aug 2025 02:45:48 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 161783415F9 for ; Fri, 01 Aug 2025 02:45:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6F3C5110568; Fri, 01 Aug 2025 02:45:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 68E2D110568 for ; Fri, 01 Aug 2025 02:45:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1C6F5340F5D for ; Fri, 01 Aug 2025 02:45:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4AC4432BA for ; Fri, 01 Aug 2025 02:45:25 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1754016128.c32f211ba76d60662a914f1ac6eb01ae5b082411.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/inline-snapshot/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/inline-snapshot/Manifest dev-python/inline-snapshot/inline-snapshot-0.26.0.ebuild X-VCS-Directories: dev-python/inline-snapshot/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c32f211ba76d60662a914f1ac6eb01ae5b082411 X-VCS-Branch: master Date: Fri, 01 Aug 2025 02:45:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 01a027b5-1cfa-4d88-9321-d3397d778c3c X-Archives-Hash: 34cb856b3db5fb9eebcdee9c9c3bd37c commit: c32f211ba76d60662a914f1ac6eb01ae5b082411 Author: Michał Górny gentoo org> AuthorDate: Fri Aug 1 02:29:26 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Aug 1 02:42:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c32f211b dev-python/inline-snapshot: Bump to 0.26.0 Signed-off-by: Michał Górny gentoo.org> dev-python/inline-snapshot/Manifest | 1 + .../inline-snapshot/inline-snapshot-0.26.0.ebuild | 61 ++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest index f6cce49d8545..12bec41718ee 100644 --- a/dev-python/inline-snapshot/Manifest +++ b/dev-python/inline-snapshot/Manifest @@ -2,3 +2,4 @@ DIST inline_snapshot-0.23.2.tar.gz 260704 BLAKE2B db40ec4d77acbadc1cba2772bcdbfd DIST inline_snapshot-0.24.0.tar.gz 263374 BLAKE2B 4d20f973ceae3f138b5f709cf636c8e82ba7d7e3fa2cb8288729f369ef243e9e8155b30b7b9d52758bc1e76ef91badb264f1b5b5dfcb3d91cbf6d170419d5d2e SHA512 d523f29af2ff6026e21fd3c24a6c222784d0db0983fd4a906b852c3d0ec38016eb1df373b4873ae99cb16e7a5e94d582ed6df6803a83d7da244a895a70f37ba9 DIST inline_snapshot-0.25.2.tar.gz 343657 BLAKE2B c4175674509c3989e104d32843906ad78c368622dcf5d4c15bbad24ccb6aef03422ab64198ab45a1355d7692ee025de4e60d3f416a67b811537f9e2ada646ca6 SHA512 47a33510d71f8d2332c1716775a0b38e759783fc9c052469fdf454a4bee52955c91031a7efb319cfbf2f21a6e0d2bb7f2ef072d859b6405359ae1c93be6cfeef DIST inline_snapshot-0.25.3.tar.gz 343645 BLAKE2B 9605768671431b1dd3b50d85d6a71c5274916c08fa168cef6415a2b8d408d627d39d634abab015e75e8bf6fae7c23124bd108ef65ae9c5ea61f2135d224c9821 SHA512 a9786278f055256fe5f74b8c63e0a696eaef8da6a10d5ef4431285deb138d184de602f0153f429e9ba4270f30a407e0f62295e5610f120df181369acc94eb5f3 +DIST inline_snapshot-0.26.0.tar.gz 344185 BLAKE2B 49921529fe335226ae6dc66d33fc89aa84d6026100af2edee2ea6e2a532717788814b8746c92a462b1bb794cc255eb37f4bef16f99ad6d6d0c422045ec95e335 SHA512 2410f0b6e9b04279ce20459a3d41db42efb97a68d85f72971d700cec7d0f3074961291ab423605ebfcfc515cc6f49912efc593f86e2b4df5500073f1c9fe3944 diff --git a/dev-python/inline-snapshot/inline-snapshot-0.26.0.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.26.0.ebuild new file mode 100644 index 000000000000..55ca60625776 --- /dev/null +++ b/dev-python/inline-snapshot/inline-snapshot-0.26.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( pypy3_11 python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Create and update inline snapshots in your Python tests" +HOMEPAGE=" + https://15r10nk.github.io/inline-snapshot/ + https://github.com/15r10nk/inline-snapshot/ + https://pypi.org/project/inline-snapshot/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/asttokens-2.0.5[${PYTHON_USEDEP}] + >=dev-python/executing-2.2.0[${PYTHON_USEDEP}] + >=dev-python/pytest-8.3.4[${PYTHON_USEDEP}] + >=dev-python/rich-13.7.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/black-23.3.0[${PYTHON_USEDEP}] + >=dev-python/dirty-equals-0.7.0[${PYTHON_USEDEP}] + >=dev-python/hypothesis-6.75.5[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/mypy[${PYTHON_USEDEP}] + ' 'python*') + >=dev-python/pydantic-2[${PYTHON_USEDEP}] + >=dev-python/pytest-freezer-0.4.8[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.14.0[${PYTHON_USEDEP}] + >=dev-python/pytest-subtests-0.11.0[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGIN_LOAD_VIA_ENV=1 +EPYTEST_PLUGINS=( "${PN}" pytest-{freezer,mock,subtests,xdist} ) +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires pyright + 'tests/test_typing.py::test_typing_args[pyright]' + 'tests/test_typing.py::test_typing_call[pyright]' + # TODO + tests/test_formating.py::test_format_command_fail + ) + + local -x COLUMNS=80 + local -x PYTHONPATH=${S}/src + epytest +}