commit: f70e00c7ce611eba3acd154d012fdd95d6a304a5
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Dec 7 14:28:37 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Dec 7 14:38:15 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f70e00c7
dev-python/pytest-syrupy: add 4.8.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
dev-python/pytest-syrupy/Manifest | 1 +
dev-python/pytest-syrupy/metadata.xml | 2 +-
.../pytest-syrupy/pytest-syrupy-4.8.0.ebuild | 32 ++++++++++++++++++++++
3 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/dev-python/pytest-syrupy/Manifest
b/dev-python/pytest-syrupy/Manifest
index e5300f617..43d5d4069 100644
--- a/dev-python/pytest-syrupy/Manifest
+++ b/dev-python/pytest-syrupy/Manifest
@@ -1 +1,2 @@
DIST pytest-syrupy-4.0.1.gh.tar.gz 2300053 BLAKE2B
875465e5bfc6462535125f374906f29392c0fdb957eb4efe1fa9a38882f10e200af69065bc3190f224270d59e73f531b3d0c017d2686068f1abd4cb8e2cbcd89
SHA512
6f786e40e1700077b0fd98f5ca794d749666945dff89388d07a9c58c538b077835b107358eaa66d4ad1d7e50bea1964371c6428ab9597868f9005ae8b4e2d874
+DIST pytest-syrupy-4.8.0.gh.tar.gz 2313840 BLAKE2B
10d3274ec03591e864460472c72f50e244385b86b8cab631fbc6835f099d96a47ba94969e28a7956374c2e6f1c8d4da0ae064dc2a7273ba655fd4a7efa6d66c7
SHA512
ee47b1b32a88185799166e372d80fc076427f341643163bf288a0740e56fe239e578f05501fc59b90c760062c8320a4992c9a93cb3f25af012f65d641e9f4ee9
diff --git a/dev-python/pytest-syrupy/metadata.xml
b/dev-python/pytest-syrupy/metadata.xml
index 2bfa8b7ba..e88a1c717 100644
--- a/dev-python/pytest-syrupy/metadata.xml
+++ b/dev-python/pytest-syrupy/metadata.xml
@@ -7,6 +7,6 @@
</maintainer>
<upstream>
<remote-id type="pypi">syrupy</remote-id>
- <remote-id type="github">tophat/syrupy</remote-id>
+ <remote-id type="github">syrupy-project/syrupy</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/pytest-syrupy/pytest-syrupy-4.8.0.ebuild
b/dev-python/pytest-syrupy/pytest-syrupy-4.8.0.ebuild
new file mode 100644
index 000000000..b313bde5c
--- /dev/null
+++ b/dev-python/pytest-syrupy/pytest-syrupy-4.8.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="The sweeter pytest snapshot plugin"
+HOMEPAGE="https://github.com/syrupy-project/syrupy
https://pypi.org/project/syrupy"
+SRC_URI="https://github.com/syrupy-project/syrupy/archive/refs/tags/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
+S="${WORKDIR}/syrupy-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DOCS=( README.md CHANGELOG.md )
+
+RDEPEND="
+ dev-python/rich[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/invoke[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest