summaryrefslogtreecommitdiff
path: root/dev-python/inline-snapshot
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-10-14 18:26:50 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-10-14 18:26:50 +0000
commitc2720ac25b7d977ec887c5f4293bfbc146cb4564 (patch)
treef12ae1ccdcd4623500f47a19ea9af19df7fb257a /dev-python/inline-snapshot
parentb23fe642a4c13209b4150e5da3387378590f0f86 (diff)
downloadbaldeagleos-repo-c2720ac25b7d977ec887c5f4293bfbc146cb4564.tar.gz
baldeagleos-repo-c2720ac25b7d977ec887c5f4293bfbc146cb4564.tar.xz
baldeagleos-repo-c2720ac25b7d977ec887c5f4293bfbc146cb4564.zip
Adding metadata
Diffstat (limited to 'dev-python/inline-snapshot')
-rw-r--r--dev-python/inline-snapshot/Manifest2
-rw-r--r--dev-python/inline-snapshot/inline-snapshot-0.29.4.ebuild62
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/inline-snapshot/Manifest b/dev-python/inline-snapshot/Manifest
index 707af69a87c8..33feea618aa9 100644
--- a/dev-python/inline-snapshot/Manifest
+++ b/dev-python/inline-snapshot/Manifest
@@ -2,3 +2,5 @@ DIST inline_snapshot-0.28.0.tar.gz 348554 BLAKE2B 2c475505ee76bc79e04f7b5cd5f3ca
DIST inline_snapshot-0.29.1.tar.gz 350236 BLAKE2B 331d81993a2f06ecc9ec609587e0dfb28c3f8525e5faab09b5962f3cb5bcdf9e442d9908f0039715258bf9b3c0876ab1148738e909f065c04844a9e86e7ad1a3 SHA512 760cdaa4794742753efba8c47c60ecbd08bf2cac61753c3971506a12a81f991fbe3c250aaadba65c7856987de8048a5d6cb432d8909515517faa4621d71b32c4
DIST inline_snapshot-0.29.2.tar.gz 2596750 BLAKE2B 7aa549af79a6b807dac628a5d7e6ed4e0c9a8b01739db68f843af47b0ca7056d18193fb9fde2f820be7521a3288ae2c16894d07011841ac548e259d83d256427 SHA512 c2197ff1681601d19793d3db0cc577dc26c494398a85a5e08712ecd8208c74d099d7669e66cbde3b1789626331c0eb7fb3d883de31d84ad2eef5bc1d8fa5b771
DIST inline_snapshot-0.29.3.tar.gz 2596900 BLAKE2B de126916e4413245848d467042dd6cbc79e6d43225204a2df8cb96dae0dffcc822b9e26c3024fed45ea82e90c4ef5db60b6162f073df86d4d978f388685f644f SHA512 d0a6538d1fd192e149aeb68435c2b2e2b56d2ecaba776d43d2ccebb566ab15b32ff57aacfbeaa0d941d54e4a6c1146b514f36742777ccd9636db016ed98e288b
+DIST inline_snapshot-0.29.4.tar.gz 2598478 BLAKE2B e9dea3721042b4cee764cc9ea79111dbbf68edc274e2b9ad30d570378b180ff0e3c3d42a914168d879b5757eb429cbd0ea1f8368bb64405ee010cb2a35063d54 SHA512 ce7e8ba83e348d1d078dc1c5d50c86b894b62cbc2c474559ec1460b73d1542aa977f0d6d6487cb3c50f17102d05808e9b579c8e051c8a6e33376a078d04e2f04
+DIST inline_snapshot-0.29.4.tar.gz.provenance 9499 BLAKE2B b54184f05942c3b965fffd5cabbaa140b63e9478397bce6d4ba4e6875cb75d3349bc0743fbb05d70e13a6ab0cf85d1909b3169a5c9f4bb82b294fd9463a54d30 SHA512 d3512cb09708b241ab5a8e13f4561ac02ebd565f5c9cab858fd3ba39b805fc53e46f1758cf9a27806d2965bf0bb082f2a0151b7cd2e3d7dadd4d16d13e11accb
diff --git a/dev-python/inline-snapshot/inline-snapshot-0.29.4.ebuild b/dev-python/inline-snapshot/inline-snapshot-0.29.4.ebuild
new file mode 100644
index 000000000000..0a032b3e9337
--- /dev/null
+++ b/dev-python/inline-snapshot/inline-snapshot-0.29.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYPI_VERIFY_REPO=https://github.com/15r10nk/inline-snapshot
+PYTHON_COMPAT=( python3_{10..14} )
+
+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
+}